Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 103.7 kB / 16.41 MB, free: 6.457 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.001141/0.001141, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8247/0.8247, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 62.94 kB / 0.582 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1719, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003149/0.1751, allocations: 1.466 MB / 0.6617 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008382/0.176, allocations: 446.8 kB / 0.6622 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.1761, allocations: 4 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.1762, allocations: 7.922 kB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/0.1763, allocations: 3.938 kB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1765, allocations: 23.92 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1766, allocations: 59.83 kB / 0.6623 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1767, allocations: 11.98 kB / 0.6623 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.1768, allocations: 19.94 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.1769, allocations: 23.91 kB / 0.6623 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1769, allocations: 4 kB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.1769, allocations: 4 kB / 0.6623 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.1769, allocations: 11.92 kB / 0.6623 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.177, allocations: 27.86 kB / 0.6624 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1771, allocations: 47.75 kB / 0.6624 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1771, allocations: 4 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1771, allocations: 0 / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.1772, allocations: 0 / 0.6624 GB, free: 8.125 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.0005639/0.1777, allocations: 355.5 kB / 0.6628 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1778, allocations: 8.031 kB / 0.6628 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.1778, allocations: 12.84 kB / 0.6628 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.178, allocations: 164.3 kB / 0.6629 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.178, allocations: 4.375 kB / 0.6629 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.178, allocations: 8.375 kB / 0.6629 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1782, allocations: 69.91 kB / 0.663 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1782, allocations: 0 / 0.663 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1782, allocations: 4 kB / 0.663 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1782, allocations: 0 / 0.663 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.1783, allocations: 19.98 kB / 0.663 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.1789, allocations: 308.6 kB / 0.6633 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.179, allocations: 54.56 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.179, allocations: 20.95 kB / 0.6634 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1791, allocations: 0 / 0.6634 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.1793, allocations: 83.39 kB / 0.6635 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1793, allocations: 0 / 0.6635 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002441/0.1795, allocations: 101.5 kB / 0.6636 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1796, allocations: 59.41 kB / 0.6636 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.1797, allocations: 109.8 kB / 0.6637 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1797, allocations: 25.7 kB / 0.6638 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.1797, allocations: 88.14 kB / 0.6638 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1798, allocations: 19.66 kB / 0.6639 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.1798, allocations: 37.64 kB / 0.6639 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.18, allocations: 314.8 kB / 0.6642 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.18, allocations: 23.98 kB / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.1801, allocations: 43.42 kB / 0.6643 GB, free: 6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.1802, allocations: 63.38 kB / 0.6643 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1802, allocations: 0 / 0.6643 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001489/0.1803, allocations: 97.55 kB / 0.6644 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1803, allocations: 4 kB / 0.6644 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1804, allocations: 8.031 kB / 0.6644 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1804, allocations: 0 / 0.6644 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.1805, allocations: 16.05 kB / 0.6644 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1805, allocations: 0 / 0.6644 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.1806, allocations: 11.91 kB / 0.6645 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1806, allocations: 4 kB / 0.6645 GB, free: 5.781 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 0.0001028/0.1807, allocations: 130.9 kB / 0.6646 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.1807, allocations: 3.984 kB / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.1808, allocations: 11.97 kB / 0.6646 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1808, allocations: 4 kB / 0.6646 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1808, allocations: 0 / 0.6646 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1808, allocations: 0 / 0.6646 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.1812, allocations: 362.3 kB / 0.665 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1812, allocations: 0 / 0.665 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.1812, allocations: 8.453 kB / 0.665 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1813, allocations: 0 / 0.665 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1813, allocations: 4 kB / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1813, allocations: 7.938 kB / 0.665 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1813, allocations: 0 / 0.665 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.1815, allocations: 183.4 kB / 0.6651 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.1815, allocations: 81.02 kB / 0.6652 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1815, allocations: 7.938 kB / 0.6652 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.1816, allocations: 15.92 kB / 0.6652 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1817, allocations: 4 kB / 0.6652 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1817, allocations: 0 / 0.6652 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.1817, allocations: 91.27 kB / 0.6653 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1817, allocations: 0 / 0.6653 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002335/0.182, allocations: 12 kB / 0.6653 GB, free: 4.766 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 9.593e-05/0.1821, allocations: 103.2 kB / 0.6654 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.1822, allocations: 55.91 kB / 0.6655 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1822, allocations: 0 / 0.6655 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.895e-05/0.1823, allocations: 23.94 kB / 0.6655 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.1826, allocations: 21.61 kB / 0.6655 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.1829, allocations: 167.2 kB / 0.6657 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1832, allocations: 0.6846 MB / 0.6664 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1832, allocations: 11.44 kB / 0.6664 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.1832, allocations: 0 / 0.6664 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.002424/0.1857, allocations: 0.8741 MB / 0.6672 GB, free: 2.77 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)