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.001078/0.001078, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001147/0.001148, allocations: 185.4 kB / 17.35 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7891/0.7891, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.11 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1686, allocations: 80.93 MB / 0.6653 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003355/0.172, allocations: 1.418 MB / 0.6667 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.173, allocations: 442.9 kB / 0.6671 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.1731, allocations: 4 kB / 0.6671 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.1732, allocations: 7.875 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1733, allocations: 15.86 kB / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1736, allocations: 15.98 kB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1738, allocations: 51.84 kB / 0.6672 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.174, allocations: 8 kB / 0.6672 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1742, allocations: 23.86 kB / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.1743, allocations: 19.92 kB / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.1743, allocations: 4 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.1743, allocations: 4 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.1743, allocations: 19.91 kB / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.1744, allocations: 19.94 kB / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1746, allocations: 39.83 kB / 0.6673 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1746, allocations: 3.938 kB / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1746, allocations: 0 / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1746, allocations: 0 / 0.6673 GB, free: 3.77 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.0007171/0.1753, allocations: 381.2 kB / 0.6677 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1754, allocations: 17.11 kB / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.1754, allocations: 8.828 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1757, allocations: 180.2 kB / 0.6679 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1757, allocations: 384 / 0.6679 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1757, allocations: 4.375 kB / 0.6679 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1759, allocations: 57.98 kB / 0.6679 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1759, allocations: 0 / 0.6679 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1759, allocations: 0 / 0.6679 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.176, allocations: 4 kB / 0.6679 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.895e-05/0.176, allocations: 12 kB / 0.6679 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.1766, allocations: 284.7 kB / 0.6682 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/0.1767, allocations: 38.58 kB / 0.6682 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.1768, allocations: 20.97 kB / 0.6683 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1768, allocations: 0 / 0.6683 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.177, allocations: 97.09 kB / 0.6684 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.177, allocations: 8 kB / 0.6684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003208/0.1774, allocations: 143.4 kB / 0.6685 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.1774, allocations: 77.11 kB / 0.6686 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.1775, allocations: 117.8 kB / 0.6687 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1776, allocations: 25.7 kB / 0.6687 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.1776, allocations: 92.12 kB / 0.6688 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1777, allocations: 15.75 kB / 0.6688 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.1777, allocations: 33.64 kB / 0.6688 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1779, allocations: 318.8 kB / 0.6692 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.1779, allocations: 15.98 kB / 0.6692 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.178, allocations: 34.58 kB / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1781, allocations: 117.8 kB / 0.6693 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1781, allocations: 0 / 0.6693 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001881/0.1783, allocations: 131.2 kB / 0.6694 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.1784, allocations: 39.34 kB / 0.6695 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1784, allocations: 0 / 0.6695 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1784, allocations: 4.375 kB / 0.6695 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.1785, allocations: 0 / 0.6695 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1785, allocations: 4.391 kB / 0.6695 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.1786, allocations: 11.98 kB / 0.6695 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1786, allocations: 12 kB / 0.6695 GB, free: 1.223 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.0001741/0.1788, allocations: 151.5 kB / 0.6697 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.1788, allocations: 7.906 kB / 0.6697 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.1788, allocations: 8.375 kB / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1788, allocations: 3.984 kB / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1788, allocations: 0 / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.1789, allocations: 85.05 kB / 0.6698 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1789, allocations: 0 / 0.6698 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.179, allocations: 7.984 kB / 0.6698 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.1791, allocations: 11.94 kB / 0.6698 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003187/0.1794, allocations: 266 kB / 0.67 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003654/0.1798, allocations: 312.3 kB / 0.6703 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.6e-05/0.1799, allocations: 36.12 kB / 0.6704 GB, free: 276 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.361e-05/0.1799, allocations: 87.27 kB / 0.6704 GB, free: 188 kB / 0.4981 GB Notification: Performance of Backend: time 6.81e-07/0.1799, allocations: 0 / 0.6704 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.1804, allocations: 173.8 kB / 0.6706 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006569/0.1811, allocations: 0.6384 MB / 0.6712 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.003574/0.1846, allocations: 0.9392 MB / 0.6721 GB, free: 14.36 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)