Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 96.42 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 174.8 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6831/0.6831, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002935, allocations: 12.64 kB / 493.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.001412/0.1355, allocations: 1.184 MB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008309/0.1364, allocations: 0.5897 MB / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.1364, allocations: 3.938 kB / 0.5586 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.1364, allocations: 0 / 0.5586 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.1365, allocations: 7.922 kB / 0.5586 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.1368, allocations: 59.81 kB / 0.5586 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.1368, allocations: 19.97 kB / 0.5587 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.1369, allocations: 15.98 kB / 0.5587 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.137, allocations: 11.92 kB / 0.5587 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.1371, allocations: 19.92 kB / 0.5587 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.1371, allocations: 0 / 0.5587 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1372, allocations: 91.89 kB / 0.5588 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.1372, allocations: 0 / 0.5588 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.1373, allocations: 33.64 kB / 0.5588 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1374, allocations: 64.12 kB / 0.5589 GB, free: 9.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.1374, allocations: 4 kB / 0.5589 GB, free: 9.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1374, allocations: 0 / 0.5589 GB, free: 9.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1374, allocations: 0 / 0.5589 GB, free: 9.477 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003662/0.1378, allocations: 355.2 kB / 0.5592 GB, free: 9.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1378, allocations: 12.02 kB / 0.5592 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.1379, allocations: 7.906 kB / 0.5592 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.138, allocations: 167 kB / 0.5594 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.138, allocations: 0 / 0.5594 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.138, allocations: 8 kB / 0.5594 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1382, allocations: 65.59 kB / 0.5595 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1382, allocations: 7.938 kB / 0.5595 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1382, allocations: 4 kB / 0.5595 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1382, allocations: 0 / 0.5595 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.1383, allocations: 27.98 kB / 0.5595 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1386, allocations: 284.8 kB / 0.5598 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.071e-05/0.1387, allocations: 38.5 kB / 0.5598 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/0.1392, allocations: 0.5545 MB / 0.5604 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1392, allocations: 38.55 kB / 0.5604 GB, free: 7.637 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1392, allocations: 0 / 0.5604 GB, free: 7.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002301/0.1394, allocations: 69.59 kB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1395, allocations: 51.41 kB / 0.5605 GB, free: 7.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.1396, allocations: 127.7 kB / 0.5606 GB, free: 7.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1396, allocations: 25.83 kB / 0.5607 GB, free: 7.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.1397, allocations: 96.14 kB / 0.5608 GB, free: 7.238 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.1397, allocations: 7.844 kB / 0.5608 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.1397, allocations: 0 / 0.5608 GB, free: 7.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1398, allocations: 322.8 kB / 0.5611 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.1399, allocations: 4 kB / 0.5611 GB, free: 6.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.674e-05/0.1399, allocations: 11.98 kB / 0.5611 GB, free: 6.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.14, allocations: 20 kB / 0.5611 GB, free: 6.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.14, allocations: 3.938 kB / 0.5611 GB, free: 6.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001306/0.1401, allocations: 65.62 kB / 0.5612 GB, free: 6.797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1401, allocations: 4 kB / 0.5612 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1401, allocations: 0 / 0.5612 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1402, allocations: 0 / 0.5612 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.1402, allocations: 8.031 kB / 0.5612 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1402, allocations: 4 kB / 0.5612 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.1403, allocations: 3.984 kB / 0.5612 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1403, allocations: 7.938 kB / 0.5612 GB, free: 6.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/0.1404, allocations: 109.8 kB / 0.5613 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.1404, allocations: 11.86 kB / 0.5613 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.1406, allocations: 69.2 kB / 0.5614 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1406, allocations: 0 / 0.5614 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1406, allocations: 0 / 0.5614 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1406, allocations: 0 / 0.5614 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1408, allocations: 165.7 kB / 0.5615 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1408, allocations: 0 / 0.5615 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.1408, allocations: 8 kB / 0.5615 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.1409, allocations: 7.938 kB / 0.5616 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1409, allocations: 0 / 0.5616 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1409, allocations: 0 / 0.5616 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1409, allocations: 32 / 0.5616 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.141, allocations: 163.4 kB / 0.5617 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.1411, allocations: 81.09 kB / 0.5618 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1411, allocations: 3.953 kB / 0.5618 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.1412, allocations: 4 kB / 0.5618 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.1412, allocations: 4.031 kB / 0.5618 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.1412, allocations: 4 kB / 0.5618 GB, free: 6.051 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.1413, allocations: 95.27 kB / 0.5619 GB, free: 5.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1413, allocations: 0 / 0.5619 GB, free: 5.957 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.1415, allocations: 8 kB / 0.5619 GB, free: 5.949 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.1417, allocations: 107.9 kB / 0.562 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.1418, allocations: 39.86 kB / 0.562 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1418, allocations: 0 / 0.562 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.1419, allocations: 12 kB / 0.5621 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.142, allocations: 4 kB / 0.5621 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.1423, allocations: 144.7 kB / 0.5622 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1425, allocations: 0.6926 MB / 0.5629 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.1426, allocations: 0 / 0.5629 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.1426, allocations: 19.38 kB / 0.5629 GB, free: 4.875 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1426, allocations: 0 / 0.5629 GB, free: 4.875 MB / 430.1 MB Notification: Performance of Templates: time 0.002334/0.1449, allocations: 438.9 kB / 0.5633 GB, free: 4.449 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)