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.001329/0.001329, allocations: 108.1 kB / 16.41 MB, free: 6.469 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.001307/0.001307, allocations: 187 kB / 17.34 MB, free: 5.715 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.404/1.404, 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.822/0.822, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 66.8 kB / 0.5863 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1628, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002727/0.1656, allocations: 1.417 MB / 0.6667 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.1664, allocations: 442.9 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.1664, allocations: 0 / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.1664, allocations: 3.938 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.623e-05/0.1665, allocations: 15.88 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.1667, allocations: 23.91 kB / 0.6672 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1668, allocations: 51.84 kB / 0.6672 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1669, allocations: 0 / 0.6672 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/0.167, allocations: 23.92 kB / 0.6672 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.265e-05/0.1671, allocations: 27.86 kB / 0.6673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1671, allocations: 4 kB / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.1671, allocations: 4 kB / 0.6673 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.1671, allocations: 11.97 kB / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.1672, allocations: 19.88 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1673, allocations: 39.83 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1673, allocations: 0 / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1673, allocations: 3.938 kB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.1673, allocations: 0 / 0.6673 GB, free: 3.707 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.0007002/0.168, allocations: 393 kB / 0.6677 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1681, allocations: 17.05 kB / 0.6677 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1681, allocations: 8.922 kB / 0.6677 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1683, allocations: 172.3 kB / 0.6679 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1683, allocations: 8.375 kB / 0.6679 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1683, allocations: 384 / 0.6679 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1684, allocations: 57.92 kB / 0.668 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1685, allocations: 0 / 0.668 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1685, allocations: 12 kB / 0.668 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1685, allocations: 4 kB / 0.668 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.1685, allocations: 12 kB / 0.668 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.169, allocations: 268.8 kB / 0.6683 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/0.1691, allocations: 38.52 kB / 0.6683 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.1691, allocations: 20.97 kB / 0.6683 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.1692, allocations: 3.984 kB / 0.6683 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.1694, allocations: 101.1 kB / 0.6684 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1694, allocations: 0 / 0.6684 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003361/0.1698, allocations: 147.3 kB / 0.6686 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.1699, allocations: 81.11 kB / 0.6686 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.17, allocations: 109.8 kB / 0.6687 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.17, allocations: 33.69 kB / 0.6688 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.17, allocations: 84.14 kB / 0.6689 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1701, allocations: 23.8 kB / 0.6689 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.1701, allocations: 29.7 kB / 0.6689 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1703, allocations: 318.8 kB / 0.6692 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.1703, allocations: 19.98 kB / 0.6692 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.1704, allocations: 34.52 kB / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1705, allocations: 114 kB / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1705, allocations: 0 / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000187/0.1707, allocations: 127.3 kB / 0.6695 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.1707, allocations: 38.06 kB / 0.6695 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1707, allocations: 3.938 kB / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1707, allocations: 0 / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.1708, allocations: 7.938 kB / 0.6695 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1708, allocations: 3.938 kB / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.1709, allocations: 11.98 kB / 0.6696 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1709, allocations: 8.062 kB / 0.6696 GB, free: 1.152 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.000128/0.171, allocations: 147.5 kB / 0.6697 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.171, allocations: 7.953 kB / 0.6697 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1711, allocations: 8.375 kB / 0.6697 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.1711, allocations: 4 kB / 0.6697 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1711, allocations: 3.984 kB / 0.6697 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1711, allocations: 0 / 0.6697 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.1716, allocations: 396.2 kB / 0.6701 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1716, allocations: 4 kB / 0.6701 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-06/0.1716, allocations: 0 / 0.6701 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1716, allocations: 0 / 0.6701 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1716, allocations: 4 kB / 0.6701 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1716, allocations: 0 / 0.6701 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1716, allocations: 0 / 0.6701 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1718, allocations: 241 kB / 0.6703 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.1719, allocations: 85.09 kB / 0.6704 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1719, allocations: 8.062 kB / 0.6704 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.748e-05/0.172, allocations: 4 kB / 0.6704 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.1721, allocations: 11.92 kB / 0.6704 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1721, allocations: 8 kB / 0.6704 GB, free: 124 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.698e-05/0.1721, allocations: 95.8 kB / 0.6705 GB, free: 28 kB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.1721, allocations: 0 / 0.6705 GB, free: 28 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000226/0.1724, allocations: 12 kB / 0.6706 GB, free: 16 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.0001469/0.1725, allocations: 105.1 kB / 0.6707 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1727, allocations: 115.3 kB / 0.6708 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1727, allocations: 0 / 0.6708 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.246e-05/0.1728, allocations: 79.39 kB / 0.6708 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1731, allocations: 11.94 kB / 0.6708 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.1735, allocations: 187 kB / 0.671 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.1739, allocations: 0.6925 MB / 0.6717 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.1739, allocations: 11.44 kB / 0.6717 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1739, allocations: 0 / 0.6717 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.002779/0.1767, allocations: 0.8947 MB / 0.6726 GB, free: 13.84 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)