Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001191/0.001191, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.728/0.728, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.55 kB / 0.5011 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1695, allocations: 80.21 MB / 0.5794 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002759/0.1724, allocations: 1.48 MB / 0.5809 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.1732, allocations: 435 kB / 0.5813 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.1733, allocations: 0 / 0.5813 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.758e-05/0.1733, allocations: 7.922 kB / 0.5813 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.567e-05/0.1734, allocations: 7.938 kB / 0.5813 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.1736, allocations: 27.91 kB / 0.5813 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.466e-05/0.1737, allocations: 43.86 kB / 0.5814 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.1738, allocations: 4 kB / 0.5814 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.1739, allocations: 19.92 kB / 0.5814 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.174, allocations: 19.92 kB / 0.5814 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.174, allocations: 0 / 0.5814 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.174, allocations: 7.938 kB / 0.5814 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.174, allocations: 7.984 kB / 0.5814 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.1741, allocations: 23.86 kB / 0.5814 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1742, allocations: 31.89 kB / 0.5815 GB, free: 7.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.1742, allocations: 8 kB / 0.5815 GB, free: 7.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1742, allocations: 0 / 0.5815 GB, free: 7.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1742, allocations: 0 / 0.5815 GB, free: 7.117 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006735/0.1749, allocations: 385.3 kB / 0.5818 GB, free: 6.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.175, allocations: 12.03 kB / 0.5819 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.175, allocations: 4.938 kB / 0.5819 GB, free: 6.672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1752, allocations: 180.2 kB / 0.582 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1752, allocations: 8.375 kB / 0.582 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1752, allocations: 4.359 kB / 0.582 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.1753, allocations: 61.92 kB / 0.5821 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1754, allocations: 0 / 0.5821 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1754, allocations: 3.984 kB / 0.5821 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1754, allocations: 7.938 kB / 0.5821 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.752e-05/0.1755, allocations: 12 kB / 0.5821 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.1759, allocations: 272.8 kB / 0.5824 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.417e-05/0.176, allocations: 42.56 kB / 0.5824 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.176, allocations: 20.97 kB / 0.5824 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1761, allocations: 0 / 0.5824 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1762, allocations: 101 kB / 0.5825 GB, free: 5.848 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1763, allocations: 0 / 0.5825 GB, free: 5.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002718/0.1765, allocations: 143.2 kB / 0.5827 GB, free: 5.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1766, allocations: 89.17 kB / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.1767, allocations: 109.8 kB / 0.5829 GB, free: 5.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1767, allocations: 25.7 kB / 0.5829 GB, free: 5.441 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.1768, allocations: 92.12 kB / 0.583 GB, free: 5.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1768, allocations: 15.72 kB / 0.583 GB, free: 5.332 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.1768, allocations: 25.72 kB / 0.583 GB, free: 5.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1769, allocations: 318.8 kB / 0.5833 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.177, allocations: 23.98 kB / 0.5833 GB, free: 4.957 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.177, allocations: 30.58 kB / 0.5834 GB, free: 4.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1771, allocations: 114.3 kB / 0.5835 GB, free: 4.785 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1772, allocations: 0 / 0.5835 GB, free: 4.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001513/0.1773, allocations: 127.3 kB / 0.5836 GB, free: 4.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.1773, allocations: 33.75 kB / 0.5836 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1774, allocations: 4 kB / 0.5836 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1774, allocations: 4.375 kB / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.444e-05/0.1774, allocations: 4 kB / 0.5837 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1774, allocations: 0 / 0.5837 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.1775, allocations: 11.84 kB / 0.5837 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1775, allocations: 15.88 kB / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001055/0.1776, allocations: 156.3 kB / 0.5838 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.1777, allocations: 4 kB / 0.5838 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.1777, allocations: 16.31 kB / 0.5838 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1777, allocations: 0 / 0.5838 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1777, allocations: 4.062 kB / 0.5839 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1777, allocations: 7.984 kB / 0.5839 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.1781, allocations: 396.1 kB / 0.5842 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1781, allocations: 0 / 0.5842 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-06/0.1781, allocations: 4 kB / 0.5842 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1781, allocations: 0 / 0.5842 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1781, allocations: 0 / 0.5842 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1781, allocations: 8 kB / 0.5842 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1781, allocations: 0 / 0.5842 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1784, allocations: 233.1 kB / 0.5845 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.1784, allocations: 81.02 kB / 0.5845 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1784, allocations: 11.98 kB / 0.5846 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1785, allocations: 4 kB / 0.5846 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.1786, allocations: 11.92 kB / 0.5846 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1786, allocations: 7.984 kB / 0.5846 GB, free: 3.527 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.835e-05/0.1787, allocations: 91.27 kB / 0.5847 GB, free: 3.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1787, allocations: 0 / 0.5847 GB, free: 3.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1789, allocations: 20 kB / 0.5847 GB, free: 3.418 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.651e-05/0.179, allocations: 95.25 kB / 0.5848 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1792, allocations: 115.3 kB / 0.5849 GB, free: 3.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1792, allocations: 0 / 0.5849 GB, free: 3.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.1793, allocations: 91.33 kB / 0.585 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1796, allocations: 20.06 kB / 0.585 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.1799, allocations: 163.2 kB / 0.5851 GB, free: 2.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1802, allocations: 0.6848 MB / 0.5858 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.897e-05/0.1802, allocations: 8 kB / 0.5858 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.1802, allocations: 11.44 kB / 0.5858 GB, free: 2.148 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1802, allocations: 0 / 0.5858 GB, free: 2.148 MB / 494.1 MB Notification: Performance of Templates: time 0.002769/0.183, allocations: 0.7711 MB / 0.5866 GB, free: 1.395 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)