Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001162/0.001162, allocations: 104.4 kB / 16.52 MB, free: 6.652 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.001106/0.001106, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7095/0.7095, allocations: 115.3 MB / 406.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.91 kB / 493.5 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3638, allocations: 76.17 MB / 0.5564 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002525/0.3664, allocations: 1.473 MB / 0.5578 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006726/0.3671, allocations: 432.7 kB / 0.5582 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.3671, allocations: 5.906 kB / 0.5582 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.3671, allocations: 1.688 kB / 0.5582 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.191e-05/0.3672, allocations: 6.391 kB / 0.5582 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.3674, allocations: 18.36 kB / 0.5582 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.3675, allocations: 54.02 kB / 0.5583 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.3676, allocations: 8.969 kB / 0.5583 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.3676, allocations: 19 kB / 0.5583 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.3677, allocations: 21.8 kB / 0.5583 GB, free: 35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3677, allocations: 4.219 kB / 0.5583 GB, free: 35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.3678, allocations: 2.906 kB / 0.5584 GB, free: 35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.3678, allocations: 4.531 kB / 0.5584 GB, free: 35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.3678, allocations: 19.8 kB / 0.5584 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.3679, allocations: 28.08 kB / 0.5584 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3679, allocations: 2.438 kB / 0.5584 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3679, allocations: 0 / 0.5584 GB, free: 34.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.368, allocations: 1 kB / 0.5584 GB, free: 34.98 MB / 446.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.0005599/0.3685, allocations: 396.6 kB / 0.5588 GB, free: 34.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3686, allocations: 13.34 kB / 0.5588 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.3686, allocations: 15.44 kB / 0.5588 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.3687, allocations: 166 kB / 0.559 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3687, allocations: 2.594 kB / 0.559 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3687, allocations: 4.859 kB / 0.559 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3689, allocations: 54.58 kB / 0.559 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3689, allocations: 0.9375 kB / 0.559 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3689, allocations: 3.203 kB / 0.559 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3689, allocations: 1.156 kB / 0.559 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.699e-05/0.369, allocations: 16.66 kB / 0.559 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.3693, allocations: 281.4 kB / 0.5593 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.3694, allocations: 42.45 kB / 0.5594 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.3695, allocations: 18.08 kB / 0.5594 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3695, allocations: 4.391 kB / 0.5594 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.3697, allocations: 108.9 kB / 0.5595 GB, free: 33.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.3697, allocations: 0 / 0.5595 GB, free: 33.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002694/0.37, allocations: 138.8 kB / 0.5596 GB, free: 33.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.37, allocations: 83.45 kB / 0.5597 GB, free: 33.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.3701, allocations: 115.1 kB / 0.5598 GB, free: 33.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.3701, allocations: 29.45 kB / 0.5598 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.3701, allocations: 86.58 kB / 0.5599 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.3702, allocations: 17.05 kB / 0.5599 GB, free: 33.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3702, allocations: 28.59 kB / 0.56 GB, free: 33.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.3703, allocations: 327.3 kB / 0.5603 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.3703, allocations: 16.06 kB / 0.5603 GB, free: 33.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.3703, allocations: 39.31 kB / 0.5603 GB, free: 33.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.096e-05/0.3704, allocations: 112.6 kB / 0.5604 GB, free: 32.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3704, allocations: 0 / 0.5604 GB, free: 32.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001373/0.3706, allocations: 123.9 kB / 0.5605 GB, free: 32.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3706, allocations: 32.14 kB / 0.5606 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3706, allocations: 1.375 kB / 0.5606 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3706, allocations: 1.938 kB / 0.5606 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.226e-05/0.3707, allocations: 5.594 kB / 0.5606 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3707, allocations: 1.25 kB / 0.5606 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.3708, allocations: 11.42 kB / 0.5606 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.3708, allocations: 3.969 kB / 0.5606 GB, free: 32.86 MB / 446.1 MB 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 7.841e-05/0.3709, allocations: 155.7 kB / 0.5608 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.3709, allocations: 8.281 kB / 0.5608 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.3709, allocations: 10.56 kB / 0.5608 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.3709, allocations: 0.75 kB / 0.5608 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3709, allocations: 1.094 kB / 0.5608 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.371, allocations: 2.875 kB / 0.5608 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.3713, allocations: 403.8 kB / 0.5612 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3713, allocations: 3.078 kB / 0.5612 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-06/0.3713, allocations: 0.6094 kB / 0.5612 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3713, allocations: 2.031 kB / 0.5612 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3713, allocations: 7.625 kB / 0.5612 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3713, allocations: 0 / 0.5612 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3713, allocations: 1.391 kB / 0.5612 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.3715, allocations: 242.7 kB / 0.5614 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.3716, allocations: 79.95 kB / 0.5615 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3716, allocations: 3.141 kB / 0.5615 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3717, allocations: 9 kB / 0.5615 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.3718, allocations: 10.08 kB / 0.5615 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.3718, allocations: 8.406 kB / 0.5615 GB, free: 32.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.147e-05/0.3718, allocations: 88.55 kB / 0.5616 GB, free: 31.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3718, allocations: 4.719 kB / 0.5616 GB, free: 31.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000228/0.3721, allocations: 18.84 kB / 0.5616 GB, free: 31.93 MB / 446.1 MB 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.511e-05/0.3722, allocations: 99.31 kB / 0.5617 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.3723, allocations: 118.9 kB / 0.5618 GB, free: 31.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3723, allocations: 0 / 0.5618 GB, free: 31.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.3724, allocations: 86.59 kB / 0.5619 GB, free: 31.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.3727, allocations: 19.2 kB / 0.5619 GB, free: 31.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.373, allocations: 196.5 kB / 0.5621 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3732, allocations: 0.6862 MB / 0.5628 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.3732, allocations: 12 kB / 0.5628 GB, free: 30.8 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3732, allocations: 1.938 kB / 0.5628 GB, free: 30.8 MB / 446.1 MB Notification: Performance of Templates: time 0.002519/0.3757, allocations: 0.8856 MB / 0.5637 GB, free: 30.76 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)