Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001323/0.001323, allocations: 110.7 kB / 16.41 MB, free: 6.441 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.001195/0.001195, allocations: 189.5 kB / 17.34 MB, free: 5.711 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8389/0.8389, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.55 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1632, allocations: 80.2 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003087/0.1663, allocations: 1.462 MB / 0.6617 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008706/0.1672, allocations: 446.8 kB / 0.6621 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.1673, allocations: 0 / 0.6621 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.1674, allocations: 3.984 kB / 0.6622 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1675, allocations: 15.88 kB / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.1677, allocations: 15.98 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1678, allocations: 55.77 kB / 0.6622 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1679, allocations: 19.98 kB / 0.6623 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.168, allocations: 19.94 kB / 0.6623 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.1681, allocations: 19.91 kB / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1681, allocations: 4 kB / 0.6623 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.1681, allocations: 4 kB / 0.6623 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.1681, allocations: 15.92 kB / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.1682, allocations: 27.92 kB / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.1683, allocations: 51.69 kB / 0.6624 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1683, allocations: 0 / 0.6624 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1684, allocations: 4 kB / 0.6624 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.1684, allocations: 0 / 0.6624 GB, free: 8.152 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.0005062/0.1689, allocations: 351.5 kB / 0.6627 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1689, allocations: 8.031 kB / 0.6627 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.169, allocations: 8.844 kB / 0.6627 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1691, allocations: 168.3 kB / 0.6629 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1691, allocations: 4.375 kB / 0.6629 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1692, allocations: 8.375 kB / 0.6629 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1693, allocations: 65.92 kB / 0.663 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1693, allocations: 0 / 0.663 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1693, allocations: 0 / 0.663 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1693, allocations: 0 / 0.663 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.1694, allocations: 27.98 kB / 0.663 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.1699, allocations: 308.6 kB / 0.6633 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.17, allocations: 54.56 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.1701, allocations: 20.95 kB / 0.6634 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1701, allocations: 0 / 0.6634 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1703, allocations: 75.41 kB / 0.6634 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 3.226e-06/0.1703, allocations: 4 kB / 0.6635 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002331/0.1705, allocations: 105.5 kB / 0.6636 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1706, allocations: 55.41 kB / 0.6636 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.1707, allocations: 109.7 kB / 0.6637 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1707, allocations: 33.7 kB / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.1708, allocations: 80.14 kB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1708, allocations: 23.66 kB / 0.6638 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1708, allocations: 33.64 kB / 0.6639 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.171, allocations: 326.8 kB / 0.6642 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.171, allocations: 15.98 kB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.1711, allocations: 43.42 kB / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.279e-05/0.1712, allocations: 67.38 kB / 0.6643 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1712, allocations: 3.984 kB / 0.6643 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.1713, allocations: 89.62 kB / 0.6644 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1713, allocations: 8 kB / 0.6644 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1713, allocations: 0 / 0.6644 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1714, allocations: 4 kB / 0.6644 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.1714, allocations: 15.92 kB / 0.6644 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1714, allocations: 0 / 0.6644 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.1715, allocations: 11.91 kB / 0.6644 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1715, allocations: 4 kB / 0.6644 GB, free: 5.812 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.186e-05/0.1716, allocations: 121.8 kB / 0.6646 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.1716, allocations: 8.031 kB / 0.6646 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.1717, allocations: 11.91 kB / 0.6646 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1717, allocations: 0 / 0.6646 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1717, allocations: 0 / 0.6646 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1717, allocations: 4 kB / 0.6646 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.1721, allocations: 362.3 kB / 0.6649 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1721, allocations: 0 / 0.6649 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.1721, allocations: 7.984 kB / 0.6649 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1721, allocations: 480 / 0.6649 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1722, allocations: 4 kB / 0.6649 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1722, allocations: 3.938 kB / 0.6649 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1722, allocations: 0 / 0.6649 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.1723, allocations: 183.4 kB / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1724, allocations: 85.02 kB / 0.6652 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1724, allocations: 4 kB / 0.6652 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.1725, allocations: 19.92 kB / 0.6652 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1726, allocations: 8.281 kB / 0.6652 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1726, allocations: 4 kB / 0.6652 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.1726, allocations: 91.25 kB / 0.6653 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1726, allocations: 0 / 0.6653 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002262/0.1728, allocations: 12 kB / 0.6653 GB, free: 4.793 MB / 0.4981 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 0.0001015/0.173, allocations: 101.9 kB / 0.6654 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1731, allocations: 55.91 kB / 0.6655 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1731, allocations: 0 / 0.6655 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.1732, allocations: 28.06 kB / 0.6655 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1734, allocations: 13.39 kB / 0.6655 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.1739, allocations: 191.1 kB / 0.6657 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1742, allocations: 0.6884 MB / 0.6664 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.1742, allocations: 11.44 kB / 0.6664 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1742, allocations: 0 / 0.6664 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of Templates: time 0.002149/0.1764, allocations: 0.8761 MB / 0.6672 GB, free: 2.773 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)