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.0009469/0.0009469, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002274, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001036/0.001036, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002364, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8772/0.8772, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07895/0.9562, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001279/0.001279, allocations: 238 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009637/0.002243, allocations: 475.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6603/0.6603, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06725/0.7275, allocations: 42.41 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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 1.082e-06/1.082e-06, allocations: 0 / 428 MB, free: 4.523 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.799e-05, allocations: 6.312 kB / 428 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.001794/0.001812, allocations: 1.576 MB / 429.6 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00051/0.002322, allocations: 0.5219 MB / 430.1 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.002353, allocations: 4 kB / 430.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.002383, allocations: 7.938 kB / 430.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.524e-05/0.002408, allocations: 15.86 kB / 430.1 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.002518, allocations: 47.81 kB / 430.2 MB, free: 2.324 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.002617, allocations: 103.7 kB / 430.3 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.002663, allocations: 8.188 kB / 430.3 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.002798, allocations: 87.73 kB / 430.4 MB, free: 2.129 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.002853, allocations: 31.89 kB / 430.4 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.002867, allocations: 8 kB / 430.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.14e-05/0.002908, allocations: 16 kB / 430.4 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.002933, allocations: 11.94 kB / 430.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.002969, allocations: 27.92 kB / 430.5 MB, free: 2.035 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.003067, allocations: 59.83 kB / 430.5 MB, free: 1.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.00308, allocations: 0 / 430.5 MB, free: 1.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003081, allocations: 0 / 430.5 MB, free: 1.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.003089, allocations: 0 / 430.5 MB, free: 1.977 MB / 410.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.0003767/0.003466, allocations: 371.7 kB / 430.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.003492, allocations: 11.98 kB / 430.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.003609, allocations: 98.03 kB / 431 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.003726, allocations: 137.6 kB / 431.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.003734, allocations: 4.375 kB / 431.2 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.003748, allocations: 4.375 kB / 431.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.003883, allocations: 128.6 kB / 431.3 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.003888, allocations: 192 / 431.3 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.003899, allocations: 8.125 kB / 431.3 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.003903, allocations: 0 / 431.3 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.641e-05/0.003949, allocations: 57.69 kB / 431.3 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.004172, allocations: 187 kB / 431.5 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.004248, allocations: 76.27 kB / 431.6 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.004286, allocations: 58.67 kB / 431.7 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.004295, allocations: 0 / 431.7 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.004402, allocations: 129 kB / 431.8 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.004402, allocations: 0 / 431.8 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001598/0.004562, allocations: 198.7 kB / 432 MB, free: 364 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.004585, allocations: 59.39 kB / 432 MB, free: 292 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.004644, allocations: 130.6 kB / 432.2 MB, free: 148 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.004659, allocations: 33.69 kB / 432.2 MB, free: 108 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.004693, allocations: 100 kB / 432.3 MB, free: 4 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1685/0.1732, allocations: 11.97 kB / 432.3 MB, free: 2.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.1733, allocations: 30.62 kB / 432.3 MB, free: 2.609 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.336e-05/0.1733, allocations: 319.4 kB / 432.6 MB, free: 2.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.1734, allocations: 81.34 kB / 432.7 MB, free: 2.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.482e-05/0.1734, allocations: 84.62 kB / 432.8 MB, free: 2.172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.11e-05/0.1735, allocations: 139.8 kB / 432.9 MB, free: 2.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1735, allocations: 0 / 432.9 MB, free: 2.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001389/0.1737, allocations: 208.2 kB / 433.2 MB, free: 1.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.1737, allocations: 65.66 kB / 433.2 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1737, allocations: 0.75 kB / 433.2 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1737, allocations: 1.875 kB / 433.2 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.1738, allocations: 17.55 kB / 433.2 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1738, allocations: 4.688 kB / 433.2 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.1739, allocations: 17.59 kB / 433.3 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1739, allocations: 9.562 kB / 433.3 MB, free: 1.848 MB / 410.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.323e-05/0.174, allocations: 155.5 kB / 433.4 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.174, allocations: 16.92 kB / 433.4 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.174, allocations: 10.75 kB / 433.4 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.174, allocations: 7.25 kB / 433.5 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.174, allocations: 0 / 433.5 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.174, allocations: 1.5 kB / 433.5 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.856e-05/0.1741, allocations: 84.36 kB / 433.5 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1741, allocations: 0.6562 kB / 433.5 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.1741, allocations: 12.86 kB / 433.5 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.1741, allocations: 9.625 kB / 433.6 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1741, allocations: 0 / 433.6 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1742, allocations: 4.609 kB / 433.6 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1742, allocations: 2.75 kB / 433.6 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1742, allocations: 4.922 kB / 433.6 MB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.1743, allocations: 173 kB / 433.7 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1743, allocations: 12.19 kB / 433.8 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.1744, allocations: 15.91 kB / 433.8 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.1744, allocations: 38.95 kB / 433.8 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1745, allocations: 7.438 kB / 433.8 MB, free: 1.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.46e-05/0.1745, allocations: 21.91 kB / 433.8 MB, free: 1.477 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1745, allocations: 0 / 433.8 MB, free: 1.477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00011/0.1746, allocations: 25.69 kB / 433.9 MB, free: 1.477 MB / 410.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 7.702e-05/0.1747, allocations: 84.06 kB / 433.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1748, allocations: 273.2 kB / 434.2 MB, free: 1.184 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.1748, allocations: 3.594 kB / 434.2 MB, free: 1.184 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.1749, allocations: 132 kB / 434.3 MB, free: 1.082 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.175, allocations: 82.48 kB / 434.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007358/0.1758, allocations: 248.7 kB / 434.7 MB, free: 16.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.869e-05/0.1758, allocations: 59.83 kB / 434.7 MB, free: 16.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.1758, allocations: 5.297 kB / 434.7 MB, free: 16.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.905e-05/0.1759, allocations: 80.27 kB / 434.8 MB, free: 16.75 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1759, allocations: 2.656 kB / 434.8 MB, free: 16.75 MB / 426.7 MB Notification: Performance of Templates: time 0.003915/0.1799, allocations: 2.108 MB / 436.9 MB, free: 16.68 MB / 426.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.0529840420931578]