Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") translateModel(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00913/0.00913, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001572/0.001573, allocations: 197.6 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4503/0.4503, allocations: 54.94 MB / 324.8 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 66.44 kB / 456.2 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1593, allocations: 59.59 MB / 0.5037 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.002478/0.1618, allocations: 1.45 MB / 0.5051 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.1626, allocations: 494.3 kB / 0.5056 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.1627, allocations: 0 / 0.5056 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.1627, allocations: 11.86 kB / 0.5056 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1628, allocations: 5.375 kB / 0.5056 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.163, allocations: 28.41 kB / 0.5056 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1631, allocations: 47.25 kB / 0.5057 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1633, allocations: 10.25 kB / 0.5057 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.1634, allocations: 19.3 kB / 0.5057 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.1634, allocations: 25.62 kB / 0.5057 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1635, allocations: 3.688 kB / 0.5057 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.1635, allocations: 8.406 kB / 0.5057 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.1635, allocations: 13.3 kB / 0.5057 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.1636, allocations: 27.39 kB / 0.5058 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1637, allocations: 43.55 kB / 0.5058 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1637, allocations: 0 / 0.5058 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1637, allocations: 0 / 0.5058 GB, free: 7.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1637, allocations: 0 / 0.5058 GB, free: 7.984 MB / 382.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.0006571/0.1644, allocations: 358 kB / 0.5061 GB, free: 7.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.1645, allocations: 9.25 kB / 0.5062 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.1645, allocations: 7.469 kB / 0.5062 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1647, allocations: 171.1 kB / 0.5063 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1647, allocations: 6.719 kB / 0.5063 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1647, allocations: 8.469 kB / 0.5063 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1649, allocations: 68.16 kB / 0.5064 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1649, allocations: 0 / 0.5064 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1649, allocations: 0 / 0.5064 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1649, allocations: 1.594 kB / 0.5064 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.165, allocations: 25.83 kB / 0.5064 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.1655, allocations: 302.5 kB / 0.5067 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.1656, allocations: 57.94 kB / 0.5068 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.1657, allocations: 19.92 kB / 0.5068 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1657, allocations: 5.375 kB / 0.5068 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.1659, allocations: 79.84 kB / 0.5069 GB, free: 6.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1659, allocations: 3.938 kB / 0.5069 GB, free: 6.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002595/0.1661, allocations: 101.6 kB / 0.507 GB, free: 6.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1662, allocations: 54.16 kB / 0.507 GB, free: 6.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.1663, allocations: 107.2 kB / 0.5071 GB, free: 6.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1663, allocations: 31.08 kB / 0.5072 GB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.1663, allocations: 82.89 kB / 0.5072 GB, free: 6.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1664, allocations: 18.47 kB / 0.5073 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.1664, allocations: 29.95 kB / 0.5073 GB, free: 6.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.1665, allocations: 321.5 kB / 0.5076 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.1665, allocations: 21.61 kB / 0.5076 GB, free: 6.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/0.1666, allocations: 47.73 kB / 0.5077 GB, free: 6.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.953e-05/0.1667, allocations: 66.73 kB / 0.5077 GB, free: 6.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1667, allocations: 0 / 0.5077 GB, free: 6.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001339/0.1668, allocations: 90.69 kB / 0.5078 GB, free: 5.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1669, allocations: 9.531 kB / 0.5078 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1669, allocations: 1.375 kB / 0.5078 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1669, allocations: 1.375 kB / 0.5078 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.167, allocations: 12.23 kB / 0.5078 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.167, allocations: 1.375 kB / 0.5078 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.1671, allocations: 15.97 kB / 0.5078 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1671, allocations: 4.125 kB / 0.5079 GB, free: 5.961 MB / 382.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,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.317e-05/0.1672, allocations: 134 kB / 0.508 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.1672, allocations: 6.75 kB / 0.508 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.1672, allocations: 9.344 kB / 0.508 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1672, allocations: 1.375 kB / 0.508 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1672, allocations: 0 / 0.508 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1673, allocations: 0 / 0.508 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.1676, allocations: 360.3 kB / 0.5083 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1676, allocations: 3.938 kB / 0.5083 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.1677, allocations: 8.109 kB / 0.5084 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1677, allocations: 0 / 0.5084 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1677, allocations: 13.53 kB / 0.5084 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1677, allocations: 9.25 kB / 0.5084 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1677, allocations: 0 / 0.5084 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.1679, allocations: 175.2 kB / 0.5085 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.1679, allocations: 82.39 kB / 0.5086 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1679, allocations: 5.375 kB / 0.5086 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.168, allocations: 12.05 kB / 0.5086 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.1681, allocations: 4.125 kB / 0.5086 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.1681, allocations: 9.359 kB / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.03e-05/0.1681, allocations: 87.34 kB / 0.5087 GB, free: 5.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1681, allocations: 0 / 0.5087 GB, free: 5.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1684, allocations: 18.94 kB / 0.5088 GB, free: 5.066 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.706e-05/0.1684, allocations: 97.33 kB / 0.5088 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.1686, allocations: 56.88 kB / 0.5089 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1686, allocations: 0 / 0.5089 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.1687, allocations: 29.75 kB / 0.5089 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.1689, allocations: 11.8 kB / 0.5089 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.1694, allocations: 164.1 kB / 0.5091 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.1695, allocations: 0.6868 MB / 0.5098 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.1696, allocations: 7.625 kB / 0.5098 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.1696, allocations: 15.31 kB / 0.5098 GB, free: 4.074 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1696, allocations: 1.562 kB / 0.5098 GB, free: 4.074 MB / 382.1 MB Notification: Performance of Templates: time 0.003192/0.1728, allocations: 0.7791 MB / 0.5105 GB, free: 3.586 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe 2>&1)