Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 215.5 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002686/0.002686, allocations: 295.8 kB / 312.7 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 14.46 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003013/0.003013, allocations: 95.09 kB / 0.7399 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1622, allocations: 95.39 MB / 0.8331 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002519/0.1647, allocations: 1.436 MB / 0.8345 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007982/0.1655, allocations: 448.5 kB / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.1656, allocations: 0 / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.1656, allocations: 3.938 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.1657, allocations: 11.92 kB / 0.8349 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.1658, allocations: 15.92 kB / 0.835 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1659, allocations: 55.78 kB / 0.835 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.166, allocations: 4 kB / 0.835 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.1661, allocations: 23.92 kB / 0.835 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.1661, allocations: 23.86 kB / 0.8351 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1662, allocations: 11.98 kB / 0.8351 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.1662, allocations: 0 / 0.8351 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.1662, allocations: 7.984 kB / 0.8351 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.1662, allocations: 11.94 kB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1664, allocations: 55.75 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1664, allocations: 0 / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1664, allocations: 0 / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1664, allocations: 0 / 0.8351 GB, free: 5.75 MB / 0.5762 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.0005659/0.1669, allocations: 323.9 kB / 0.8355 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.167, allocations: 9.938 kB / 0.8355 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.167, allocations: 8.891 kB / 0.8355 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1671, allocations: 118.5 kB / 0.8356 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1671, allocations: 384 / 0.8356 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1671, allocations: 4.375 kB / 0.8356 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1673, allocations: 79.7 kB / 0.8357 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1673, allocations: 3.984 kB / 0.8357 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1673, allocations: 3.938 kB / 0.8357 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1673, allocations: 4 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.1674, allocations: 41.7 kB / 0.8357 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.1677, allocations: 216.5 kB / 0.8359 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1678, allocations: 72.14 kB / 0.836 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.1679, allocations: 42.69 kB / 0.836 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1679, allocations: 4 kB / 0.836 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.1681, allocations: 130.9 kB / 0.8362 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1681, allocations: 0 / 0.8362 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000327/0.1684, allocations: 202.7 kB / 0.8364 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.1685, allocations: 77.11 kB / 0.8364 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.1686, allocations: 117.9 kB / 0.8365 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1686, allocations: 33.69 kB / 0.8366 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.1686, allocations: 88.14 kB / 0.8367 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1687, allocations: 19.84 kB / 0.8367 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1687, allocations: 25.7 kB / 0.8367 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1688, allocations: 314.8 kB / 0.837 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.1689, allocations: 49.62 kB / 0.837 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/0.169, allocations: 72.14 kB / 0.8371 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1691, allocations: 114 kB / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1691, allocations: 3.938 kB / 0.8372 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001918/0.1693, allocations: 161 kB / 0.8374 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.1693, allocations: 33.7 kB / 0.8374 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1693, allocations: 3.938 kB / 0.8374 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1693, allocations: 0 / 0.8374 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.184e-05/0.1694, allocations: 7.984 kB / 0.8374 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1694, allocations: 0 / 0.8374 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.1694, allocations: 7.953 kB / 0.8374 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1694, allocations: 4 kB / 0.8374 GB, free: 3.102 MB / 0.5762 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.0001298/0.1696, allocations: 156.5 kB / 0.8376 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.1696, allocations: 8.062 kB / 0.8376 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.1696, allocations: 8.375 kB / 0.8376 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1696, allocations: 0 / 0.8376 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1696, allocations: 3.938 kB / 0.8376 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1696, allocations: 64 / 0.8376 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.17, allocations: 381.5 kB / 0.838 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.17, allocations: 0 / 0.838 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/0.1701, allocations: 3.938 kB / 0.838 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1701, allocations: 4 kB / 0.838 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1701, allocations: 4 kB / 0.838 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1701, allocations: 0 / 0.838 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1701, allocations: 4 kB / 0.838 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1703, allocations: 262.9 kB / 0.8382 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.1703, allocations: 3.953 kB / 0.8382 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1704, allocations: 4 kB / 0.8382 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1705, allocations: 11.97 kB / 0.8383 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1705, allocations: 11.94 kB / 0.8383 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1705, allocations: 7.984 kB / 0.8383 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.1706, allocations: 83.28 kB / 0.8383 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1706, allocations: 3.938 kB / 0.8384 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002468/0.1708, allocations: 16 kB / 0.8384 GB, free: 2.043 MB / 0.5762 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.263e-05/0.1709, allocations: 107.2 kB / 0.8385 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1711, allocations: 166.7 kB / 0.8386 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1711, allocations: 0 / 0.8386 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1713, allocations: 113.1 kB / 0.8387 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1715, allocations: 8 kB / 0.8387 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.1719, allocations: 184.1 kB / 0.8389 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.465e-05/0.1719, allocations: 81.83 kB / 0.839 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.172, allocations: 4 kB / 0.839 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.172, allocations: 15.38 kB / 0.839 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.172, allocations: 0 / 0.839 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of Templates: time 0.00352/0.1755, allocations: 0.9601 MB / 0.84 GB, free: 356 kB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.889062896370888] Failed to read output from testmodel.py, exit status != 0: 0.18263329938054085 0.19988901 0.028499004 Calling exit ...