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.00146/0.001461, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001565/0.001566, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9529/0.9529, allocations: 135.6 MB / 425.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001885, allocations: 60.75 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.173, allocations: 81.02 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002748/0.1758, allocations: 1.508 MB / 0.586 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007167/0.1766, allocations: 443 kB / 0.5864 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.1766, allocations: 0 / 0.5864 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.1767, allocations: 3.938 kB / 0.5864 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.732e-05/0.1768, allocations: 3.984 kB / 0.5864 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.1769, allocations: 19.92 kB / 0.5864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.774e-05/0.177, allocations: 51.84 kB / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1772, allocations: 12 kB / 0.5865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.1772, allocations: 27.84 kB / 0.5865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.1773, allocations: 23.92 kB / 0.5865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1773, allocations: 4 kB / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.1774, allocations: 4 kB / 0.5865 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.1774, allocations: 11.98 kB / 0.5865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.1775, allocations: 27.86 kB / 0.5866 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1776, allocations: 39.88 kB / 0.5866 GB, free: 2.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1776, allocations: 0 / 0.5866 GB, free: 2.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1776, allocations: 0 / 0.5866 GB, free: 2.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1776, allocations: 4 kB / 0.5866 GB, free: 2.125 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.000577/0.1782, allocations: 359.7 kB / 0.587 GB, free: 1.727 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1782, allocations: 8.031 kB / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.1783, allocations: 8.844 kB / 0.587 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1784, allocations: 172.3 kB / 0.5871 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1785, allocations: 4.359 kB / 0.5871 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1785, allocations: 4.375 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1786, allocations: 65.88 kB / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1786, allocations: 0 / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1787, allocations: 7.984 kB / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1787, allocations: 4 kB / 0.5872 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.73e-05/0.1787, allocations: 27.97 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.1793, allocations: 300.7 kB / 0.5875 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1794, allocations: 58.62 kB / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.1794, allocations: 28.88 kB / 0.5876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.1795, allocations: 0 / 0.5876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.1797, allocations: 75.36 kB / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1797, allocations: 0 / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002439/0.1799, allocations: 101.5 kB / 0.5878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.18, allocations: 55.41 kB / 0.5878 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.1801, allocations: 105.8 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1801, allocations: 33.7 kB / 0.588 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.1802, allocations: 88.05 kB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1802, allocations: 27.72 kB / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.1803, allocations: 25.72 kB / 0.5881 GB, free: 396 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1804, allocations: 322.8 kB / 0.5884 GB, free: 64 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.1804, allocations: 12 kB / 0.5884 GB, free: 52 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.1805, allocations: 43.42 kB / 0.5885 GB, free: 16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1806, allocations: 71.36 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1806, allocations: 0 / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001478/0.1808, allocations: 101.5 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1808, allocations: 8 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1808, allocations: 0 / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1809, allocations: 4 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.181, allocations: 8 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.181, allocations: 4.031 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.1811, allocations: 11.92 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1811, allocations: 4 kB / 0.5887 GB, free: 15.77 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.0001671/0.1812, allocations: 126.7 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.1813, allocations: 7.906 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.1813, allocations: 11.95 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1813, allocations: 0 / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1813, allocations: 0 / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1813, allocations: 3.984 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.1818, allocations: 362.8 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1818, allocations: 0 / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.1818, allocations: 4 kB / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1818, allocations: 0 / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.1819, allocations: 0 / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1819, allocations: 8 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1819, allocations: 0 / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.1821, allocations: 187.4 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1821, allocations: 85.05 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1821, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.1822, allocations: 11.92 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.1823, allocations: 11.98 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.1823, allocations: 4 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.1824, allocations: 83.28 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.014e-06/0.1824, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002222/0.1826, allocations: 19.94 kB / 0.5896 GB, free: 14.75 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 0.0001109/0.1827, allocations: 102.2 kB / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1829, allocations: 59.92 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1829, allocations: 0 / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.1829, allocations: 27.92 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1832, allocations: 11.98 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.1836, allocations: 177.6 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.184, allocations: 0.6885 MB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.184, allocations: 4 kB / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.184, allocations: 15.38 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.184, allocations: 0 / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.003003/0.187, allocations: 0.7286 MB / 0.5913 GB, free: 12.91 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)