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.001258/0.001258, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001463/0.001463, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 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 0.8881/0.8881, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.001687/0.001687, allocations: 233.6 kB / 261.3 MB, free: 12.66 MB / 250.7 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 0.6964/0.6964, allocations: 138.4 MB / 456.3 MB, free: 1.426 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.5563 GB, free: 336 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.635e-05, allocations: 6.25 kB / 0.5563 GB, free: 328 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001745/0.001761, allocations: 1.473 MB / 0.5577 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005541/0.002315, allocations: 470.8 kB / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.002349, allocations: 0 / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.002371, allocations: 3.938 kB / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.002441, allocations: 11.86 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.002558, allocations: 19.92 kB / 0.5582 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.547e-05/0.002644, allocations: 47.84 kB / 0.5583 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.554e-05/0.002709, allocations: 4 kB / 0.5583 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.002775, allocations: 43.83 kB / 0.5583 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.002828, allocations: 11.92 kB / 0.5583 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.002845, allocations: 4 kB / 0.5583 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.002854, allocations: 8 kB / 0.5583 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.002875, allocations: 4 kB / 0.5583 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.002903, allocations: 19.92 kB / 0.5584 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.002986, allocations: 35.89 kB / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002988, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002989, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.002993, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 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.0003599/0.003352, allocations: 418.2 kB / 0.5588 GB, free: 13.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.003384, allocations: 12.75 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.00341, allocations: 8.938 kB / 0.5588 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.577e-05/0.003476, allocations: 120.5 kB / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.003485, allocations: 384 / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.003494, allocations: 8.312 kB / 0.5589 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.308e-05/0.003567, allocations: 75.94 kB / 0.559 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003573, allocations: 4.125 kB / 0.559 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.003579, allocations: 384 / 0.559 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.003584, allocations: 3.938 kB / 0.559 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.003613, allocations: 37.69 kB / 0.5591 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.003838, allocations: 244.4 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.003893, allocations: 72.75 kB / 0.5594 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.003916, allocations: 45.52 kB / 0.5594 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.003927, allocations: 0 / 0.5594 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.684e-05/0.004023, allocations: 132.4 kB / 0.5595 GB, free: 12.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.004024, allocations: 0 / 0.5595 GB, free: 12.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003071/0.004332, allocations: 186.6 kB / 0.5597 GB, free: 12.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.004366, allocations: 81.09 kB / 0.5598 GB, free: 12.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.00443, allocations: 173.9 kB / 0.56 GB, free: 12.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.00444, allocations: 29.7 kB / 0.56 GB, free: 12.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.004478, allocations: 126.9 kB / 0.5601 GB, free: 12.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.004493, allocations: 23.89 kB / 0.5601 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.004525, allocations: 35.34 kB / 0.5602 GB, free: 12.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.004619, allocations: 0.4884 MB / 0.5606 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.00464, allocations: 37.69 kB / 0.5607 GB, free: 11.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.004673, allocations: 68.69 kB / 0.5607 GB, free: 11.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.618e-05/0.004729, allocations: 110.4 kB / 0.5608 GB, free: 11.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004731, allocations: 0 / 0.5608 GB, free: 11.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001008/0.004832, allocations: 141 kB / 0.561 GB, free: 11.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.004856, allocations: 37.7 kB / 0.561 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.00486, allocations: 4 kB / 0.561 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.004867, allocations: 3.938 kB / 0.561 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.857e-05/0.004895, allocations: 11.98 kB / 0.561 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.004898, allocations: 0 / 0.561 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.004929, allocations: 7.984 kB / 0.561 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.004935, allocations: 4 kB / 0.561 GB, free: 11.12 MB / 490.7 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.213e-05/0.005007, allocations: 198.2 kB / 0.5612 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.005025, allocations: 11.95 kB / 0.5612 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.887e-05/0.005044, allocations: 12.38 kB / 0.5613 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005045, allocations: 7.938 kB / 0.5613 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005047, allocations: 64 / 0.5613 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.005051, allocations: 4 kB / 0.5613 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.005297, allocations: 393.4 kB / 0.5616 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005297, allocations: 0 / 0.5616 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-06/0.005303, allocations: 7.922 kB / 0.5617 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.005305, allocations: 3.938 kB / 0.5617 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.005313, allocations: 4 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005313, allocations: 0 / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005314, allocations: 0 / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.005445, allocations: 303.2 kB / 0.5619 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.005455, allocations: 15.88 kB / 0.562 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.00547, allocations: 7.984 kB / 0.562 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.005517, allocations: 4 kB / 0.562 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.005546, allocations: 11.98 kB / 0.562 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.005555, allocations: 0 / 0.562 GB, free: 10.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.005586, allocations: 131.7 kB / 0.5621 GB, free: 9.938 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005586, allocations: 0 / 0.5621 GB, free: 9.938 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.005732, allocations: 16 kB / 0.5621 GB, free: 9.922 MB / 490.7 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.232e-05/0.005794, allocations: 95.25 kB / 0.5622 GB, free: 9.816 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.005908, allocations: 166.4 kB / 0.5624 GB, free: 9.625 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.005909, allocations: 0 / 0.5624 GB, free: 9.625 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.005961, allocations: 117 kB / 0.5625 GB, free: 9.488 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.006145, allocations: 23.11 kB / 0.5625 GB, free: 9.469 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.006353, allocations: 191.6 kB / 0.5627 GB, free: 9.246 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.006382, allocations: 59.34 kB / 0.5628 GB, free: 9.168 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.927e-05/0.006401, allocations: 4 kB / 0.5628 GB, free: 9.164 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.006461, allocations: 86.19 kB / 0.5628 GB, free: 9.078 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.006461, allocations: 4.125 kB / 0.5628 GB, free: 9.074 MB / 490.7 MB Notification: Performance of Templates: time 0.002208/0.00867, allocations: 1.054 MB / 0.5639 GB, free: 8.043 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3384951879270375]