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.001079/0.001079, allocations: 115.2 kB / 17.04 MB, free: 5.812 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.0009738/0.0009738, allocations: 195 kB / 17.98 MB, free: 5.027 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.293/1.293, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7055/0.7055, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3319, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00227/0.3343, allocations: 1.409 MB / 0.5589 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.3348, allocations: 434.8 kB / 0.5593 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.3349, allocations: 2.656 kB / 0.5593 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.3349, allocations: 3.938 kB / 0.5594 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.335, allocations: 10.5 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.3351, allocations: 24.38 kB / 0.5594 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3352, allocations: 52.53 kB / 0.5594 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.3353, allocations: 9.609 kB / 0.5594 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.3354, allocations: 24.27 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.3355, allocations: 17.5 kB / 0.5595 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3355, allocations: 4.469 kB / 0.5595 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.3355, allocations: 2.938 kB / 0.5595 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.3355, allocations: 9.516 kB / 0.5595 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.3356, allocations: 27.94 kB / 0.5595 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.437e-05/0.3357, allocations: 38.7 kB / 0.5596 GB, free: 35.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3357, allocations: 0.9375 kB / 0.5596 GB, free: 35.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3357, allocations: 0 / 0.5596 GB, free: 35.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3357, allocations: 2.469 kB / 0.5596 GB, free: 35.29 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.0004744/0.3362, allocations: 399.5 kB / 0.5599 GB, free: 34.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3362, allocations: 8.562 kB / 0.56 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.3363, allocations: 14.83 kB / 0.56 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.471e-05/0.3363, allocations: 168 kB / 0.5601 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3364, allocations: 3.578 kB / 0.5601 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3364, allocations: 2.938 kB / 0.5601 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.3365, allocations: 60.08 kB / 0.5602 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3365, allocations: 5.844 kB / 0.5602 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3365, allocations: 1.312 kB / 0.5602 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3365, allocations: 0.5156 kB / 0.5602 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.3366, allocations: 16.88 kB / 0.5602 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.3369, allocations: 277.8 kB / 0.5605 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.215e-05/0.337, allocations: 45.3 kB / 0.5605 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.337, allocations: 24.77 kB / 0.5605 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.337, allocations: 1.125 kB / 0.5606 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.3372, allocations: 101 kB / 0.5606 GB, free: 34.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.3372, allocations: 3 kB / 0.5606 GB, free: 34.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002478/0.3374, allocations: 140.5 kB / 0.5608 GB, free: 34.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3375, allocations: 88.91 kB / 0.5609 GB, free: 34.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.3375, allocations: 107.9 kB / 0.561 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3376, allocations: 31.02 kB / 0.561 GB, free: 33.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.3376, allocations: 81.98 kB / 0.5611 GB, free: 33.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.3376, allocations: 16.86 kB / 0.5611 GB, free: 33.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.3377, allocations: 26.53 kB / 0.5611 GB, free: 33.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.3377, allocations: 323.6 kB / 0.5614 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.3378, allocations: 14.95 kB / 0.5614 GB, free: 33.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.3378, allocations: 37.72 kB / 0.5615 GB, free: 33.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.044e-05/0.3379, allocations: 113.3 kB / 0.5616 GB, free: 33.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3379, allocations: 4.719 kB / 0.5616 GB, free: 33.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001359/0.338, allocations: 127 kB / 0.5617 GB, free: 33.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.3381, allocations: 35.78 kB / 0.5617 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3381, allocations: 1.094 kB / 0.5617 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3381, allocations: 1.75 kB / 0.5617 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.3382, allocations: 6.141 kB / 0.5618 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3382, allocations: 1.125 kB / 0.5618 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.3382, allocations: 10.59 kB / 0.5618 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3382, allocations: 4.656 kB / 0.5618 GB, free: 33.17 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.566e-05/0.3383, allocations: 165.6 kB / 0.5619 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.3383, allocations: 8.375 kB / 0.5619 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.3384, allocations: 6.344 kB / 0.5619 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3384, allocations: 2.906 kB / 0.5619 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.3384, allocations: 0 / 0.5619 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3384, allocations: 2.125 kB / 0.5619 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.3387, allocations: 400.5 kB / 0.5623 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3387, allocations: 0 / 0.5623 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-06/0.3388, allocations: 2.406 kB / 0.5623 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3388, allocations: 4.25 kB / 0.5623 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3388, allocations: 10.25 kB / 0.5623 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3388, allocations: 1.625 kB / 0.5623 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3388, allocations: 0 / 0.5623 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.339, allocations: 236.8 kB / 0.5626 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.339, allocations: 79.14 kB / 0.5626 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.339, allocations: 4.547 kB / 0.5627 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3391, allocations: 11.92 kB / 0.5627 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3392, allocations: 11.62 kB / 0.5627 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3392, allocations: 4.375 kB / 0.5627 GB, free: 32.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.021e-05/0.3392, allocations: 87.98 kB / 0.5628 GB, free: 32.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3392, allocations: 1 kB / 0.5628 GB, free: 32.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.3395, allocations: 21.81 kB / 0.5628 GB, free: 32.24 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 6.987e-05/0.3396, allocations: 98.09 kB / 0.5629 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.3397, allocations: 117.1 kB / 0.563 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.3397, allocations: 0 / 0.563 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.3398, allocations: 97.09 kB / 0.5631 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3401, allocations: 16.95 kB / 0.5631 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.3404, allocations: 153.9 kB / 0.5632 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.3405, allocations: 0.6858 MB / 0.5639 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.616e-05/0.3406, allocations: 5.219 kB / 0.5639 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.3406, allocations: 11.22 kB / 0.5639 GB, free: 31.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3406, allocations: 5.812 kB / 0.5639 GB, free: 31.15 MB / 446.1 MB Notification: Performance of Templates: time 0.00292/0.3435, allocations: 0.8627 MB / 0.5648 GB, free: 31.09 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)