Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 97.52 kB / 15.69 MB, free: 488 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.001275/0.001275, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.318/1.318, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6656/0.6656, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002945, allocations: 12 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.001792/0.1348, allocations: 1.477 MB / 0.5583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.1356, allocations: 0.4992 MB / 0.5588 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1358, allocations: 3.938 kB / 0.5588 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.1358, allocations: 7.922 kB / 0.5588 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.1359, allocations: 31.89 kB / 0.5588 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1361, allocations: 59.81 kB / 0.5589 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.1364, allocations: 115.7 kB / 0.559 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1365, allocations: 33.86 kB / 0.559 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.1366, allocations: 43.78 kB / 0.559 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.1367, allocations: 47.7 kB / 0.5591 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1367, allocations: 4 kB / 0.5591 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.1367, allocations: 8 kB / 0.5591 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.1367, allocations: 19.91 kB / 0.5591 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.1368, allocations: 49.64 kB / 0.5592 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.1369, allocations: 91.98 kB / 0.5593 GB, free: 9.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1369, allocations: 3.938 kB / 0.5593 GB, free: 9.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1369, allocations: 0 / 0.5593 GB, free: 9.141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1369, allocations: 0 / 0.5593 GB, free: 9.141 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006408/0.1376, allocations: 450.7 kB / 0.5597 GB, free: 8.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1376, allocations: 19.95 kB / 0.5597 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.1377, allocations: 15.81 kB / 0.5597 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1379, allocations: 214.8 kB / 0.5599 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1379, allocations: 8 kB / 0.5599 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.138, allocations: 19.89 kB / 0.56 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1383, allocations: 162.6 kB / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1383, allocations: 3.984 kB / 0.5601 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1383, allocations: 8 kB / 0.5601 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1383, allocations: 0 / 0.5601 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.1386, allocations: 85.59 kB / 0.5602 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/0.1394, allocations: 0.7394 MB / 0.5609 GB, free: 7.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1396, allocations: 58.5 kB / 0.561 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1396, allocations: 0 / 0.561 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.1399, allocations: 126.8 kB / 0.5611 GB, free: 7.047 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.1399, allocations: 4 kB / 0.5611 GB, free: 7.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004912/0.1404, allocations: 177.3 kB / 0.5613 GB, free: 6.863 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.1405, allocations: 132.8 kB / 0.5614 GB, free: 6.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1407, allocations: 207.3 kB / 0.5616 GB, free: 6.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1407, allocations: 33.7 kB / 0.5616 GB, free: 6.453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.1408, allocations: 131.9 kB / 0.5618 GB, free: 6.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.1408, allocations: 31.55 kB / 0.5618 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.1408, allocations: 4 kB / 0.5618 GB, free: 6.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1409, allocations: 330.8 kB / 0.5621 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1411, allocations: 44.36 kB / 0.5621 GB, free: 5.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.1412, allocations: 150.1 kB / 0.5623 GB, free: 5.715 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1414, allocations: 63.91 kB / 0.5623 GB, free: 5.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1414, allocations: 0 / 0.5623 GB, free: 5.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004034/0.1418, allocations: 221.4 kB / 0.5626 GB, free: 5.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1419, allocations: 10.03 kB / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1419, allocations: 4 kB / 0.5626 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1419, allocations: 4 kB / 0.5626 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.142, allocations: 39.91 kB / 0.5626 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.142, allocations: 11.92 kB / 0.5626 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1422, allocations: 31.92 kB / 0.5627 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1422, allocations: 16 kB / 0.5627 GB, free: 5.316 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001019/0.1423, allocations: 131.6 kB / 0.5628 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.1424, allocations: 19.77 kB / 0.5628 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.1424, allocations: 25.39 kB / 0.5628 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1424, allocations: 3.938 kB / 0.5628 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1424, allocations: 0 / 0.5628 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1425, allocations: 4 kB / 0.5628 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/0.1432, allocations: 0.5328 MB / 0.5634 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1432, allocations: 4.312 kB / 0.5634 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1433, allocations: 20.03 kB / 0.5634 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1434, allocations: 7.984 kB / 0.5634 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1434, allocations: 4 kB / 0.5634 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.1434, allocations: 7.984 kB / 0.5634 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1434, allocations: 0 / 0.5634 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.1439, allocations: 420.6 kB / 0.5638 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.144, allocations: 92.92 kB / 0.5639 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.144, allocations: 0 / 0.5639 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1442, allocations: 16.03 kB / 0.5639 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.1442, allocations: 23.92 kB / 0.5639 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1443, allocations: 4 kB / 0.5639 GB, free: 3.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1444, allocations: 144.4 kB / 0.5641 GB, free: 3.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1444, allocations: 0 / 0.5641 GB, free: 3.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.1447, allocations: 28 kB / 0.5641 GB, free: 3.723 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001135/0.1449, allocations: 106.6 kB / 0.5642 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.1452, allocations: 123.9 kB / 0.5643 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1452, allocations: 4 kB / 0.5643 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1454, allocations: 52.84 kB / 0.5644 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1458, allocations: 57.48 kB / 0.5644 GB, free: 3.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.1463, allocations: 386.7 kB / 0.5648 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.1466, allocations: 0.7323 MB / 0.5655 GB, free: 2.207 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.1467, allocations: 13.55 kB / 0.5655 GB, free: 2.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.1467, allocations: 19.38 kB / 0.5656 GB, free: 2.176 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1467, allocations: 0 / 0.5656 GB, free: 2.176 MB / 430.1 MB Notification: Performance of Templates: time 0.004292/0.151, allocations: 1.738 MB / 0.5672 GB, free: 476 kB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)