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.0008438/0.0008437, allocations: 95.33 kB / 15.68 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.0009541/0.0009543, 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.425/1.425, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7133/0.7133, allocations: 113.8 MB / 405.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003297, allocations: 8 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001873/0.1709, allocations: 1.158 MB / 0.558 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008671/0.1718, allocations: 411.3 kB / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.1719, allocations: 0 / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.1719, allocations: 3.984 kB / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.916e-05/0.172, allocations: 11.98 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.1721, allocations: 15.92 kB / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.1722, allocations: 27.95 kB / 0.5584 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1723, allocations: 19.98 kB / 0.5584 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.323e-05/0.1724, allocations: 11.94 kB / 0.5584 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.1725, allocations: 23.91 kB / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1725, allocations: 0 / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.1726, allocations: 7.938 kB / 0.5585 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.1726, allocations: 7.984 kB / 0.5585 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.1726, allocations: 33.64 kB / 0.5585 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.231e-05/0.1727, allocations: 31.94 kB / 0.5585 GB, free: 9.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1727, allocations: 0 / 0.5585 GB, free: 9.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.1727, allocations: 4 kB / 0.5585 GB, free: 9.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1728, allocations: 3.938 kB / 0.5585 GB, free: 9.824 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005354/0.1733, allocations: 353.6 kB / 0.5589 GB, free: 9.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1733, allocations: 12.02 kB / 0.5589 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.1734, allocations: 4 kB / 0.5589 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1735, allocations: 174.9 kB / 0.5591 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.1736, allocations: 4 kB / 0.5591 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1736, allocations: 8 kB / 0.5591 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1737, allocations: 61.61 kB / 0.5591 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1737, allocations: 3.953 kB / 0.5591 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1738, allocations: 0 / 0.5591 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1738, allocations: 0 / 0.5591 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.1738, allocations: 27.97 kB / 0.5592 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.1744, allocations: 304.8 kB / 0.5595 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1745, allocations: 54.56 kB / 0.5595 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.1746, allocations: 0 / 0.5595 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.1748, allocations: 83.52 kB / 0.5596 GB, free: 8.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1748, allocations: 4 kB / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002284/0.175, allocations: 97.89 kB / 0.5597 GB, free: 8.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1751, allocations: 55.41 kB / 0.5597 GB, free: 8.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.1751, allocations: 105.9 kB / 0.5598 GB, free: 8.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1752, allocations: 29.64 kB / 0.5599 GB, free: 8.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1752, allocations: 92.05 kB / 0.56 GB, free: 8.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1753, allocations: 19.75 kB / 0.56 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.1753, allocations: 0 / 0.56 GB, free: 8.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1754, allocations: 322.8 kB / 0.5603 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.1754, allocations: 12 kB / 0.5603 GB, free: 7.824 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.1755, allocations: 47.42 kB / 0.5603 GB, free: 7.766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.1756, allocations: 23.92 kB / 0.5604 GB, free: 7.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1756, allocations: 0 / 0.5604 GB, free: 7.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001425/0.1757, allocations: 101.4 kB / 0.5605 GB, free: 7.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1757, allocations: 4 kB / 0.5605 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1758, allocations: 4.031 kB / 0.5605 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1758, allocations: 4 kB / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.1759, allocations: 11.98 kB / 0.5605 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1759, allocations: 3.938 kB / 0.5605 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.1759, allocations: 12 kB / 0.5605 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.176, allocations: 64 / 0.5605 GB, free: 7.598 MB / 430.1 MB 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.1761, allocations: 121.8 kB / 0.5606 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.1761, allocations: 15.86 kB / 0.5606 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.1761, allocations: 7.969 kB / 0.5606 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1761, allocations: 4 kB / 0.5606 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1761, allocations: 0 / 0.5606 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1761, allocations: 0 / 0.5606 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.1766, allocations: 362.4 kB / 0.561 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1766, allocations: 0 / 0.561 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.1766, allocations: 11.98 kB / 0.561 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1766, allocations: 3.938 kB / 0.561 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1766, allocations: 8 kB / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1766, allocations: 0 / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1766, allocations: 288 / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.1768, allocations: 183.5 kB / 0.5612 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.1769, allocations: 92.94 kB / 0.5613 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.1769, allocations: 0 / 0.5613 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.177, allocations: 15.98 kB / 0.5613 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.177, allocations: 7.984 kB / 0.5613 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1771, allocations: 0 / 0.5613 GB, free: 6.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.76e-05/0.1771, allocations: 83.28 kB / 0.5614 GB, free: 6.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1771, allocations: 0 / 0.5614 GB, free: 6.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1774, allocations: 16 kB / 0.5614 GB, free: 6.582 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: 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 (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.0001108/0.1775, allocations: 95.94 kB / 0.5615 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1776, allocations: 59.91 kB / 0.5615 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1776, allocations: 0 / 0.5615 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.1777, allocations: 23.94 kB / 0.5616 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1779, allocations: 15.94 kB / 0.5616 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.1783, allocations: 176.7 kB / 0.5617 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1787, allocations: 0.6887 MB / 0.5624 GB, free: 5.469 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.117e-05/0.1787, allocations: 4 kB / 0.5624 GB, free: 5.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.1787, allocations: 7.438 kB / 0.5624 GB, free: 5.457 MB / 430.1 MB Notification: Performance of SimCode: time 2e-07/0.1787, allocations: 4 kB / 0.5624 GB, free: 5.453 MB / 430.1 MB Notification: Performance of Templates: time 0.002812/0.1816, allocations: 0.6517 MB / 0.5631 GB, free: 4.805 MB / 430.1 MB 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)