Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005801/0.005801, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001223/0.001224, allocations: 194.1 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.763/0.763, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 69.08 kB / 0.5813 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1787, allocations: 80.2 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002606/0.1813, allocations: 1.473 MB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007236/0.1821, allocations: 450.8 kB / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.1821, allocations: 0 / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.1822, allocations: 3.938 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.125e-05/0.1823, allocations: 7.922 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.1825, allocations: 27.91 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.457e-05/0.1826, allocations: 51.86 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1827, allocations: 15.98 kB / 0.6616 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.1828, allocations: 23.92 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.641e-05/0.1828, allocations: 19.91 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1829, allocations: 4 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.1829, allocations: 4 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.1829, allocations: 15.92 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.1829, allocations: 19.94 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1831, allocations: 47.75 kB / 0.6618 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1831, allocations: 4 kB / 0.6618 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1831, allocations: 4 kB / 0.6618 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1831, allocations: 0 / 0.6618 GB, free: 11.31 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.000536/0.1836, allocations: 351.5 kB / 0.6621 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1837, allocations: 15.97 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.1837, allocations: 4.938 kB / 0.6621 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.1839, allocations: 176.2 kB / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1839, allocations: 4.375 kB / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1839, allocations: 12.36 kB / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.184, allocations: 58 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.184, allocations: 0 / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1841, allocations: 0 / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1841, allocations: 7.938 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.1841, allocations: 23.98 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.1846, allocations: 292.8 kB / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1847, allocations: 62.59 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.1848, allocations: 24.94 kB / 0.6628 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1848, allocations: 3.984 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.185, allocations: 75.23 kB / 0.6628 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.185, allocations: 0 / 0.6628 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002322/0.1852, allocations: 101.6 kB / 0.6629 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1853, allocations: 59.41 kB / 0.663 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.1853, allocations: 109.7 kB / 0.6631 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1854, allocations: 33.7 kB / 0.6631 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.1854, allocations: 80.14 kB / 0.6632 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1854, allocations: 31.62 kB / 0.6632 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.1855, allocations: 29.66 kB / 0.6633 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1856, allocations: 326.8 kB / 0.6636 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.1857, allocations: 12 kB / 0.6636 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.1857, allocations: 47.42 kB / 0.6636 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.976e-05/0.1858, allocations: 67.36 kB / 0.6637 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1858, allocations: 0 / 0.6637 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000127/0.1859, allocations: 89.62 kB / 0.6638 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.186, allocations: 7.984 kB / 0.6638 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.186, allocations: 0 / 0.6638 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.186, allocations: 8.031 kB / 0.6638 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.1861, allocations: 11.94 kB / 0.6638 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1861, allocations: 0 / 0.6638 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.1862, allocations: 15.89 kB / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1862, allocations: 4 kB / 0.6638 GB, free: 8.961 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.508e-05/0.1863, allocations: 118.4 kB / 0.6639 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.1863, allocations: 4 kB / 0.6639 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.1863, allocations: 8.031 kB / 0.6639 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1863, allocations: 8 kB / 0.664 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1863, allocations: 4 kB / 0.664 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1863, allocations: 0 / 0.664 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.1867, allocations: 370.5 kB / 0.6643 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1867, allocations: 0 / 0.6643 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.1868, allocations: 4 kB / 0.6643 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1868, allocations: 0 / 0.6643 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1868, allocations: 0 / 0.6643 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1868, allocations: 3.938 kB / 0.6643 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1868, allocations: 4.281 kB / 0.6643 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.187, allocations: 183.5 kB / 0.6645 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.187, allocations: 85 kB / 0.6646 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.187, allocations: 7.938 kB / 0.6646 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.1871, allocations: 11.92 kB / 0.6646 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.1872, allocations: 7.984 kB / 0.6646 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.1872, allocations: 4 kB / 0.6646 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.1872, allocations: 87.28 kB / 0.6647 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1872, allocations: 0 / 0.6647 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000224/0.1875, allocations: 16 kB / 0.6647 GB, free: 7.945 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.0001/0.1876, allocations: 93.88 kB / 0.6648 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1877, allocations: 63.84 kB / 0.6649 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1877, allocations: 0 / 0.6649 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.1878, allocations: 20 kB / 0.6649 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.188, allocations: 16.05 kB / 0.6649 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.1884, allocations: 145.8 kB / 0.665 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1886, allocations: 0.6854 MB / 0.6657 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.1887, allocations: 11.92 kB / 0.6657 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.1887, allocations: 15.44 kB / 0.6657 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1887, allocations: 0 / 0.6657 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.002916/0.1916, allocations: 0.769 MB / 0.6665 GB, free: 6.078 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)