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.001805/0.001805, allocations: 110.4 kB / 16.41 MB, free: 6.488 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.002032/0.002032, allocations: 189.5 kB / 17.34 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8396/0.8396, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 66.77 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 80.91 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003055/0.1689, allocations: 1.488 MB / 0.6667 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.1697, allocations: 446.8 kB / 0.6671 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.1698, allocations: 3.938 kB / 0.6672 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.1698, allocations: 7.922 kB / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.368e-05/0.17, allocations: 7.922 kB / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.1701, allocations: 27.92 kB / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.1702, allocations: 51.84 kB / 0.6672 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1704, allocations: 11.98 kB / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.1704, allocations: 15.94 kB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.1705, allocations: 23.89 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1705, allocations: 8 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.1706, allocations: 4 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.1707, allocations: 19.92 kB / 0.6673 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.1707, allocations: 15.94 kB / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1708, allocations: 51.75 kB / 0.6674 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1709, allocations: 0 / 0.6674 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1709, allocations: 0 / 0.6674 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1709, allocations: 0 / 0.6674 GB, free: 3.633 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.0005425/0.1714, allocations: 351.5 kB / 0.6677 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1715, allocations: 21.05 kB / 0.6677 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1715, allocations: 0.9375 kB / 0.6677 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1717, allocations: 172.2 kB / 0.6679 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1717, allocations: 8.375 kB / 0.6679 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1717, allocations: 4.375 kB / 0.6679 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1718, allocations: 57.98 kB / 0.668 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1718, allocations: 0 / 0.668 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1719, allocations: 0 / 0.668 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1719, allocations: 7.938 kB / 0.668 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.1719, allocations: 23.98 kB / 0.668 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.1725, allocations: 300.8 kB / 0.6683 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1726, allocations: 58.59 kB / 0.6683 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.1726, allocations: 24.95 kB / 0.6684 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1727, allocations: 0 / 0.6684 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.1729, allocations: 83.22 kB / 0.6685 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.555e-06/0.1729, allocations: 3.984 kB / 0.6685 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002372/0.1731, allocations: 97.61 kB / 0.6685 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1732, allocations: 55.41 kB / 0.6686 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.1733, allocations: 105.8 kB / 0.6687 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1733, allocations: 33.7 kB / 0.6687 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.1733, allocations: 84.05 kB / 0.6688 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1734, allocations: 35.58 kB / 0.6688 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1734, allocations: 29.7 kB / 0.6689 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1736, allocations: 322.8 kB / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.1737, allocations: 15.98 kB / 0.6692 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/0.1737, allocations: 43.42 kB / 0.6692 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.1738, allocations: 71.38 kB / 0.6693 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1738, allocations: 0 / 0.6693 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001552/0.174, allocations: 93.61 kB / 0.6694 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.174, allocations: 4 kB / 0.6694 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.174, allocations: 0 / 0.6694 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.174, allocations: 4 kB / 0.6694 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.1741, allocations: 15.92 kB / 0.6694 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1741, allocations: 0 / 0.6694 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.1742, allocations: 11.91 kB / 0.6694 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1742, allocations: 8.031 kB / 0.6694 GB, free: 1.281 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.061e-05/0.1743, allocations: 121.8 kB / 0.6696 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.1743, allocations: 4 kB / 0.6696 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.1744, allocations: 7.969 kB / 0.6696 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1744, allocations: 0 / 0.6696 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1744, allocations: 4 kB / 0.6696 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1744, allocations: 0 / 0.6696 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1748, allocations: 366.6 kB / 0.6699 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1748, allocations: 0 / 0.6699 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.1749, allocations: 7.984 kB / 0.6699 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1749, allocations: 96 / 0.6699 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1749, allocations: 7.938 kB / 0.6699 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1749, allocations: 3.938 kB / 0.6699 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1749, allocations: 4 kB / 0.6699 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1751, allocations: 175.8 kB / 0.6701 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1751, allocations: 88.95 kB / 0.6702 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1751, allocations: 4 kB / 0.6702 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.1752, allocations: 11.92 kB / 0.6702 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1753, allocations: 7.984 kB / 0.6702 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1753, allocations: 8 kB / 0.6702 GB, free: 384 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.1753, allocations: 83.27 kB / 0.6703 GB, free: 300 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1753, allocations: 0 / 0.6703 GB, free: 300 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002319/0.1756, allocations: 16 kB / 0.6703 GB, free: 284 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 0.0001096/0.1757, allocations: 100.6 kB / 0.6704 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.1758, allocations: 59.91 kB / 0.6705 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1759, allocations: 0 / 0.6705 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.1759, allocations: 20 kB / 0.6705 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1762, allocations: 17.98 kB / 0.6705 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.1766, allocations: 171.2 kB / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.1768, allocations: 0.6846 MB / 0.6713 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1769, allocations: 19.44 kB / 0.6714 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1769, allocations: 288 / 0.6714 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.002421/0.1793, allocations: 0.8621 MB / 0.6722 GB, free: 14.28 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)