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.00095/0.0009499, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 178 kB / 16.92 MB, free: 6.652 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9186/0.9186, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 11.98 kB / 0.5082 GB, free: 4.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1634, allocations: 82.31 MB / 0.5886 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001571/0.165, allocations: 1.189 MB / 0.5898 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.1657, allocations: 431 kB / 0.5902 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.1657, allocations: 8 kB / 0.5902 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.1658, allocations: 0 / 0.5902 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/0.1659, allocations: 3.938 kB / 0.5902 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.166, allocations: 19.98 kB / 0.5902 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.1661, allocations: 55.77 kB / 0.5903 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.1662, allocations: 8 kB / 0.5903 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.1663, allocations: 19.92 kB / 0.5903 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.1663, allocations: 15.92 kB / 0.5903 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1664, allocations: 8 kB / 0.5903 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.1664, allocations: 0 / 0.5903 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.1664, allocations: 11.98 kB / 0.5903 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.1665, allocations: 45.58 kB / 0.5904 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.12e-05/0.1665, allocations: 27.92 kB / 0.5904 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1666, allocations: 4 kB / 0.5904 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1666, allocations: 3.938 kB / 0.5904 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.1666, allocations: 0 / 0.5904 GB, free: 0.7344 MB / 494.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.0004817/0.1671, allocations: 351.7 kB / 0.5907 GB, free: 352 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1671, allocations: 12.03 kB / 0.5908 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.1672, allocations: 8.828 kB / 0.5908 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1673, allocations: 172.3 kB / 0.5909 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1673, allocations: 8.375 kB / 0.5909 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1673, allocations: 4.375 kB / 0.5909 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1675, allocations: 57.98 kB / 0.591 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1675, allocations: 0 / 0.591 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1675, allocations: 0 / 0.591 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1675, allocations: 8 kB / 0.591 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.1676, allocations: 27.92 kB / 0.591 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.1681, allocations: 300.7 kB / 0.5913 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1682, allocations: 58.59 kB / 0.5914 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.1682, allocations: 28.94 kB / 0.5914 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.1683, allocations: 4 kB / 0.5914 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.1684, allocations: 71.38 kB / 0.5915 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1684, allocations: 3.938 kB / 0.5915 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002195/0.1687, allocations: 97.53 kB / 0.5916 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1687, allocations: 59.39 kB / 0.5916 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.1688, allocations: 105.8 kB / 0.5917 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1688, allocations: 30.08 kB / 0.5918 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.1689, allocations: 92.11 kB / 0.5918 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.1689, allocations: 23.66 kB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.1689, allocations: 21.7 kB / 0.5919 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.169, allocations: 326.7 kB / 0.5922 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.1691, allocations: 15.98 kB / 0.5922 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/0.1691, allocations: 51.42 kB / 0.5923 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.1692, allocations: 63.38 kB / 0.5923 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1692, allocations: 0 / 0.5923 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001367/0.1694, allocations: 93.52 kB / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1694, allocations: 4 kB / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1694, allocations: 4 kB / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1694, allocations: 4.031 kB / 0.5924 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.1695, allocations: 11.94 kB / 0.5924 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1695, allocations: 3.984 kB / 0.5924 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.1696, allocations: 12 kB / 0.5924 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1696, allocations: 4 kB / 0.5924 GB, free: 14.39 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.392e-05/0.1697, allocations: 117.8 kB / 0.5926 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.1697, allocations: 4 kB / 0.5926 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.1697, allocations: 11.95 kB / 0.5926 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1698, allocations: 4 kB / 0.5926 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1698, allocations: 64 / 0.5926 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1698, allocations: 4 kB / 0.5926 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.1702, allocations: 366.3 kB / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1702, allocations: 0 / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.1702, allocations: 11.94 kB / 0.5929 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1702, allocations: 3.938 kB / 0.5929 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1702, allocations: 4 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1702, allocations: 7.922 kB / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1702, allocations: 0 / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.1704, allocations: 179.4 kB / 0.5931 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.1704, allocations: 85.05 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1705, allocations: 4.172 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.1706, allocations: 7.938 kB / 0.5932 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.1706, allocations: 23.92 kB / 0.5932 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1706, allocations: 0 / 0.5932 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.1707, allocations: 87.53 kB / 0.5933 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1707, allocations: 0 / 0.5933 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002246/0.1709, allocations: 16 kB / 0.5933 GB, free: 13.36 MB / 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 8.888e-05/0.171, allocations: 95.25 kB / 0.5934 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.1711, allocations: 55.92 kB / 0.5935 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1711, allocations: 64 / 0.5935 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.992e-05/0.1712, allocations: 31.92 kB / 0.5935 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1715, allocations: 14.39 kB / 0.5935 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.1718, allocations: 186.4 kB / 0.5937 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.172, allocations: 0.6887 MB / 0.5944 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.172, allocations: 19.42 kB / 0.5944 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.1721, allocations: 0 / 0.5944 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.002187/0.1742, allocations: 0.8411 MB / 0.5952 GB, free: 11.38 MB / 0.4981 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)