Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001308/0.001308, allocations: 107.3 kB / 16.38 MB, free: 6.434 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.001362/0.001362, allocations: 190.2 kB / 17.32 MB, free: 5.762 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.333/1.333, 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-master/package.mo): time 0.799/0.799, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 66.66 kB / 0.5862 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1733, allocations: 80.92 MB / 0.6652 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002523/0.1759, allocations: 1.476 MB / 0.6667 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000693/0.1766, allocations: 442.8 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.1766, allocations: 4 kB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.1767, allocations: 7.922 kB / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.099e-05/0.1768, allocations: 11.92 kB / 0.6671 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.177, allocations: 19.92 kB / 0.6671 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.069e-05/0.177, allocations: 47.91 kB / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1772, allocations: 11.98 kB / 0.6672 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.1772, allocations: 23.88 kB / 0.6672 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.1773, allocations: 31.89 kB / 0.6672 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1773, allocations: 7.938 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.1773, allocations: 4 kB / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.1774, allocations: 7.984 kB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.1774, allocations: 23.88 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1776, allocations: 43.81 kB / 0.6673 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1776, allocations: 0 / 0.6673 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.615e-06/0.1776, allocations: 0 / 0.6673 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1776, allocations: 0 / 0.6673 GB, free: 3.668 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.0005299/0.1781, allocations: 363.5 kB / 0.6677 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1782, allocations: 9.109 kB / 0.6677 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.1782, allocations: 4.938 kB / 0.6677 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.1784, allocations: 172.2 kB / 0.6679 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1784, allocations: 12.3 kB / 0.6679 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1784, allocations: 8.375 kB / 0.6679 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1785, allocations: 57.98 kB / 0.6679 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1786, allocations: 0 / 0.6679 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1786, allocations: 4 kB / 0.6679 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1786, allocations: 4 kB / 0.6679 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.216e-05/0.1786, allocations: 19.98 kB / 0.668 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.1792, allocations: 304.7 kB / 0.6682 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1793, allocations: 50.56 kB / 0.6683 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.1793, allocations: 20.95 kB / 0.6683 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.1793, allocations: 11.88 kB / 0.6683 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.1795, allocations: 83.31 kB / 0.6684 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.1795, allocations: 0 / 0.6684 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002353/0.1797, allocations: 101.6 kB / 0.6685 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.1798, allocations: 51.41 kB / 0.6686 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.1799, allocations: 105.8 kB / 0.6687 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1799, allocations: 29.7 kB / 0.6687 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.18, allocations: 92.05 kB / 0.6688 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.18, allocations: 23.64 kB / 0.6688 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.1801, allocations: 33.7 kB / 0.6688 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.1802, allocations: 314.8 kB / 0.6691 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.1802, allocations: 19.98 kB / 0.6691 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/0.1803, allocations: 51.36 kB / 0.6692 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.375e-05/0.1804, allocations: 63.44 kB / 0.6693 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1804, allocations: 0 / 0.6693 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000134/0.1805, allocations: 97.55 kB / 0.6693 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1806, allocations: 4 kB / 0.6693 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1806, allocations: 7.984 kB / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1806, allocations: 288 / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.1807, allocations: 11.98 kB / 0.6694 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1807, allocations: 0 / 0.6694 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.1808, allocations: 15.94 kB / 0.6694 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.1808, allocations: 4 kB / 0.6694 GB, free: 1.312 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.86e-05/0.1809, allocations: 136.9 kB / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.1809, allocations: 0 / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.1809, allocations: 7.969 kB / 0.6695 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.1809, allocations: 4 kB / 0.6695 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1809, allocations: 0 / 0.6695 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1809, allocations: 384 / 0.6695 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.1813, allocations: 370.2 kB / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1814, allocations: 0 / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.1814, allocations: 7.984 kB / 0.6699 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1814, allocations: 0 / 0.6699 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1814, allocations: 4 kB / 0.6699 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1814, allocations: 3.938 kB / 0.6699 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1814, allocations: 3.938 kB / 0.6699 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.1816, allocations: 179.5 kB / 0.6701 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.1816, allocations: 81.02 kB / 0.6701 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1817, allocations: 4 kB / 0.6702 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.1818, allocations: 11.92 kB / 0.6702 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1818, allocations: 7.938 kB / 0.6702 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1818, allocations: 4 kB / 0.6702 GB, free: 416 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.1819, allocations: 87.27 kB / 0.6703 GB, free: 328 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1819, allocations: 0 / 0.6703 GB, free: 328 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002283/0.1821, allocations: 12 kB / 0.6703 GB, free: 316 kB / 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.31e-05/0.1822, allocations: 104.6 kB / 0.6704 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.1824, allocations: 55.91 kB / 0.6704 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1824, allocations: 0 / 0.6704 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.694e-05/0.1824, allocations: 27.94 kB / 0.6705 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1827, allocations: 12.36 kB / 0.6705 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.1831, allocations: 169.6 kB / 0.6706 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1835, allocations: 0.6885 MB / 0.6713 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.1836, allocations: 15.44 kB / 0.6713 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.1836, allocations: 0 / 0.6713 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.002943/0.1865, allocations: 0.8522 MB / 0.6721 GB, free: 14.32 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)