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.006819/0.006819, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001526/0.001526, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 0.5856 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.554, allocations: 80.91 MB / 0.6646 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002845/0.5569, allocations: 1.422 MB / 0.666 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.5576, allocations: 438.5 kB / 0.6664 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.5577, allocations: 5.188 kB / 0.6664 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.5577, allocations: 0 / 0.6664 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.376e-05/0.5578, allocations: 13.11 kB / 0.6664 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.558, allocations: 28.22 kB / 0.6665 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.5581, allocations: 40.27 kB / 0.6665 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.5582, allocations: 11.77 kB / 0.6665 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.5583, allocations: 19.81 kB / 0.6665 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.5584, allocations: 22.59 kB / 0.6665 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.5584, allocations: 2.875 kB / 0.6666 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.5584, allocations: 8.344 kB / 0.6666 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.5584, allocations: 13.27 kB / 0.6666 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.5585, allocations: 18.7 kB / 0.6666 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.5586, allocations: 47.36 kB / 0.6666 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5586, allocations: 0 / 0.6666 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5586, allocations: 0 / 0.6666 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.5587, allocations: 1.406 kB / 0.6666 GB, free: 5.953 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.0006154/0.5593, allocations: 398 kB / 0.667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5593, allocations: 13.31 kB / 0.667 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.5594, allocations: 8.812 kB / 0.667 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.681e-05/0.5595, allocations: 169 kB / 0.6672 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.5595, allocations: 2.625 kB / 0.6672 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.5595, allocations: 11.08 kB / 0.6672 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.5597, allocations: 57.7 kB / 0.6673 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5597, allocations: 0 / 0.6673 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.5597, allocations: 0 / 0.6673 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5597, allocations: 1.25 kB / 0.6673 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.551e-05/0.5598, allocations: 25.8 kB / 0.6673 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.5601, allocations: 276.7 kB / 0.6676 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.028e-05/0.5602, allocations: 41.56 kB / 0.6676 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.5603, allocations: 17.23 kB / 0.6676 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.5603, allocations: 1.406 kB / 0.6676 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.5605, allocations: 110.5 kB / 0.6677 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.5605, allocations: 0 / 0.6677 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002827/0.5608, allocations: 140.4 kB / 0.6679 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.5608, allocations: 79.73 kB / 0.6679 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.5609, allocations: 116.1 kB / 0.668 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.5609, allocations: 27.17 kB / 0.6681 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.561, allocations: 85.48 kB / 0.6681 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.561, allocations: 10.47 kB / 0.6682 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.561, allocations: 35.08 kB / 0.6682 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.5611, allocations: 320.2 kB / 0.6685 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.5611, allocations: 17.78 kB / 0.6685 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.5612, allocations: 37.72 kB / 0.6685 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.525e-05/0.5613, allocations: 112.1 kB / 0.6687 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5613, allocations: 4 kB / 0.6687 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001409/0.5614, allocations: 130.3 kB / 0.6688 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.5615, allocations: 31.98 kB / 0.6688 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5615, allocations: 1.25 kB / 0.6688 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5615, allocations: 1.375 kB / 0.6688 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.5615, allocations: 3.438 kB / 0.6688 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5616, allocations: 8.984 kB / 0.6688 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.5616, allocations: 13.14 kB / 0.6688 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5616, allocations: 3.031 kB / 0.6688 GB, free: 3.715 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 8.5e-05/0.5617, allocations: 159.6 kB / 0.669 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.5617, allocations: 9 kB / 0.669 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.5618, allocations: 8.375 kB / 0.669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.5618, allocations: 1.281 kB / 0.669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5618, allocations: 1.25 kB / 0.669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5618, allocations: 0 / 0.669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.5621, allocations: 398.8 kB / 0.6694 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5621, allocations: 1.344 kB / 0.6694 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/0.5621, allocations: 4 kB / 0.6694 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5622, allocations: 1.5 kB / 0.6694 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.5622, allocations: 5.234 kB / 0.6694 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5622, allocations: 1.625 kB / 0.6694 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5622, allocations: 4.062 kB / 0.6694 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.5624, allocations: 237.1 kB / 0.6696 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.5624, allocations: 78.52 kB / 0.6697 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.5624, allocations: 5.375 kB / 0.6697 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.5625, allocations: 13.7 kB / 0.6697 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.5626, allocations: 8 kB / 0.6697 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.5626, allocations: 10.48 kB / 0.6697 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.234e-05/0.5626, allocations: 81.78 kB / 0.6698 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5626, allocations: 3.938 kB / 0.6698 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002274/0.5629, allocations: 17.91 kB / 0.6698 GB, free: 2.734 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.425e-05/0.563, allocations: 105.5 kB / 0.6699 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.5632, allocations: 119.4 kB / 0.6701 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5632, allocations: 0 / 0.6701 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.5633, allocations: 89.3 kB / 0.6701 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.5635, allocations: 22.8 kB / 0.6702 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.5639, allocations: 150.6 kB / 0.6703 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.564, allocations: 0.6853 MB / 0.671 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.5641, allocations: 11.69 kB / 0.671 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.5641, allocations: 10.94 kB / 0.671 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of SimCode: time 1.8e-07/0.5641, allocations: 0 / 0.671 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of Templates: time 0.003313/0.5674, allocations: 0.8648 MB / 0.6718 GB, free: 1.172 MB / 0.4981 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)