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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4656/0.4656, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 349.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 104.5 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 51.92 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3321, allocations: 70.06 MB / 0.5575 GB, free: 44.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00246/0.3346, allocations: 1.475 MB / 0.5589 GB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005786/0.3352, allocations: 442.4 kB / 0.5593 GB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.3352, allocations: 0 / 0.5593 GB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.3353, allocations: 0 / 0.5593 GB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.3354, allocations: 11.86 kB / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.3355, allocations: 12 kB / 0.5594 GB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.3356, allocations: 51.09 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.225e-05/0.3357, allocations: 7.984 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.3357, allocations: 23.86 kB / 0.5594 GB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.3358, allocations: 19.92 kB / 0.5595 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3358, allocations: 0 / 0.5595 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.3358, allocations: 4 kB / 0.5595 GB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.3358, allocations: 4 kB / 0.5595 GB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.3359, allocations: 26.58 kB / 0.5595 GB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.231e-05/0.336, allocations: 43.81 kB / 0.5595 GB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.336, allocations: 0 / 0.5595 GB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.336, allocations: 0 / 0.5595 GB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.336, allocations: 4 kB / 0.5595 GB, free: 43.08 MB / 410.7 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.0004912/0.3365, allocations: 391.1 kB / 0.5599 GB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3365, allocations: 8.031 kB / 0.5599 GB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.3366, allocations: 4.938 kB / 0.5599 GB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.53e-05/0.3367, allocations: 180.2 kB / 0.5601 GB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3367, allocations: 384 / 0.5601 GB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3367, allocations: 8.312 kB / 0.5601 GB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.967e-05/0.3368, allocations: 54 kB / 0.5602 GB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3368, allocations: 0 / 0.5602 GB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.3368, allocations: 0 / 0.5602 GB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3369, allocations: 8 kB / 0.5602 GB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.3369, allocations: 15.98 kB / 0.5602 GB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3372, allocations: 280.7 kB / 0.5604 GB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.806e-05/0.3373, allocations: 42.56 kB / 0.5605 GB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.3373, allocations: 16.98 kB / 0.5605 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3374, allocations: 0 / 0.5605 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.3375, allocations: 105 kB / 0.5606 GB, free: 41.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.3375, allocations: 0 / 0.5606 GB, free: 41.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002166/0.3377, allocations: 143.3 kB / 0.5607 GB, free: 41.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.3378, allocations: 77.11 kB / 0.5608 GB, free: 41.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.3379, allocations: 113.8 kB / 0.5609 GB, free: 41.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.3379, allocations: 25.7 kB / 0.5609 GB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.338, allocations: 88.05 kB / 0.561 GB, free: 41.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.338, allocations: 27.8 kB / 0.5611 GB, free: 41.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.338, allocations: 29.72 kB / 0.5611 GB, free: 41.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.3381, allocations: 318.8 kB / 0.5614 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.3381, allocations: 16 kB / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.3381, allocations: 34.84 kB / 0.5614 GB, free: 40.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.77e-05/0.3382, allocations: 117.9 kB / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3382, allocations: 96 / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001085/0.3383, allocations: 123.3 kB / 0.5617 GB, free: 40.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3384, allocations: 35.73 kB / 0.5617 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3384, allocations: 0 / 0.5617 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3384, allocations: 7.984 kB / 0.5617 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.565e-05/0.3384, allocations: 0 / 0.5617 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3384, allocations: 4 kB / 0.5617 GB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.3385, allocations: 7.906 kB / 0.5617 GB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3385, allocations: 12.06 kB / 0.5617 GB, free: 40.54 MB / 410.7 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 6.371e-05/0.3386, allocations: 154.1 kB / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.3386, allocations: 8 kB / 0.5619 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.3386, allocations: 8.375 kB / 0.5619 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3386, allocations: 0 / 0.5619 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3386, allocations: 3.938 kB / 0.5619 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3386, allocations: 3.984 kB / 0.5619 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.3389, allocations: 412 kB / 0.5623 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3389, allocations: 4 kB / 0.5623 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-06/0.3389, allocations: 4 kB / 0.5623 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3389, allocations: 0 / 0.5623 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.3389, allocations: 0 / 0.5623 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3389, allocations: 0 / 0.5623 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.339, allocations: 0 / 0.5623 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3392, allocations: 0.8002 MB / 0.5631 GB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.3392, allocations: 88.97 kB / 0.5632 GB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3393, allocations: 4 kB / 0.5632 GB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.3394, allocations: 7.984 kB / 0.5632 GB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.3394, allocations: 8 kB / 0.5632 GB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3394, allocations: 4 kB / 0.5632 GB, free: 38.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.509e-05/0.3395, allocations: 91.33 kB / 0.5633 GB, free: 38.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3395, allocations: 4 kB / 0.5633 GB, free: 38.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.3398, allocations: 12 kB / 0.5633 GB, free: 38.79 MB / 410.7 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 6.455e-05/0.3398, allocations: 111.1 kB / 0.5634 GB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.34, allocations: 119.3 kB / 0.5635 GB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.34, allocations: 0 / 0.5635 GB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.3401, allocations: 91.39 kB / 0.5636 GB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3403, allocations: 21.66 kB / 0.5636 GB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.3406, allocations: 286.2 kB / 0.5639 GB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.53e-05/0.3407, allocations: 0.6848 MB / 0.5646 GB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.397e-05/0.3407, allocations: 7.984 kB / 0.5646 GB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.3408, allocations: 7.438 kB / 0.5646 GB, free: 37.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.91e-07/0.3408, allocations: 0 / 0.5646 GB, free: 37.37 MB / 410.7 MB Notification: Performance of Templates: time 0.002311/0.3431, allocations: 0.822 MB / 0.5654 GB, free: 36.56 MB / 410.7 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)