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.008021/0.008021, allocations: 100.5 kB / 15.73 MB, free: 6.055 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.001603/0.001604, allocations: 191.7 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7626/0.7626, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 62.17 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.162, allocations: 80.22 MB / 0.6596 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00268/0.1648, allocations: 1.413 MB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.1657, allocations: 446.9 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.1657, allocations: 0 / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.1658, allocations: 7.875 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.629e-05/0.1659, allocations: 15.86 kB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1661, allocations: 23.91 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.1662, allocations: 47.86 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.1663, allocations: 15.97 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.1664, allocations: 19.94 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.1665, allocations: 23.91 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1665, allocations: 4 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.1665, allocations: 4 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.1665, allocations: 4 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.1666, allocations: 31.78 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1667, allocations: 39.83 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1667, allocations: 0 / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1667, allocations: 3.938 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.1667, allocations: 4 kB / 0.6617 GB, free: 11.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006246/0.1674, allocations: 381.2 kB / 0.662 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1674, allocations: 12.03 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1675, allocations: 8.844 kB / 0.6621 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1676, allocations: 168.3 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1676, allocations: 4.375 kB / 0.6622 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.1676, allocations: 4.359 kB / 0.6622 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1678, allocations: 61.98 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1678, allocations: 3.938 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1678, allocations: 4 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1678, allocations: 0 / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.508e-05/0.1679, allocations: 15.98 kB / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1683, allocations: 268.8 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/0.1683, allocations: 50.56 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.1684, allocations: 16.98 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1684, allocations: 0 / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.1686, allocations: 105 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1686, allocations: 0 / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002621/0.1689, allocations: 143.5 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1689, allocations: 85.17 kB / 0.663 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.169, allocations: 117.8 kB / 0.6631 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.169, allocations: 29.7 kB / 0.6631 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.1691, allocations: 84.14 kB / 0.6632 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.1691, allocations: 19.75 kB / 0.6632 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1692, allocations: 25.7 kB / 0.6632 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.1693, allocations: 322.8 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.1693, allocations: 12 kB / 0.6635 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.1694, allocations: 38.56 kB / 0.6636 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.1695, allocations: 113.9 kB / 0.6637 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1695, allocations: 0 / 0.6637 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001536/0.1696, allocations: 135.3 kB / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.1697, allocations: 29.7 kB / 0.6638 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1697, allocations: 7.938 kB / 0.6638 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1697, allocations: 0 / 0.6638 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.1697, allocations: 8.062 kB / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1698, allocations: 3.938 kB / 0.6639 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.1698, allocations: 7.984 kB / 0.6639 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1698, allocations: 4 kB / 0.6639 GB, free: 8.898 MB / 0.4981 GB 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.0001077/0.1699, allocations: 160.3 kB / 0.664 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.17, allocations: 7.906 kB / 0.664 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.17, allocations: 4.375 kB / 0.664 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.17, allocations: 0 / 0.664 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.17, allocations: 4 kB / 0.664 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.17, allocations: 4 kB / 0.664 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.1704, allocations: 396.1 kB / 0.6644 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1704, allocations: 4 kB / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.1704, allocations: 0 / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1704, allocations: 0 / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1705, allocations: 7.984 kB / 0.6644 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1705, allocations: 4 kB / 0.6644 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1705, allocations: 0 / 0.6644 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1707, allocations: 245 kB / 0.6647 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.1708, allocations: 77.11 kB / 0.6647 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1708, allocations: 4 kB / 0.6647 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1709, allocations: 11.98 kB / 0.6648 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1709, allocations: 7.938 kB / 0.6648 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.171, allocations: 7.984 kB / 0.6648 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.171, allocations: 83.28 kB / 0.6649 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.171, allocations: 0 / 0.6649 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002303/0.1712, allocations: 24 kB / 0.6649 GB, free: 7.746 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: 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 9.771e-05/0.1714, allocations: 99.23 kB / 0.665 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.1715, allocations: 111.3 kB / 0.6651 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1715, allocations: 0 / 0.6651 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.1716, allocations: 91.33 kB / 0.6652 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1719, allocations: 17.7 kB / 0.6652 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.1723, allocations: 170.2 kB / 0.6653 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1725, allocations: 0.6846 MB / 0.666 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.1726, allocations: 3.781 kB / 0.666 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.1726, allocations: 11.44 kB / 0.666 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1726, allocations: 0 / 0.666 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of Templates: time 0.00305/0.1757, allocations: 0.8636 MB / 0.6669 GB, free: 5.629 MB / 0.4981 GB 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)