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.001756/0.001756, allocations: 113.6 kB / 16.42 MB, free: 6.465 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.00198/0.00198, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.456/1.456, 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.8234/0.8234, allocations: 132.2 MB / 423.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 72.88 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1532, allocations: 80.2 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002466/0.1557, allocations: 1.464 MB / 0.6617 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000699/0.1564, allocations: 454.8 kB / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.1565, allocations: 0 / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.1565, allocations: 3.938 kB / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.84e-05/0.1566, allocations: 7.922 kB / 0.6622 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.1568, allocations: 19.92 kB / 0.6622 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.167e-05/0.1569, allocations: 47.91 kB / 0.6622 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.157, allocations: 19.98 kB / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.1571, allocations: 23.86 kB / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.1571, allocations: 27.91 kB / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1572, allocations: 4 kB / 0.6623 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.1572, allocations: 4 kB / 0.6623 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.1572, allocations: 11.94 kB / 0.6623 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.1573, allocations: 23.92 kB / 0.6623 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.1574, allocations: 43.75 kB / 0.6624 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1574, allocations: 0 / 0.6624 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1574, allocations: 0 / 0.6624 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1574, allocations: 7.938 kB / 0.6624 GB, free: 8.113 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.0004912/0.1579, allocations: 355.5 kB / 0.6627 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.158, allocations: 8.031 kB / 0.6627 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.158, allocations: 8.844 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1581, allocations: 172.3 kB / 0.6629 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1582, allocations: 8.312 kB / 0.6629 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1582, allocations: 4.375 kB / 0.6629 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1583, allocations: 61.98 kB / 0.663 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1583, allocations: 0 / 0.663 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1583, allocations: 4 kB / 0.663 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1583, allocations: 0 / 0.663 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.668e-05/0.1584, allocations: 27.98 kB / 0.663 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.1589, allocations: 300.7 kB / 0.6633 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.997e-05/0.159, allocations: 50.59 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.1591, allocations: 24.91 kB / 0.6634 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.1591, allocations: 8 kB / 0.6634 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.1592, allocations: 71.42 kB / 0.6635 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1592, allocations: 0 / 0.6635 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002145/0.1595, allocations: 97.61 kB / 0.6635 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1595, allocations: 51.41 kB / 0.6636 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.1596, allocations: 113.8 kB / 0.6637 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1596, allocations: 25.7 kB / 0.6637 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1597, allocations: 100.5 kB / 0.6638 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1597, allocations: 23.66 kB / 0.6638 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1597, allocations: 29.64 kB / 0.6639 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1599, allocations: 318.8 kB / 0.6642 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.1599, allocations: 27.92 kB / 0.6642 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.16, allocations: 47.36 kB / 0.6643 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.018e-05/0.16, allocations: 67.61 kB / 0.6643 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1601, allocations: 0 / 0.6643 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001317/0.1602, allocations: 93.55 kB / 0.6644 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1602, allocations: 8 kB / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1602, allocations: 0 / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1602, allocations: 0 / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.1603, allocations: 12 kB / 0.6644 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1603, allocations: 4 kB / 0.6644 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.1604, allocations: 15.92 kB / 0.6644 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.1604, allocations: 4 kB / 0.6644 GB, free: 5.766 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 9.058e-05/0.1605, allocations: 121.7 kB / 0.6646 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.1605, allocations: 8 kB / 0.6646 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.1606, allocations: 7.953 kB / 0.6646 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1606, allocations: 0 / 0.6646 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1606, allocations: 0 / 0.6646 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.1606, allocations: 85.02 kB / 0.6647 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.1607, allocations: 7.938 kB / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.392e-05/0.1607, allocations: 7.984 kB / 0.6647 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.1608, allocations: 4 kB / 0.6647 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001838/0.161, allocations: 168.9 kB / 0.6648 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001862/0.1612, allocations: 254.8 kB / 0.6651 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.12e-05/0.1612, allocations: 28.17 kB / 0.6651 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.1613, allocations: 83.22 kB / 0.6652 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of Backend: time 5.11e-07/0.1613, allocations: 7.938 kB / 0.6652 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.1616, allocations: 110.3 kB / 0.6653 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0005438/0.1622, allocations: 0.5901 MB / 0.6659 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of Templates: time 0.00289/0.1651, allocations: 0.8067 MB / 0.6667 GB, free: 3.383 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)