Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001444/0.001444, allocations: 104.1 kB / 16.4 MB, free: 6.461 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.001344/0.001344, 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7659/0.7659, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.55 kB / 0.5862 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1458, allocations: 80.93 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002928/0.1488, allocations: 1.464 MB / 0.6667 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.1497, allocations: 442.8 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.1498, allocations: 0 / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.1498, allocations: 11.92 kB / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.1499, allocations: 7.938 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.1501, allocations: 23.91 kB / 0.6672 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.1502, allocations: 43.91 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1503, allocations: 19.98 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.1504, allocations: 19.88 kB / 0.6672 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.1504, allocations: 19.91 kB / 0.6673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1505, allocations: 8 kB / 0.6673 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.1505, allocations: 8 kB / 0.6673 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.1505, allocations: 15.92 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.1506, allocations: 19.92 kB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1507, allocations: 47.77 kB / 0.6674 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1507, allocations: 3.938 kB / 0.6674 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1507, allocations: 0 / 0.6674 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.1507, allocations: 3.984 kB / 0.6674 GB, free: 3.684 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.0006147/0.1513, allocations: 347.5 kB / 0.6677 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1514, allocations: 17.09 kB / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.1514, allocations: 8.938 kB / 0.6677 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1515, allocations: 176.2 kB / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1516, allocations: 4.375 kB / 0.6679 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.1516, allocations: 8.375 kB / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1517, allocations: 57.98 kB / 0.668 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1517, allocations: 0 / 0.668 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1517, allocations: 0 / 0.668 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1517, allocations: 4 kB / 0.668 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.075e-05/0.1518, allocations: 27.92 kB / 0.668 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.1524, allocations: 300.8 kB / 0.6683 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.1525, allocations: 54.56 kB / 0.6683 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.1525, allocations: 28.98 kB / 0.6683 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1525, allocations: 3.984 kB / 0.6684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1527, allocations: 79.28 kB / 0.6684 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1527, allocations: 0 / 0.6684 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002027/0.1529, allocations: 93.62 kB / 0.6685 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.153, allocations: 59.39 kB / 0.6686 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.153, allocations: 102.2 kB / 0.6687 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1531, allocations: 33.69 kB / 0.6687 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.1531, allocations: 84.05 kB / 0.6688 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1531, allocations: 23.66 kB / 0.6688 GB, free: 2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.1532, allocations: 41.58 kB / 0.6688 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1533, allocations: 322.8 kB / 0.6692 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.1533, allocations: 15.98 kB / 0.6692 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.1534, allocations: 51.36 kB / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1535, allocations: 59.38 kB / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1536, allocations: 8 kB / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001291/0.1537, allocations: 89.61 kB / 0.6694 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1537, allocations: 4 kB / 0.6694 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1537, allocations: 0 / 0.6694 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1537, allocations: 4 kB / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.1538, allocations: 11.98 kB / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1538, allocations: 3.938 kB / 0.6694 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.1539, allocations: 11.91 kB / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1539, allocations: 4 kB / 0.6694 GB, free: 1.34 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.0001224/0.154, allocations: 125.8 kB / 0.6695 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.1541, allocations: 4.062 kB / 0.6695 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.1541, allocations: 11.97 kB / 0.6695 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1541, allocations: 4 kB / 0.6695 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1541, allocations: 0 / 0.6695 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1541, allocations: 0 / 0.6695 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.1546, allocations: 362.3 kB / 0.6699 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1546, allocations: 4 kB / 0.6699 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.1546, allocations: 4 kB / 0.6699 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1547, allocations: 7.922 kB / 0.6699 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1547, allocations: 4 kB / 0.6699 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1547, allocations: 7.938 kB / 0.6699 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1547, allocations: 288 / 0.6699 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.1548, allocations: 171.5 kB / 0.6701 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.381e-05/0.1549, allocations: 89.17 kB / 0.6702 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.155, allocations: 7.938 kB / 0.6702 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.155, allocations: 15.88 kB / 0.6702 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.1551, allocations: 7.984 kB / 0.6702 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1551, allocations: 8 kB / 0.6702 GB, free: 432 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.1551, allocations: 83.27 kB / 0.6703 GB, free: 348 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1552, allocations: 0 / 0.6703 GB, free: 348 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000237/0.1554, allocations: 16 kB / 0.6703 GB, free: 332 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.867e-05/0.1555, allocations: 92.58 kB / 0.6704 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1556, allocations: 59.92 kB / 0.6704 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1556, allocations: 0 / 0.6704 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.1557, allocations: 27.92 kB / 0.6705 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.156, allocations: 11.98 kB / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.1564, allocations: 183.2 kB / 0.6707 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.1568, allocations: 0.6885 MB / 0.6713 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.1569, allocations: 11.44 kB / 0.6713 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.1569, allocations: 0 / 0.6713 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of Templates: time 0.002161/0.159, allocations: 0.874 MB / 0.6722 GB, free: 14.31 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)