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.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 115 kB / 17.09 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 195 kB / 18.03 MB, free: 5.078 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.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8056/0.8056, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 62.97 kB / 0.5737 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1601, allocations: 78.71 MB / 0.6506 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002683/0.1628, allocations: 1.448 MB / 0.652 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.1636, allocations: 452.5 kB / 0.6524 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.1637, allocations: 0 / 0.6524 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.1637, allocations: 0 / 0.6524 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.1639, allocations: 15.84 kB / 0.6524 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.164, allocations: 15.98 kB / 0.6524 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.232e-05/0.1641, allocations: 55.84 kB / 0.6525 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1642, allocations: 16 kB / 0.6525 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.881e-05/0.1643, allocations: 23.91 kB / 0.6525 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.1644, allocations: 23.91 kB / 0.6526 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1644, allocations: 4 kB / 0.6526 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.1644, allocations: 4 kB / 0.6526 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.1644, allocations: 11.94 kB / 0.6526 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.1645, allocations: 23.92 kB / 0.6526 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.1646, allocations: 47.69 kB / 0.6526 GB, free: 1.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1646, allocations: 7.938 kB / 0.6527 GB, free: 1.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1646, allocations: 0 / 0.6527 GB, free: 1.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1646, allocations: 0 / 0.6527 GB, free: 1.984 MB / 494.1 MB 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.0004969/0.1651, allocations: 359.4 kB / 0.653 GB, free: 1.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1652, allocations: 8.031 kB / 0.653 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.1652, allocations: 8.891 kB / 0.653 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.1654, allocations: 180.3 kB / 0.6532 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1654, allocations: 384 / 0.6532 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.1654, allocations: 4.375 kB / 0.6532 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1656, allocations: 65.92 kB / 0.6533 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1656, allocations: 4 kB / 0.6533 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1656, allocations: 4 kB / 0.6533 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1656, allocations: 0 / 0.6533 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.429e-05/0.1657, allocations: 23.98 kB / 0.6533 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.1662, allocations: 300.7 kB / 0.6536 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.1663, allocations: 50.62 kB / 0.6536 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.1663, allocations: 32.88 kB / 0.6536 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1664, allocations: 0 / 0.6536 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.1665, allocations: 75.41 kB / 0.6537 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1665, allocations: 0 / 0.6537 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002213/0.1668, allocations: 97.58 kB / 0.6538 GB, free: 0.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.1668, allocations: 55.41 kB / 0.6539 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.1669, allocations: 106.2 kB / 0.654 GB, free: 456 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1669, allocations: 33.7 kB / 0.654 GB, free: 416 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.167, allocations: 92.08 kB / 0.6541 GB, free: 320 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.167, allocations: 27.78 kB / 0.6541 GB, free: 292 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.1671, allocations: 29.64 kB / 0.6541 GB, free: 256 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1672, allocations: 318.8 kB / 0.6544 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.1673, allocations: 23.92 kB / 0.6545 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.1673, allocations: 51.55 kB / 0.6545 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.978e-05/0.1674, allocations: 67.36 kB / 0.6546 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1674, allocations: 0 / 0.6546 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000141/0.1676, allocations: 93.61 kB / 0.6547 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1676, allocations: 8 kB / 0.6547 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1676, allocations: 0 / 0.6547 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1676, allocations: 0 / 0.6547 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.1677, allocations: 11.94 kB / 0.6547 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1678, allocations: 12.02 kB / 0.6547 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.1678, allocations: 7.953 kB / 0.6547 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1679, allocations: 4 kB / 0.6547 GB, free: 15.62 MB / 0.4981 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 8.672e-05/0.168, allocations: 125.1 kB / 0.6548 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.168, allocations: 4 kB / 0.6548 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.168, allocations: 15.89 kB / 0.6549 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.168, allocations: 64 / 0.6549 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.168, allocations: 4 kB / 0.6549 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.1681, allocations: 89.06 kB / 0.6549 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1681, allocations: 3.938 kB / 0.6549 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.374e-05/0.1682, allocations: 7.984 kB / 0.655 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1682, allocations: 7.984 kB / 0.655 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001805/0.1684, allocations: 164.9 kB / 0.6551 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001952/0.1686, allocations: 250.8 kB / 0.6554 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.994e-05/0.1687, allocations: 36.11 kB / 0.6554 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.1687, allocations: 83.22 kB / 0.6555 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Backend: time 4.31e-07/0.1687, allocations: 0 / 0.6555 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.1691, allocations: 117.8 kB / 0.6556 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004967/0.1696, allocations: 0.5767 MB / 0.6561 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.00287/0.1725, allocations: 0.7981 MB / 0.6569 GB, free: 13.26 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)