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.00111/0.00111, allocations: 92.23 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.00126/0.00126, allocations: 184.3 kB / 16.92 MB, free: 6.922 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.009/1.009, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 8 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.00173/0.1714, allocations: 1.181 MB / 0.5898 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007427/0.1722, allocations: 427.1 kB / 0.5902 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.1723, allocations: 4 kB / 0.5902 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.1723, allocations: 3.984 kB / 0.5902 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.1724, allocations: 3.938 kB / 0.5902 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.1726, allocations: 19.97 kB / 0.5902 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.1727, allocations: 51.78 kB / 0.5902 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1728, allocations: 16 kB / 0.5903 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.1729, allocations: 19.92 kB / 0.5903 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.173, allocations: 15.92 kB / 0.5903 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.173, allocations: 4 kB / 0.5903 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.173, allocations: 4 kB / 0.5903 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.173, allocations: 7.984 kB / 0.5903 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.1731, allocations: 49.56 kB / 0.5904 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.376e-05/0.1732, allocations: 27.94 kB / 0.5904 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1732, allocations: 0 / 0.5904 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1732, allocations: 4 kB / 0.5904 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1732, allocations: 0 / 0.5904 GB, free: 0.7734 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.0005135/0.1737, allocations: 347.7 kB / 0.5907 GB, free: 396 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1738, allocations: 12.03 kB / 0.5907 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1738, allocations: 4.844 kB / 0.5907 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.174, allocations: 176.2 kB / 0.5909 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.174, allocations: 4.375 kB / 0.5909 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.174, allocations: 12.38 kB / 0.5909 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1741, allocations: 57.98 kB / 0.591 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1742, allocations: 0 / 0.591 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1742, allocations: 0 / 0.591 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1742, allocations: 4 kB / 0.591 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.1743, allocations: 27.92 kB / 0.591 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.1748, allocations: 304.7 kB / 0.5913 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1749, allocations: 58.55 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.175, allocations: 28.97 kB / 0.5914 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.175, allocations: 4 kB / 0.5914 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.1752, allocations: 79.31 kB / 0.5915 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.1752, allocations: 3.938 kB / 0.5915 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002354/0.1754, allocations: 105.5 kB / 0.5916 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1755, allocations: 51.41 kB / 0.5916 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.1756, allocations: 105.8 kB / 0.5917 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1756, allocations: 29.7 kB / 0.5917 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.1757, allocations: 88.12 kB / 0.5918 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1757, allocations: 23.66 kB / 0.5918 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.1757, allocations: 17.72 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1758, allocations: 326.8 kB / 0.5922 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.1759, allocations: 12 kB / 0.5922 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.1759, allocations: 51.36 kB / 0.5922 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.577e-05/0.176, allocations: 67.36 kB / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1761, allocations: 4 kB / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001439/0.1762, allocations: 93.52 kB / 0.5924 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1762, allocations: 6.344 kB / 0.5924 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1762, allocations: 4 kB / 0.5924 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1763, allocations: 0 / 0.5924 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.1763, allocations: 8 kB / 0.5924 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.1763, allocations: 3.938 kB / 0.5924 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.1764, allocations: 15.98 kB / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1764, allocations: 4 kB / 0.5924 GB, free: 14.43 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 8.821e-05/0.1765, allocations: 121.8 kB / 0.5926 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.1765, allocations: 4 kB / 0.5926 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.1766, allocations: 7.969 kB / 0.5926 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1766, allocations: 3.984 kB / 0.5926 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1766, allocations: 0 / 0.5926 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1766, allocations: 4.281 kB / 0.5926 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.177, allocations: 370.7 kB / 0.5929 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.177, allocations: 0 / 0.5929 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1771, allocations: 7.938 kB / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1771, allocations: 7.922 kB / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1771, allocations: 4 kB / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1771, allocations: 3.938 kB / 0.5929 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1771, allocations: 0 / 0.5929 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.1773, allocations: 187.4 kB / 0.5931 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.1773, allocations: 85.05 kB / 0.5932 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1774, allocations: 8.047 kB / 0.5932 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.1774, allocations: 11.94 kB / 0.5932 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1775, allocations: 7.984 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.1775, allocations: 4 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.1776, allocations: 79.28 kB / 0.5933 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1776, allocations: 0 / 0.5933 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000239/0.1778, allocations: 19.98 kB / 0.5933 GB, free: 13.4 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 9.819e-05/0.1779, allocations: 102.6 kB / 0.5934 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.178, allocations: 51.92 kB / 0.5935 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1781, allocations: 0 / 0.5935 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.1781, allocations: 27.92 kB / 0.5935 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1784, allocations: 8 kB / 0.5935 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.1789, allocations: 214.7 kB / 0.5937 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1791, allocations: 0.6887 MB / 0.5944 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.1792, allocations: 11.44 kB / 0.5944 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1792, allocations: 0 / 0.5944 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.002269/0.1815, allocations: 0.8504 MB / 0.5952 GB, free: 11.4 MB / 0.4981 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)