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.001476/0.001476, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001738/0.001738, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7204/0.7204, allocations: 115.1 MB / 406.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3391, allocations: 76.15 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00229/0.3414, allocations: 1.407 MB / 0.5589 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006053/0.3421, allocations: 430.9 kB / 0.5593 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.3421, allocations: 0 / 0.5593 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.3421, allocations: 7.125 kB / 0.5593 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.3422, allocations: 13.39 kB / 0.5594 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.3424, allocations: 20.89 kB / 0.5594 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3425, allocations: 56.8 kB / 0.5594 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.3426, allocations: 5.406 kB / 0.5594 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.3426, allocations: 19.66 kB / 0.5595 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.3427, allocations: 27.58 kB / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3427, allocations: 4.375 kB / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.3427, allocations: 3.781 kB / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.3428, allocations: 6.781 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3428, allocations: 24.91 kB / 0.5595 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.3429, allocations: 39.33 kB / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3429, allocations: 1.438 kB / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3429, allocations: 0 / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3429, allocations: 0 / 0.5596 GB, free: 35.31 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.0005043/0.3434, allocations: 397.5 kB / 0.5599 GB, free: 34.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3435, allocations: 10.16 kB / 0.5599 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.3435, allocations: 11.5 kB / 0.56 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.718e-05/0.3436, allocations: 169.2 kB / 0.5601 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3436, allocations: 3.469 kB / 0.5601 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3437, allocations: 5.016 kB / 0.5601 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.3438, allocations: 54.78 kB / 0.5602 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3438, allocations: 0 / 0.5602 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3438, allocations: 2.094 kB / 0.5602 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3438, allocations: 0.5625 kB / 0.5602 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.605e-05/0.3439, allocations: 18.56 kB / 0.5602 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.3442, allocations: 281.5 kB / 0.5605 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.3443, allocations: 47.08 kB / 0.5605 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.3444, allocations: 23.67 kB / 0.5605 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3444, allocations: 2.109 kB / 0.5605 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.3446, allocations: 104.2 kB / 0.5606 GB, free: 34.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3446, allocations: 4.906 kB / 0.5606 GB, free: 34.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002891/0.3449, allocations: 140.1 kB / 0.5608 GB, free: 34.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3449, allocations: 81.62 kB / 0.5609 GB, free: 34.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.345, allocations: 111.1 kB / 0.561 GB, free: 33.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.345, allocations: 29.78 kB / 0.561 GB, free: 33.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.345, allocations: 87.14 kB / 0.5611 GB, free: 33.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.3451, allocations: 15.8 kB / 0.5611 GB, free: 33.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.3451, allocations: 29.98 kB / 0.5611 GB, free: 33.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.3452, allocations: 323.4 kB / 0.5614 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.3452, allocations: 14 kB / 0.5614 GB, free: 33.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.505e-05/0.3453, allocations: 34.59 kB / 0.5615 GB, free: 33.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.3454, allocations: 121 kB / 0.5616 GB, free: 33.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3454, allocations: 0 / 0.5616 GB, free: 33.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001401/0.3455, allocations: 123.2 kB / 0.5617 GB, free: 33.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3456, allocations: 34.58 kB / 0.5617 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3456, allocations: 2.484 kB / 0.5617 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3456, allocations: 3.266 kB / 0.5617 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.3456, allocations: 4.016 kB / 0.5617 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3456, allocations: 1.062 kB / 0.5617 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.3457, allocations: 12.05 kB / 0.5618 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3457, allocations: 3.375 kB / 0.5618 GB, free: 33.2 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.739e-05/0.3458, allocations: 153 kB / 0.5619 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.3458, allocations: 12.55 kB / 0.5619 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.3459, allocations: 10.72 kB / 0.5619 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3459, allocations: 0 / 0.5619 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3459, allocations: 5.688 kB / 0.5619 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3459, allocations: 0.5625 kB / 0.5619 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.3462, allocations: 404.1 kB / 0.5623 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3462, allocations: 3.938 kB / 0.5623 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-06/0.3463, allocations: 1.781 kB / 0.5623 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3463, allocations: 2.219 kB / 0.5623 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3463, allocations: 9.672 kB / 0.5623 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3463, allocations: 3.312 kB / 0.5623 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3463, allocations: 480 / 0.5623 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.3465, allocations: 234.4 kB / 0.5626 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.3466, allocations: 83.17 kB / 0.5626 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3466, allocations: 4.422 kB / 0.5626 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3467, allocations: 7.344 kB / 0.5627 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.3468, allocations: 12.12 kB / 0.5627 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.3468, allocations: 8.234 kB / 0.5627 GB, free: 32.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.529e-05/0.3468, allocations: 87.97 kB / 0.5628 GB, free: 32.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3468, allocations: 1.469 kB / 0.5628 GB, free: 32.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.3471, allocations: 18.91 kB / 0.5628 GB, free: 32.27 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.309e-05/0.3472, allocations: 97.31 kB / 0.5629 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.3473, allocations: 118.9 kB / 0.563 GB, free: 32.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3474, allocations: 0.7188 kB / 0.563 GB, free: 32.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.3474, allocations: 84.28 kB / 0.5631 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3477, allocations: 17.05 kB / 0.5631 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.3481, allocations: 159 kB / 0.5632 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.3482, allocations: 0.6839 MB / 0.5639 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.843e-05/0.3483, allocations: 6.844 kB / 0.5639 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.3483, allocations: 11.39 kB / 0.5639 GB, free: 31.18 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3483, allocations: 0 / 0.5639 GB, free: 31.18 MB / 446.1 MB Notification: Performance of Templates: time 0.003129/0.3514, allocations: 0.8762 MB / 0.5648 GB, free: 31.12 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)