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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 121.7 kB / 17.81 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 191.8 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.799/0.799, allocations: 128.4 MB / 432.4 MB, free: 13.04 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 59.89 kB / 0.5987 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3608, allocations: 83.26 MB / 0.68 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001998/0.3628, allocations: 1.426 MB / 0.6814 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005772/0.3633, allocations: 444 kB / 0.6818 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.3634, allocations: 0 / 0.6818 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.3634, allocations: 3.938 kB / 0.6818 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.58e-05/0.3635, allocations: 17.19 kB / 0.6818 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.3636, allocations: 20.14 kB / 0.6818 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3637, allocations: 51.34 kB / 0.6819 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.997e-05/0.3638, allocations: 4.25 kB / 0.6819 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.471e-05/0.3638, allocations: 19.77 kB / 0.6819 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.3639, allocations: 24.84 kB / 0.6819 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3639, allocations: 3.844 kB / 0.6819 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.3639, allocations: 4.281 kB / 0.6819 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.3639, allocations: 5.094 kB / 0.6819 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.364, allocations: 25.86 kB / 0.682 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.189e-05/0.3641, allocations: 43.78 kB / 0.682 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3641, allocations: 4 kB / 0.682 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3641, allocations: 1.5 kB / 0.682 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.3641, allocations: 0 / 0.682 GB, free: 5.41 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.0004674/0.3646, allocations: 395.2 kB / 0.6824 GB, free: 5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3646, allocations: 9.156 kB / 0.6824 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.3646, allocations: 7.547 kB / 0.6824 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.684e-05/0.3647, allocations: 172 kB / 0.6826 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3647, allocations: 5.906 kB / 0.6826 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.3647, allocations: 3.25 kB / 0.6826 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3648, allocations: 52.88 kB / 0.6826 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3648, allocations: 0 / 0.6826 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3648, allocations: 5.469 kB / 0.6826 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3649, allocations: 5.312 kB / 0.6826 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.3649, allocations: 21.05 kB / 0.6827 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.3652, allocations: 273.3 kB / 0.6829 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.799e-05/0.3653, allocations: 42.06 kB / 0.683 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.3653, allocations: 16.2 kB / 0.683 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3653, allocations: 1.375 kB / 0.683 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.3655, allocations: 106.6 kB / 0.6831 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3655, allocations: 0 / 0.6831 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002462/0.3657, allocations: 140.5 kB / 0.6832 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3657, allocations: 87.67 kB / 0.6833 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.799e-05/0.3658, allocations: 108.5 kB / 0.6834 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.3658, allocations: 30.98 kB / 0.6834 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.3658, allocations: 81.45 kB / 0.6835 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.872e-05/0.3659, allocations: 27.58 kB / 0.6835 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.3659, allocations: 21.78 kB / 0.6836 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.3659, allocations: 324.8 kB / 0.6839 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.366, allocations: 12.41 kB / 0.6839 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.366, allocations: 50.56 kB / 0.6839 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.308e-05/0.3661, allocations: 113.4 kB / 0.684 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3661, allocations: 0 / 0.684 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001245/0.3662, allocations: 129.3 kB / 0.6842 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.3662, allocations: 32.67 kB / 0.6842 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3662, allocations: 4.062 kB / 0.6842 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3662, allocations: 2.156 kB / 0.6842 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.892e-05/0.3663, allocations: 6.297 kB / 0.6842 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3663, allocations: 1.188 kB / 0.6842 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.3663, allocations: 8.688 kB / 0.6842 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3664, allocations: 3.562 kB / 0.6842 GB, free: 3.176 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 6.622e-05/0.3664, allocations: 154.6 kB / 0.6844 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.3664, allocations: 11.45 kB / 0.6844 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.3665, allocations: 9.531 kB / 0.6844 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3665, allocations: 5.359 kB / 0.6844 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.3665, allocations: 1.094 kB / 0.6844 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3665, allocations: 0 / 0.6844 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.3668, allocations: 407.6 kB / 0.6848 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3668, allocations: 5.078 kB / 0.6848 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.3668, allocations: 1.188 kB / 0.6848 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3668, allocations: 0 / 0.6848 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3668, allocations: 6.344 kB / 0.6848 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3668, allocations: 0 / 0.6848 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3668, allocations: 5.094 kB / 0.6848 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3669, allocations: 232.8 kB / 0.685 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.367, allocations: 79.95 kB / 0.6851 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.367, allocations: 1.312 kB / 0.6851 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3671, allocations: 17.14 kB / 0.6851 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.3671, allocations: 11.42 kB / 0.6851 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3671, allocations: 3.844 kB / 0.6851 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.3672, allocations: 88.72 kB / 0.6852 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3672, allocations: 5.25 kB / 0.6852 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002287/0.3674, allocations: 21.11 kB / 0.6852 GB, free: 2.184 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 6.572e-05/0.3675, allocations: 97.41 kB / 0.6853 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.3676, allocations: 107.9 kB / 0.6854 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3676, allocations: 1.219 kB / 0.6854 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/0.3677, allocations: 85.55 kB / 0.6855 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.368, allocations: 19.86 kB / 0.6855 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.3683, allocations: 173.6 kB / 0.6857 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.3684, allocations: 0.684 MB / 0.6864 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.3684, allocations: 10.22 kB / 0.6864 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.3684, allocations: 3.938 kB / 0.6864 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of Templates: time 0.002225/0.3706, allocations: 0.8973 MB / 0.6873 GB, free: 0.5938 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.212214996106923] Failed to read output from testmodel.py, exit status != 0: 0.3781322040595114 0.38995923800000004 0.023402451 Calling exit ...