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.001308/0.001308, allocations: 113.4 kB / 16.42 MB, free: 6.492 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.001426/0.001426, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8186/0.8186, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 66.27 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1604, allocations: 80.22 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002908/0.1634, allocations: 1.407 MB / 0.6617 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.1642, allocations: 450.8 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.1643, allocations: 0 / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.1644, allocations: 3.938 kB / 0.6621 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.1645, allocations: 15.92 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1647, allocations: 15.92 kB / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1648, allocations: 55.84 kB / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.1649, allocations: 8 kB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.297e-05/0.165, allocations: 23.92 kB / 0.6622 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.1651, allocations: 15.92 kB / 0.6622 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1651, allocations: 4 kB / 0.6622 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.1651, allocations: 4 kB / 0.6623 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.1652, allocations: 15.92 kB / 0.6623 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.1652, allocations: 15.88 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.1653, allocations: 47.75 kB / 0.6623 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1654, allocations: 3.938 kB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1654, allocations: 0 / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1654, allocations: 4 kB / 0.6623 GB, free: 8.215 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.0006426/0.166, allocations: 389.1 kB / 0.6627 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1661, allocations: 8.031 kB / 0.6627 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.1661, allocations: 8.844 kB / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1663, allocations: 172.3 kB / 0.6629 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1663, allocations: 384 / 0.6629 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1663, allocations: 4.375 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1664, allocations: 61.98 kB / 0.663 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1665, allocations: 0 / 0.663 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1665, allocations: 3.938 kB / 0.663 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1665, allocations: 0 / 0.663 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.1665, allocations: 19.98 kB / 0.663 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.167, allocations: 276.7 kB / 0.6632 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.1671, allocations: 34.58 kB / 0.6633 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.1671, allocations: 28.97 kB / 0.6633 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1672, allocations: 0 / 0.6633 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.1674, allocations: 97.03 kB / 0.6634 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.1674, allocations: 0 / 0.6634 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002771/0.1677, allocations: 147.2 kB / 0.6635 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.1677, allocations: 81.09 kB / 0.6636 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.1678, allocations: 109.8 kB / 0.6637 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1678, allocations: 29.7 kB / 0.6637 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.1679, allocations: 88.2 kB / 0.6638 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1679, allocations: 19.75 kB / 0.6638 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.168, allocations: 25.7 kB / 0.6639 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1681, allocations: 318.8 kB / 0.6642 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.1681, allocations: 15.98 kB / 0.6642 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.447e-05/0.1682, allocations: 41.8 kB / 0.6642 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1683, allocations: 122.2 kB / 0.6643 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1683, allocations: 3.938 kB / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001721/0.1685, allocations: 127.3 kB / 0.6645 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.1685, allocations: 37.64 kB / 0.6645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1686, allocations: 0 / 0.6645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1686, allocations: 0 / 0.6645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.1686, allocations: 4 kB / 0.6645 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1686, allocations: 8.062 kB / 0.6645 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.1687, allocations: 7.984 kB / 0.6645 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1687, allocations: 7.938 kB / 0.6645 GB, free: 5.676 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.0001246/0.1689, allocations: 151.4 kB / 0.6647 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.1689, allocations: 7.906 kB / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.1689, allocations: 12.36 kB / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1689, allocations: 0 / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1689, allocations: 3.984 kB / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.169, allocations: 77.11 kB / 0.6648 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.169, allocations: 12 kB / 0.6648 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.1691, allocations: 8.047 kB / 0.6648 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.1691, allocations: 15.92 kB / 0.6648 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002733/0.1694, allocations: 270 kB / 0.6651 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002613/0.1697, allocations: 308.3 kB / 0.6654 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.971e-05/0.1698, allocations: 35.98 kB / 0.6654 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.1698, allocations: 83.28 kB / 0.6655 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of Backend: time 4.61e-07/0.1698, allocations: 0 / 0.6655 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003908/0.1702, allocations: 169.8 kB / 0.6656 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006159/0.1708, allocations: 0.6501 MB / 0.6663 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.003351/0.1742, allocations: 0.9408 MB / 0.6672 GB, free: 2.797 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)