Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001262/0.001262, allocations: 108.9 kB / 16.41 MB, free: 6.516 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.001276/0.001276, allocations: 187 kB / 17.34 MB, free: 5.738 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.224/1.224, 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-master/package.mo): time 0.7468/0.7468, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 61.56 kB / 0.5862 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1584, allocations: 80.92 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002613/0.161, allocations: 1.417 MB / 0.6666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007506/0.1618, allocations: 450.8 kB / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.1619, allocations: 0 / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.1619, allocations: 7.922 kB / 0.6671 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.162, allocations: 15.86 kB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.1622, allocations: 15.98 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1623, allocations: 51.84 kB / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.1624, allocations: 15.98 kB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.1624, allocations: 23.86 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.1625, allocations: 15.92 kB / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1625, allocations: 4 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.1625, allocations: 4 kB / 0.6672 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.1626, allocations: 15.92 kB / 0.6672 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.1626, allocations: 15.92 kB / 0.6672 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.1627, allocations: 43.77 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1627, allocations: 3.938 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1627, allocations: 0 / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.1628, allocations: 4 kB / 0.6673 GB, free: 3.742 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.0005655/0.1633, allocations: 385.2 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1634, allocations: 9.109 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.1634, allocations: 8.844 kB / 0.6677 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1635, allocations: 180.3 kB / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1636, allocations: 384 / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1636, allocations: 4.375 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1637, allocations: 58 kB / 0.6679 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1637, allocations: 0 / 0.6679 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1637, allocations: 0 / 0.6679 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1638, allocations: 0 / 0.6679 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.1638, allocations: 23.92 kB / 0.6679 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.1642, allocations: 268.8 kB / 0.6682 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.1643, allocations: 42.56 kB / 0.6682 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.1643, allocations: 24.98 kB / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1643, allocations: 0 / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.1645, allocations: 101 kB / 0.6684 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1645, allocations: 0 / 0.6684 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002697/0.1648, allocations: 151.3 kB / 0.6685 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1649, allocations: 77.11 kB / 0.6686 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.1649, allocations: 113.8 kB / 0.6687 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.165, allocations: 33.7 kB / 0.6687 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.165, allocations: 80.14 kB / 0.6688 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.165, allocations: 23.73 kB / 0.6688 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.1651, allocations: 21.72 kB / 0.6688 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1652, allocations: 326.8 kB / 0.6691 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.359e-05/0.1652, allocations: 12 kB / 0.6692 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.1653, allocations: 38.56 kB / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1654, allocations: 117.9 kB / 0.6693 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1654, allocations: 0 / 0.6693 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001493/0.1656, allocations: 127.6 kB / 0.6694 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.1656, allocations: 39.83 kB / 0.6695 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1656, allocations: 0 / 0.6695 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1656, allocations: 4 kB / 0.6695 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.06e-05/0.1657, allocations: 4.047 kB / 0.6695 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1657, allocations: 11.98 kB / 0.6695 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.1658, allocations: 4.062 kB / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1658, allocations: 8 kB / 0.6695 GB, free: 1.203 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.0001065/0.1659, allocations: 155.4 kB / 0.6696 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.1659, allocations: 7.906 kB / 0.6696 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.1659, allocations: 8.375 kB / 0.6697 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1659, allocations: 0 / 0.6697 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.166, allocations: 0 / 0.6697 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.166, allocations: 4 kB / 0.6697 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.1663, allocations: 396.2 kB / 0.67 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1664, allocations: 3.984 kB / 0.67 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-06/0.1664, allocations: 384 / 0.67 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1664, allocations: 4 kB / 0.67 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1664, allocations: 4 kB / 0.6701 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1664, allocations: 0 / 0.6701 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1664, allocations: 3.938 kB / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1666, allocations: 245 kB / 0.6703 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1667, allocations: 81.11 kB / 0.6704 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1667, allocations: 0 / 0.6704 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1668, allocations: 15.98 kB / 0.6704 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.1669, allocations: 7.922 kB / 0.6704 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1669, allocations: 4 kB / 0.6704 GB, free: 168 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.1669, allocations: 87.28 kB / 0.6705 GB, free: 80 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1669, allocations: 0 / 0.6705 GB, free: 80 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.1672, allocations: 23.98 kB / 0.6705 GB, free: 56 kB / 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 0.0001093/0.1673, allocations: 96.58 kB / 0.6706 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1675, allocations: 115.3 kB / 0.6707 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1675, allocations: 0 / 0.6707 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.1676, allocations: 91.33 kB / 0.6708 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1679, allocations: 19.92 kB / 0.6708 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.1682, allocations: 187.1 kB / 0.671 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1685, allocations: 0.6846 MB / 0.6717 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.1685, allocations: 11.44 kB / 0.6717 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1685, allocations: 0 / 0.6717 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.002521/0.1711, allocations: 0.913 MB / 0.6726 GB, free: 13.86 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)