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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 71.77 kB / 20.51 MB, free: 1.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 163.8 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 177.2 MB / 204.1 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9142/0.9142, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 64.72 kB / 0.555 GB, free: 2.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1558, allocations: 89.14 MB / 0.6421 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003246/0.1591, allocations: 1.771 MB / 0.6438 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1602, allocations: 0.5455 MB / 0.6444 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.1603, allocations: 11.88 kB / 0.6444 GB, free: 7.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.1604, allocations: 23.73 kB / 0.6444 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.1605, allocations: 27.73 kB / 0.6444 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1607, allocations: 71.84 kB / 0.6445 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1609, allocations: 167.5 kB / 0.6446 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1611, allocations: 45.64 kB / 0.6447 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.1612, allocations: 55.73 kB / 0.6447 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.1613, allocations: 55.64 kB / 0.6448 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1613, allocations: 12 kB / 0.6448 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.64e-05/0.1613, allocations: 12 kB / 0.6448 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.1614, allocations: 27.91 kB / 0.6448 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.993e-05/0.1614, allocations: 51.67 kB / 0.6449 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1616, allocations: 135.3 kB / 0.645 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1616, allocations: 0 / 0.645 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1616, allocations: 0 / 0.645 GB, free: 6.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.1616, allocations: 0 / 0.645 GB, free: 6.5 MB / 0.545 GB 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.0008665/0.1625, allocations: 441.1 kB / 0.6454 GB, free: 6.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1625, allocations: 8.031 kB / 0.6454 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.1626, allocations: 16.84 kB / 0.6455 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.1629, allocations: 174.2 kB / 0.6456 GB, free: 5.816 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1629, allocations: 8.375 kB / 0.6456 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.1629, allocations: 16.36 kB / 0.6457 GB, free: 5.793 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.1633, allocations: 158.1 kB / 0.6458 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1633, allocations: 4 kB / 0.6458 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1633, allocations: 0 / 0.6458 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1633, allocations: 4 kB / 0.6458 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.1635, allocations: 71.88 kB / 0.6459 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.1644, allocations: 0.6492 MB / 0.6465 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.1646, allocations: 54.53 kB / 0.6466 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.1647, allocations: 32.83 kB / 0.6466 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1647, allocations: 0 / 0.6466 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.165, allocations: 122.7 kB / 0.6467 GB, free: 4.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.165, allocations: 0 / 0.6467 GB, free: 4.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005566/0.1656, allocations: 173.8 kB / 0.6469 GB, free: 4.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.1656, allocations: 136.5 kB / 0.647 GB, free: 4.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1658, allocations: 192 kB / 0.6472 GB, free: 4.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1659, allocations: 29.7 kB / 0.6472 GB, free: 4.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.166, allocations: 131.9 kB / 0.6473 GB, free: 3.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.166, allocations: 35.78 kB / 0.6474 GB, free: 3.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.1661, allocations: 41.7 kB / 0.6474 GB, free: 3.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1662, allocations: 326.8 kB / 0.6477 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1663, allocations: 35.97 kB / 0.6478 GB, free: 3.453 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.1666, allocations: 148.3 kB / 0.6479 GB, free: 3.258 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.1669, allocations: 202.2 kB / 0.6481 GB, free: 3.008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1669, allocations: 0 / 0.6481 GB, free: 3.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004361/0.1674, allocations: 213.1 kB / 0.6483 GB, free: 2.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1674, allocations: 8 kB / 0.6483 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1674, allocations: 7.938 kB / 0.6483 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1674, allocations: 4 kB / 0.6483 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1675, allocations: 36.36 kB / 0.6484 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1675, allocations: 15.98 kB / 0.6484 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1677, allocations: 23.94 kB / 0.6484 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1677, allocations: 11.98 kB / 0.6484 GB, free: 2.688 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.1678, allocations: 140.9 kB / 0.6485 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1679, allocations: 15.91 kB / 0.6486 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.1679, allocations: 25.45 kB / 0.6486 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1679, allocations: 0 / 0.6486 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1679, allocations: 240 / 0.6486 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1679, allocations: 4 kB / 0.6486 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008392/0.1688, allocations: 465.3 kB / 0.649 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1688, allocations: 4 kB / 0.649 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.1689, allocations: 15.98 kB / 0.6491 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1689, allocations: 0 / 0.6491 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1689, allocations: 4 kB / 0.6491 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1689, allocations: 0 / 0.6491 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1689, allocations: 0 / 0.6491 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.1695, allocations: 368.2 kB / 0.6494 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.1695, allocations: 19.84 kB / 0.6494 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1695, allocations: 4.312 kB / 0.6494 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1697, allocations: 16.03 kB / 0.6494 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.1698, allocations: 19.91 kB / 0.6495 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1698, allocations: 4 kB / 0.6495 GB, free: 1.527 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001208/0.1699, allocations: 135.1 kB / 0.6496 GB, free: 1.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1699, allocations: 0 / 0.6496 GB, free: 1.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003446/0.1702, allocations: 31.95 kB / 0.6496 GB, free: 1.363 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.1704, allocations: 107.2 kB / 0.6497 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.1707, allocations: 104.7 kB / 0.6498 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1707, allocations: 0 / 0.6498 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1709, allocations: 52.03 kB / 0.6499 GB, free: 1.098 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.1715, allocations: 67.92 kB / 0.6499 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.1721, allocations: 348.5 kB / 0.6503 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.1722, allocations: 120.2 kB / 0.6504 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.716e-05/0.1723, allocations: 17.8 kB / 0.6504 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.1723, allocations: 20.5 kB / 0.6504 GB, free: 496 kB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1723, allocations: 0 / 0.6504 GB, free: 496 kB / 0.545 GB Notification: Performance of Templates: time 0.005632/0.1779, allocations: 2.114 MB / 0.6525 GB, free: 14.43 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.247070341021754] Failed to read output from testmodel.py, exit status != 0: 0.18632854393217713 0.20106004500000002 0.036312185000000004 Calling exit ...