Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.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.0008774/0.0008774, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0008571/0.0008571, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 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.8438/0.8438, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.00152/0.00152, allocations: 230.8 kB / 260.2 MB, free: 12.84 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.6432/0.6432, allocations: 138.4 MB / 455.2 MB, free: 1.551 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.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 4 kB / 0.5551 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.966e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.582 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002299/0.002319, allocations: 1.529 MB / 0.5566 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.003116, allocations: 0.5065 MB / 0.5571 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.003176, allocations: 3.938 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.003275, allocations: 11.94 kB / 0.5571 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.00333, allocations: 15.8 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.003591, allocations: 43.88 kB / 0.5571 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.003758, allocations: 99.75 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.003851, allocations: 12.17 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.004018, allocations: 71.81 kB / 0.5573 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.004083, allocations: 35.89 kB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.004104, allocations: 11.94 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.00414, allocations: 12 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.004173, allocations: 15.92 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.00422, allocations: 35.91 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.004346, allocations: 71.84 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004349, allocations: 0 / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004349, allocations: 0 / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.004353, allocations: 4 kB / 0.5575 GB, free: 14.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004723/0.004826, allocations: 475.7 kB / 0.5579 GB, free: 13.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.00486, allocations: 8.75 kB / 0.5579 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.004976, allocations: 24.88 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.005117, allocations: 140.5 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.005127, allocations: 384 / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.005139, allocations: 8.375 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.005331, allocations: 148.5 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.005337, allocations: 192 / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.005351, allocations: 12.12 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.005356, allocations: 0 / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.005427, allocations: 69.67 kB / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.005745, allocations: 303.7 kB / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.005854, allocations: 104.7 kB / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.005912, allocations: 73.44 kB / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.005925, allocations: 0 / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.006059, allocations: 134.7 kB / 0.5589 GB, free: 12.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.00606, allocations: 0 / 0.5589 GB, free: 12.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002852/0.006345, allocations: 266.6 kB / 0.5592 GB, free: 12.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.006382, allocations: 81.11 kB / 0.5593 GB, free: 12.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.006465, allocations: 193.1 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.006478, allocations: 25.7 kB / 0.5595 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.006533, allocations: 150.8 kB / 0.5596 GB, free: 11.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.006547, allocations: 19.91 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.006589, allocations: 35.36 kB / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.00669, allocations: 0.4923 MB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.006759, allocations: 95.38 kB / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.006818, allocations: 91.39 kB / 0.5603 GB, free: 10.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.362e-05/0.006912, allocations: 136.8 kB / 0.5604 GB, free: 10.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006914, allocations: 0 / 0.5604 GB, free: 10.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001954/0.007109, allocations: 272.3 kB / 0.5607 GB, free: 10.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.007142, allocations: 67.39 kB / 0.5608 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.007145, allocations: 0 / 0.5608 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.007156, allocations: 7.938 kB / 0.5608 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.007226, allocations: 15.98 kB / 0.5608 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.00723, allocations: 0 / 0.5608 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.007288, allocations: 23.94 kB / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.0073, allocations: 7.938 kB / 0.5608 GB, free: 10.31 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.794e-05/0.007377, allocations: 194.3 kB / 0.561 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.007394, allocations: 19.92 kB / 0.561 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.007414, allocations: 12.78 kB / 0.561 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007416, allocations: 0 / 0.561 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.007419, allocations: 4.25 kB / 0.561 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.007422, allocations: 3.984 kB / 0.5611 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.765e-05/0.0075, allocations: 148.6 kB / 0.5612 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007501, allocations: 0 / 0.5612 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.007525, allocations: 11.94 kB / 0.5612 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007527, allocations: 0 / 0.5612 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.007539, allocations: 7.984 kB / 0.5612 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007539, allocations: 0 / 0.5612 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00754, allocations: 0 / 0.5612 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.007732, allocations: 243.7 kB / 0.5614 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.007743, allocations: 11.89 kB / 0.5615 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.007759, allocations: 12 kB / 0.5615 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.541e-05/0.007805, allocations: 11.98 kB / 0.5615 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.007896, allocations: 39.95 kB / 0.5615 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.007904, allocations: 0 / 0.5615 GB, free: 9.523 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.41e-05/0.007948, allocations: 143.2 kB / 0.5617 GB, free: 9.383 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007948, allocations: 0 / 0.5617 GB, free: 9.383 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001275/0.008075, allocations: 28 kB / 0.5617 GB, free: 9.355 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * 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.613e-05/0.008142, allocations: 95.25 kB / 0.5618 GB, free: 9.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.008361, allocations: 307.5 kB / 0.5621 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.008362, allocations: 0 / 0.5621 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.008454, allocations: 144.8 kB / 0.5622 GB, free: 8.738 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.008596, allocations: 16.03 kB / 0.5622 GB, free: 8.723 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.00908, allocations: 252.3 kB / 0.5625 GB, free: 8.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.009111, allocations: 67.3 kB / 0.5625 GB, free: 8.348 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.039e-05/0.009142, allocations: 11.98 kB / 0.5625 GB, free: 8.336 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.009174, allocations: 16.5 kB / 0.5625 GB, free: 8.32 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/0.009174, allocations: 3.938 kB / 0.5626 GB, free: 8.316 MB / 490.7 MB Notification: Performance of Templates: time 0.003297/0.01247, allocations: 2.185 MB / 0.5647 GB, free: 6.156 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1054035490378737]