Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.001329/0.001329, allocations: 71.91 kB / 20.51 MB, free: 1.285 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.001444/0.001444, allocations: 159.8 kB / 23.76 MB, free: 4.469 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.432/1.432, allocations: 177.2 MB / 204.1 MB, free: 8.965 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.9323/0.9323, allocations: 113.9 MB / 374.5 MB, free: 12.86 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") [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.002064/0.002064, allocations: 67.39 kB / 0.555 GB, free: 2.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1681, allocations: 89.15 MB / 0.6421 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.003026/0.1711, allocations: 1.471 MB / 0.6435 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009059/0.1721, allocations: 446.9 kB / 0.6439 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.1721, allocations: 0 / 0.6439 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.1721, allocations: 3.938 kB / 0.6439 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.572e-05/0.1722, allocations: 7.938 kB / 0.6439 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.1724, allocations: 23.97 kB / 0.644 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1725, allocations: 55.84 kB / 0.644 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1726, allocations: 15.92 kB / 0.644 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.1726, allocations: 19.92 kB / 0.644 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.1727, allocations: 19.86 kB / 0.6441 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1727, allocations: 4 kB / 0.6441 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.1727, allocations: 4 kB / 0.6441 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.1728, allocations: 11.98 kB / 0.6441 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.1728, allocations: 19.92 kB / 0.6441 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.1729, allocations: 51.69 kB / 0.6442 GB, free: 7.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1729, allocations: 0 / 0.6442 GB, free: 7.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1729, allocations: 0 / 0.6442 GB, free: 7.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.1729, allocations: 8 kB / 0.6442 GB, free: 7.367 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005471/0.1735, allocations: 282.2 kB / 0.6444 GB, free: 7.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1735, allocations: 12.03 kB / 0.6444 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.1736, allocations: 4.891 kB / 0.6444 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1737, allocations: 106.5 kB / 0.6445 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1737, allocations: 8.375 kB / 0.6446 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1737, allocations: 4.375 kB / 0.6446 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1739, allocations: 61.92 kB / 0.6446 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1739, allocations: 0 / 0.6446 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1739, allocations: 12 kB / 0.6446 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1739, allocations: 0 / 0.6446 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.174, allocations: 19.98 kB / 0.6446 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.1745, allocations: 248.3 kB / 0.6449 GB, free: 6.535 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1746, allocations: 50.56 kB / 0.6449 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.1746, allocations: 24.95 kB / 0.645 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.1746, allocations: 0 / 0.645 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.1748, allocations: 75.41 kB / 0.645 GB, free: 6.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1748, allocations: 4 kB / 0.645 GB, free: 6.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002514/0.1751, allocations: 109.5 kB / 0.6451 GB, free: 6.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1751, allocations: 51.41 kB / 0.6452 GB, free: 6.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1752, allocations: 105.9 kB / 0.6453 GB, free: 6.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1753, allocations: 29.69 kB / 0.6453 GB, free: 6.035 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.1753, allocations: 92.09 kB / 0.6454 GB, free: 5.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1754, allocations: 23.8 kB / 0.6454 GB, free: 5.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.1754, allocations: 25.7 kB / 0.6455 GB, free: 5.887 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1755, allocations: 318.8 kB / 0.6458 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.1756, allocations: 23.92 kB / 0.6458 GB, free: 5.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.1757, allocations: 47.36 kB / 0.6458 GB, free: 5.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.743e-05/0.1758, allocations: 67.56 kB / 0.6459 GB, free: 5.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1758, allocations: 0 / 0.6459 GB, free: 5.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001601/0.1759, allocations: 101.5 kB / 0.646 GB, free: 5.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1759, allocations: 4 kB / 0.646 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1759, allocations: 0 / 0.646 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.176, allocations: 4 kB / 0.646 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.176, allocations: 15.98 kB / 0.646 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.176, allocations: 0 / 0.646 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.1761, allocations: 7.953 kB / 0.646 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1761, allocations: 8.031 kB / 0.646 GB, free: 5.262 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001106/0.1762, allocations: 125.7 kB / 0.6461 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.1762, allocations: 8 kB / 0.6462 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.1763, allocations: 4.125 kB / 0.6462 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1763, allocations: 4 kB / 0.6462 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1763, allocations: 0 / 0.6462 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1763, allocations: 0 / 0.6462 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.1767, allocations: 310 kB / 0.6465 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1767, allocations: 0 / 0.6465 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.1767, allocations: 12.06 kB / 0.6465 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1767, allocations: 0 / 0.6465 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.1767, allocations: 480 / 0.6465 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1767, allocations: 0 / 0.6465 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1767, allocations: 0 / 0.6465 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1769, allocations: 195.3 kB / 0.6467 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.1769, allocations: 3.953 kB / 0.6467 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.177, allocations: 8 kB / 0.6467 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.177, allocations: 3.984 kB / 0.6467 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.1771, allocations: 7.984 kB / 0.6467 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1771, allocations: 11.88 kB / 0.6467 GB, free: 4.516 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.1772, allocations: 87.28 kB / 0.6468 GB, free: 4.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1772, allocations: 0 / 0.6468 GB, free: 4.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002458/0.1774, allocations: 16 kB / 0.6468 GB, free: 4.414 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.836e-05/0.1775, allocations: 99.17 kB / 0.6469 GB, free: 4.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1777, allocations: 51.92 kB / 0.6469 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1777, allocations: 0 / 0.6469 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.1777, allocations: 23.98 kB / 0.647 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.178, allocations: 17.64 kB / 0.647 GB, free: 4.219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.1784, allocations: 165.4 kB / 0.6471 GB, free: 4.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.1785, allocations: 71.7 kB / 0.6472 GB, free: 3.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.1785, allocations: 4 kB / 0.6472 GB, free: 3.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.1785, allocations: 12.5 kB / 0.6472 GB, free: 3.922 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.1785, allocations: 0 / 0.6472 GB, free: 3.922 MB / 0.545 GB Notification: Performance of Templates: time 0.003318/0.1819, allocations: 0.7987 MB / 0.648 GB, free: 3.141 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.36923555994872] Failed to read output from testmodel.py, exit status != 0: 0.19053869601339102 0.20552350500000002 0.02950527 Calling exit ...