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.0014/0.0014, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001604/0.001604, allocations: 211.3 kB / 23 MB, free: 4.57 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002802/0.002802, allocations: 273.7 kB / 313.5 MB, free: 2.805 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.3/1.3, allocations: 180.6 MB / 0.5377 GB, free: 13.1 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.002946/0.002946, allocations: 112.3 kB / 0.7408 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1612, allocations: 95.38 MB / 0.8339 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002623/0.1638, allocations: 1.461 MB / 0.8353 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008639/0.1647, allocations: 484.4 kB / 0.8358 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.1647, allocations: 0 / 0.8358 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.1647, allocations: 7.938 kB / 0.8358 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.1648, allocations: 7.922 kB / 0.8358 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.165, allocations: 23.91 kB / 0.8358 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1651, allocations: 47.86 kB / 0.8359 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.1652, allocations: 7.984 kB / 0.8359 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.1652, allocations: 19.88 kB / 0.8359 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.1653, allocations: 23.91 kB / 0.8359 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1653, allocations: 4 kB / 0.8359 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.1653, allocations: 4 kB / 0.836 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.1654, allocations: 15.92 kB / 0.836 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.1654, allocations: 15.94 kB / 0.836 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.1655, allocations: 43.77 kB / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1655, allocations: 0 / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1655, allocations: 0 / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.1655, allocations: 4 kB / 0.836 GB, free: 5.996 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.0005705/0.1661, allocations: 315.9 kB / 0.8363 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1661, allocations: 13.94 kB / 0.8363 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.1662, allocations: 8.891 kB / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1663, allocations: 114.5 kB / 0.8365 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1663, allocations: 4.375 kB / 0.8365 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1663, allocations: 384 / 0.8365 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1664, allocations: 65.91 kB / 0.8365 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1664, allocations: 0 / 0.8365 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1664, allocations: 4 kB / 0.8365 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1665, allocations: 0 / 0.8365 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.731e-05/0.1665, allocations: 15.98 kB / 0.8365 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.1669, allocations: 247.9 kB / 0.8368 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.167, allocations: 34.52 kB / 0.8368 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.167, allocations: 20.97 kB / 0.8368 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.167, allocations: 0 / 0.8368 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.1672, allocations: 101.1 kB / 0.8369 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 3.166e-06/0.1672, allocations: 4 kB / 0.8369 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002899/0.1675, allocations: 147.3 kB / 0.8371 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.1676, allocations: 85.09 kB / 0.8372 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.1677, allocations: 109.8 kB / 0.8373 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1677, allocations: 29.7 kB / 0.8373 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.1677, allocations: 84.14 kB / 0.8374 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1678, allocations: 19.8 kB / 0.8374 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.1678, allocations: 33.64 kB / 0.8374 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.168, allocations: 326.8 kB / 0.8377 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.168, allocations: 15.98 kB / 0.8377 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.1681, allocations: 38.5 kB / 0.8378 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1682, allocations: 106 kB / 0.8379 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1682, allocations: 4 kB / 0.8379 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001632/0.1683, allocations: 123.3 kB / 0.838 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.1684, allocations: 37.69 kB / 0.838 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1684, allocations: 0 / 0.838 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1684, allocations: 0 / 0.838 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.1684, allocations: 7.938 kB / 0.8381 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1684, allocations: 0 / 0.8381 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-05/0.1685, allocations: 20 kB / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.1685, allocations: 4 kB / 0.8381 GB, free: 3.648 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.0001142/0.1686, allocations: 148.1 kB / 0.8382 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.1686, allocations: 8.062 kB / 0.8382 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.1687, allocations: 12.36 kB / 0.8382 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1687, allocations: 4 kB / 0.8382 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1687, allocations: 0 / 0.8382 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1687, allocations: 0 / 0.8382 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.1691, allocations: 371.2 kB / 0.8386 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1691, allocations: 0 / 0.8386 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-06/0.1691, allocations: 0 / 0.8386 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1691, allocations: 7.984 kB / 0.8386 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1692, allocations: 7.984 kB / 0.8386 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1692, allocations: 0 / 0.8386 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1692, allocations: 384 / 0.8386 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1694, allocations: 237 kB / 0.8388 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.1694, allocations: 11.94 kB / 0.8388 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1694, allocations: 0 / 0.8388 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1695, allocations: 11.94 kB / 0.8389 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.1696, allocations: 15.92 kB / 0.8389 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1696, allocations: 4 kB / 0.8389 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.1696, allocations: 91.27 kB / 0.839 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1696, allocations: 0 / 0.839 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002307/0.1699, allocations: 12 kB / 0.839 GB, free: 2.625 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.802e-05/0.17, allocations: 103.2 kB / 0.8391 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1702, allocations: 111.3 kB / 0.8392 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1702, allocations: 0 / 0.8392 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/0.1702, allocations: 84.3 kB / 0.8393 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.1705, allocations: 12.05 kB / 0.8393 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.1709, allocations: 183.2 kB / 0.8394 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1712, allocations: 0.6923 MB / 0.8401 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1712, allocations: 15.44 kB / 0.8401 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1712, allocations: 0 / 0.8401 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of Templates: time 0.002599/0.1738, allocations: 0.9171 MB / 0.841 GB, free: 448 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: 8.34635837492533] Failed to read output from testmodel.py, exit status != 0: 0.18111803894862533 0.19632106800000002 0.027752945 Calling exit ...