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.0009181/0.0009178, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008905/0.0008905, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8795/0.8795, allocations: 135.2 MB / 426.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1664, allocations: 82.31 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001475/0.1679, allocations: 1.124 MB / 0.5883 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005757/0.1685, allocations: 399.5 kB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.1686, allocations: 3.938 kB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.1686, allocations: 7.922 kB / 0.5887 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.546e-05/0.1687, allocations: 3.984 kB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1688, allocations: 19.97 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.1689, allocations: 31.91 kB / 0.5887 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.169, allocations: 4 kB / 0.5887 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.169, allocations: 31.84 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.1691, allocations: 15.92 kB / 0.5888 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1691, allocations: 4 kB / 0.5888 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.1692, allocations: 0 / 0.5888 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.1692, allocations: 0 / 0.5888 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.1692, allocations: 33.7 kB / 0.5888 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.22e-05/0.1693, allocations: 27.94 kB / 0.5888 GB, free: 1.395 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.1693, allocations: 0 / 0.5888 GB, free: 1.395 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1693, allocations: 0 / 0.5888 GB, free: 1.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1693, allocations: 0 / 0.5888 GB, free: 1.395 MB / 494.1 MB 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.0005771/0.1699, allocations: 397.2 kB / 0.5892 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1699, allocations: 11.97 kB / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.17, allocations: 11.89 kB / 0.5892 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1701, allocations: 167 kB / 0.5894 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1702, allocations: 4 kB / 0.5894 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1702, allocations: 4 kB / 0.5894 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1703, allocations: 57.61 kB / 0.5895 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.1703, allocations: 0 / 0.5895 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1703, allocations: 4 kB / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1703, allocations: 0 / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.1704, allocations: 12 kB / 0.5895 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.1708, allocations: 280.7 kB / 0.5897 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.1709, allocations: 42.58 kB / 0.5898 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1709, allocations: 0 / 0.5898 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1711, allocations: 101.3 kB / 0.5899 GB, free: 152 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.746e-06/0.1711, allocations: 0 / 0.5899 GB, free: 152 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003213/0.1714, allocations: 228.3 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1715, allocations: 77.11 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.1716, allocations: 109.8 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1716, allocations: 37.64 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.1717, allocations: 84.41 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1717, allocations: 15.81 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.1717, allocations: 4 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1718, allocations: 322.7 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.1719, allocations: 15.98 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/0.1719, allocations: 38.56 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.939e-05/0.172, allocations: 49.7 kB / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.172, allocations: 0 / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001375/0.1721, allocations: 123.2 kB / 0.5909 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.1722, allocations: 41.69 kB / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1722, allocations: 0 / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1722, allocations: 0 / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.121e-05/0.1722, allocations: 4 kB / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1723, allocations: 3.938 kB / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.1723, allocations: 16 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.1723, allocations: 4 kB / 0.591 GB, free: 14.89 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.1725, allocations: 155.5 kB / 0.5912 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.1725, allocations: 7.969 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.1725, allocations: 12.38 kB / 0.5912 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1725, allocations: 3.938 kB / 0.5912 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1725, allocations: 0 / 0.5912 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1725, allocations: 3.984 kB / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.1729, allocations: 404.2 kB / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1729, allocations: 0 / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.1729, allocations: 4 kB / 0.5916 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1729, allocations: 0 / 0.5916 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1729, allocations: 0 / 0.5916 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1729, allocations: 0 / 0.5916 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.173, allocations: 4 kB / 0.5916 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1731, allocations: 237 kB / 0.5918 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.1732, allocations: 81.11 kB / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1732, allocations: 4.078 kB / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.1733, allocations: 11.94 kB / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.1734, allocations: 11.98 kB / 0.5919 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1734, allocations: 4 kB / 0.5919 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.1734, allocations: 87.27 kB / 0.592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1734, allocations: 0 / 0.592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002143/0.1737, allocations: 19.95 kB / 0.592 GB, free: 13.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.3e-05/0.1738, allocations: 107.2 kB / 0.5921 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1739, allocations: 111.4 kB / 0.5922 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1739, allocations: 0 / 0.5922 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.174, allocations: 91.33 kB / 0.5923 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.1742, allocations: 8 kB / 0.5923 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.1745, allocations: 164.8 kB / 0.5925 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1748, allocations: 0.6887 MB / 0.5931 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.1748, allocations: 7.938 kB / 0.5932 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.1748, allocations: 11.44 kB / 0.5932 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1748, allocations: 0 / 0.5932 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.002709/0.1776, allocations: 0.747 MB / 0.5939 GB, free: 11.74 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: