Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001131/0.001132, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001222/0.001223, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7826/0.7826, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 66.94 kB / 0.5862 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1599, allocations: 80.92 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.00273/0.1627, allocations: 1.465 MB / 0.6667 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007829/0.1635, allocations: 450.8 kB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.1635, allocations: 0 / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.1636, allocations: 3.938 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/0.1637, allocations: 7.938 kB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1639, allocations: 27.89 kB / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.164, allocations: 47.86 kB / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1641, allocations: 19.98 kB / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.1642, allocations: 19.92 kB / 0.6673 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.1643, allocations: 23.92 kB / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.1643, allocations: 4 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.1644, allocations: 4 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.1644, allocations: 15.91 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.1644, allocations: 23.92 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.1646, allocations: 47.75 kB / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1646, allocations: 0 / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1646, allocations: 0 / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.1646, allocations: 4 kB / 0.6674 GB, free: 3.672 MB / 0.4981 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.0005401/0.1651, allocations: 355.5 kB / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.1652, allocations: 9.109 kB / 0.6677 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.1652, allocations: 4.875 kB / 0.6677 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1654, allocations: 176.2 kB / 0.6679 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1654, allocations: 4.375 kB / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1654, allocations: 8.359 kB / 0.6679 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1656, allocations: 54 kB / 0.668 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1656, allocations: 4 kB / 0.668 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1656, allocations: 4 kB / 0.668 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1656, allocations: 4 kB / 0.668 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.942e-05/0.1657, allocations: 27.86 kB / 0.668 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.1662, allocations: 300.8 kB / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1663, allocations: 62.59 kB / 0.6683 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.1664, allocations: 24.94 kB / 0.6684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.1664, allocations: 0 / 0.6684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.1666, allocations: 71.3 kB / 0.6684 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.255e-06/0.1666, allocations: 0 / 0.6684 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002395/0.1668, allocations: 97.61 kB / 0.6685 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1669, allocations: 55.41 kB / 0.6686 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.167, allocations: 117.8 kB / 0.6687 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.167, allocations: 25.7 kB / 0.6687 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.167, allocations: 88.05 kB / 0.6688 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1671, allocations: 27.64 kB / 0.6688 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.1671, allocations: 29.66 kB / 0.6689 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1673, allocations: 322.8 kB / 0.6692 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.1673, allocations: 12 kB / 0.6692 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.1674, allocations: 51.42 kB / 0.6692 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.656e-05/0.1675, allocations: 63.36 kB / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1675, allocations: 0 / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001389/0.1676, allocations: 97.8 kB / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1677, allocations: 9.703 kB / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1677, allocations: 0 / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1677, allocations: 4.062 kB / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.1678, allocations: 19.97 kB / 0.6694 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1678, allocations: 0 / 0.6694 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.1679, allocations: 11.89 kB / 0.6694 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.1679, allocations: 4 kB / 0.6694 GB, free: 1.324 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.931e-05/0.168, allocations: 124.2 kB / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.168, allocations: 4 kB / 0.6695 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.168, allocations: 7.969 kB / 0.6696 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.168, allocations: 0 / 0.6696 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1681, allocations: 7.938 kB / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1681, allocations: 89 kB / 0.6696 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1681, allocations: 3.938 kB / 0.6696 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.1682, allocations: 4 kB / 0.6697 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.1682, allocations: 11.98 kB / 0.6697 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002026/0.1685, allocations: 164.9 kB / 0.6698 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002012/0.1687, allocations: 254.8 kB / 0.6701 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.628e-05/0.1687, allocations: 27.98 kB / 0.6701 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.1688, allocations: 95.14 kB / 0.6702 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of Backend: time 6.01e-07/0.1688, allocations: 0 / 0.6702 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.1692, allocations: 106.4 kB / 0.6703 GB, free: 396 kB / 0.4981 GB Notification: Performance of SimCode: time 0.0005747/0.1698, allocations: 0.5804 MB / 0.6708 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.003423/0.1732, allocations: 0.7961 MB / 0.6716 GB, free: 14.96 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)