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.001203/0.001203, allocations: 113.4 kB / 19.69 MB, free: 2.199 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.001271/0.001271, allocations: 184.3 kB / 22.98 MB, free: 5.062 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.303/1.303, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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.882/0.882, allocations: 149.6 MB / 456.6 MB, free: 1.617 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.001897/0.001897, allocations: 68.08 kB / 0.6328 GB, free: 9.105 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1599, allocations: 87.87 MB / 0.7186 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.003128/0.163, allocations: 1.434 MB / 0.72 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.1638, allocations: 435 kB / 0.7204 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.1639, allocations: 0 / 0.7204 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.1639, allocations: 7.938 kB / 0.7204 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.164, allocations: 15.91 kB / 0.7205 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1641, allocations: 19.92 kB / 0.7205 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1643, allocations: 47.86 kB / 0.7205 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.1644, allocations: 11.98 kB / 0.7205 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.1644, allocations: 23.86 kB / 0.7206 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.1645, allocations: 19.86 kB / 0.7206 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1645, allocations: 4 kB / 0.7206 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.1645, allocations: 4 kB / 0.7206 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.1645, allocations: 11.98 kB / 0.7206 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1646, allocations: 27.81 kB / 0.7206 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1647, allocations: 39.88 kB / 0.7207 GB, free: 15.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1647, allocations: 0 / 0.7207 GB, free: 15.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1647, allocations: 0 / 0.7207 GB, free: 15.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.1647, allocations: 4 kB / 0.7207 GB, free: 15.04 MB / 0.545 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.0005983/0.1653, allocations: 315.9 kB / 0.721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1653, allocations: 12.62 kB / 0.721 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1654, allocations: 8.891 kB / 0.721 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1655, allocations: 114.4 kB / 0.7211 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1655, allocations: 4.375 kB / 0.7211 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.1655, allocations: 4.375 kB / 0.7211 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1657, allocations: 53.98 kB / 0.7212 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1657, allocations: 0 / 0.7212 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1657, allocations: 4 kB / 0.7212 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1657, allocations: 0 / 0.7212 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.1657, allocations: 16 kB / 0.7212 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.1661, allocations: 247.8 kB / 0.7214 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.1662, allocations: 38.52 kB / 0.7215 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.1663, allocations: 20.97 kB / 0.7215 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1663, allocations: 4.062 kB / 0.7215 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.1665, allocations: 97.09 kB / 0.7216 GB, free: 13.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1665, allocations: 7.938 kB / 0.7216 GB, free: 13.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002868/0.1668, allocations: 143.3 kB / 0.7217 GB, free: 13.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.1668, allocations: 81.11 kB / 0.7218 GB, free: 13.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.1669, allocations: 109.9 kB / 0.7219 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1669, allocations: 37.69 kB / 0.7219 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.167, allocations: 80.14 kB / 0.722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.167, allocations: 23.84 kB / 0.722 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1671, allocations: 25.7 kB / 0.7221 GB, free: 13.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1672, allocations: 326.8 kB / 0.7224 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.1672, allocations: 19.92 kB / 0.7224 GB, free: 13.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.1673, allocations: 38.84 kB / 0.7224 GB, free: 13.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1674, allocations: 102.1 kB / 0.7225 GB, free: 12.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1674, allocations: 7.938 kB / 0.7225 GB, free: 12.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001666/0.1676, allocations: 131.2 kB / 0.7227 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.1676, allocations: 37.69 kB / 0.7227 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1676, allocations: 0 / 0.7227 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1676, allocations: 0 / 0.7227 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.593e-05/0.1677, allocations: 4 kB / 0.7227 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1677, allocations: 0 / 0.7227 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.1677, allocations: 7.984 kB / 0.7227 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1678, allocations: 4 kB / 0.7227 GB, free: 12.71 MB / 0.545 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 0.0001174/0.1679, allocations: 158.8 kB / 0.7229 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.1679, allocations: 8.062 kB / 0.7229 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.1679, allocations: 8.375 kB / 0.7229 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1679, allocations: 7.984 kB / 0.7229 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1679, allocations: 0 / 0.7229 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1679, allocations: 0 / 0.7229 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.1683, allocations: 383.1 kB / 0.7232 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1683, allocations: 0 / 0.7232 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.1683, allocations: 3.938 kB / 0.7232 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1684, allocations: 4 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1684, allocations: 4 kB / 0.7233 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1684, allocations: 3.938 kB / 0.7233 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1684, allocations: 0 / 0.7233 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1686, allocations: 229.1 kB / 0.7235 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.1686, allocations: 4 kB / 0.7235 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1686, allocations: 11.92 kB / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.1687, allocations: 8 kB / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1688, allocations: 15.92 kB / 0.7235 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1688, allocations: 0 / 0.7235 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.1688, allocations: 91.27 kB / 0.7236 GB, free: 11.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1688, allocations: 0 / 0.7236 GB, free: 11.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002218/0.1691, allocations: 19.94 kB / 0.7236 GB, free: 11.67 MB / 0.545 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 9.113e-05/0.1692, allocations: 95.25 kB / 0.7237 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1693, allocations: 115.3 kB / 0.7238 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1693, allocations: 0 / 0.7238 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.1694, allocations: 79.52 kB / 0.7239 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1697, allocations: 18.28 kB / 0.7239 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.17, allocations: 158.2 kB / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1703, allocations: 0.6884 MB / 0.7247 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.1704, allocations: 4 kB / 0.7247 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.1704, allocations: 11.44 kB / 0.7248 GB, free: 10.43 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.1704, allocations: 4 kB / 0.7248 GB, free: 10.43 MB / 0.545 GB Notification: Performance of Templates: time 0.003401/0.1738, allocations: 0.8957 MB / 0.7256 GB, free: 9.539 MB / 0.545 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: 4.995094100944698] Failed to read output from testmodel.py, exit status != 0: 0.18159666284918785 0.19535284300000003 0.027733637000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff88a5917b0>