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.0009041/0.0009041, allocations: 73.09 kB / 20.66 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.0008963/0.0008963, allocations: 169 kB / 24.06 MB, free: 456 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.8974/0.8974, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.002349/0.002349, allocations: 237.5 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.6852/0.6852, allocations: 138.4 MB / 456.3 MB, free: 1.383 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 1.222e-06/1.222e-06, allocations: 3.938 kB / 0.5563 GB, free: 272 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.514e-05, allocations: 2.312 kB / 0.5563 GB, free: 268 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.001716/0.001731, allocations: 1.529 MB / 0.5578 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006274/0.002358, allocations: 0.5064 MB / 0.5583 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.002413, allocations: 0 / 0.5583 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.347e-05/0.002497, allocations: 7.938 kB / 0.5583 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.959e-05/0.002536, allocations: 11.86 kB / 0.5583 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.00275, allocations: 51.88 kB / 0.5584 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.002881, allocations: 103.7 kB / 0.5585 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.154e-05/0.002953, allocations: 8.172 kB / 0.5585 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.003103, allocations: 75.75 kB / 0.5586 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.003166, allocations: 35.88 kB / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.003184, allocations: 8 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.753e-05/0.003222, allocations: 12 kB / 0.5586 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.003252, allocations: 19.94 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.003289, allocations: 27.97 kB / 0.5587 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.003403, allocations: 75.78 kB / 0.5587 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003404, allocations: 0 / 0.5587 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.4e-07/0.003405, allocations: 0 / 0.5587 GB, free: 13.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.003408, allocations: 0 / 0.5587 GB, free: 13.78 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.000388/0.003796, allocations: 475.7 kB / 0.5592 GB, free: 13.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.003825, allocations: 12.75 kB / 0.5592 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.91e-05/0.003924, allocations: 20.89 kB / 0.5592 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.004044, allocations: 148.1 kB / 0.5594 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.004054, allocations: 4.375 kB / 0.5594 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.004068, allocations: 12.31 kB / 0.5594 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.004214, allocations: 132.6 kB / 0.5595 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.00422, allocations: 192 / 0.5595 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.00423, allocations: 4.125 kB / 0.5595 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.004233, allocations: 0 / 0.5595 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.004282, allocations: 53.69 kB / 0.5596 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.004546, allocations: 292.3 kB / 0.5598 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.00463, allocations: 84.73 kB / 0.5599 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.004675, allocations: 61.5 kB / 0.56 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.004685, allocations: 0 / 0.56 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.004801, allocations: 122.7 kB / 0.5601 GB, free: 12.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.004802, allocations: 0 / 0.5601 GB, free: 12.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002441/0.005046, allocations: 242.6 kB / 0.5603 GB, free: 11.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.00508, allocations: 81.11 kB / 0.5604 GB, free: 11.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.005155, allocations: 185.9 kB / 0.5606 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.005169, allocations: 29.7 kB / 0.5606 GB, free: 11.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.005225, allocations: 150.7 kB / 0.5607 GB, free: 11.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.005239, allocations: 23.89 kB / 0.5608 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.005282, allocations: 35.36 kB / 0.5608 GB, free: 11.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.005383, allocations: 496.1 kB / 0.5613 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.005436, allocations: 83.38 kB / 0.5614 GB, free: 10.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.005482, allocations: 79.39 kB / 0.5614 GB, free: 10.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.922e-05/0.005561, allocations: 140.7 kB / 0.5616 GB, free: 10.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005563, allocations: 0 / 0.5616 GB, free: 10.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001823/0.005745, allocations: 252.4 kB / 0.5618 GB, free: 10.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.005912, allocations: 63.39 kB / 0.5619 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005915, allocations: 0 / 0.5619 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.005924, allocations: 4 kB / 0.5619 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.00599, allocations: 23.92 kB / 0.5619 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005992, allocations: 0 / 0.5619 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.006053, allocations: 20.19 kB / 0.5619 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.006064, allocations: 7.984 kB / 0.5619 GB, free: 10.16 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 8.012e-05/0.006144, allocations: 194.3 kB / 0.5621 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.006161, allocations: 15.94 kB / 0.5621 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.006181, allocations: 16.78 kB / 0.5621 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006183, allocations: 0 / 0.5621 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.006184, allocations: 7.938 kB / 0.5621 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006187, allocations: 0 / 0.5621 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.681e-05/0.006264, allocations: 125.1 kB / 0.5623 GB, free: 9.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006265, allocations: 0 / 0.5623 GB, free: 9.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.006291, allocations: 8 kB / 0.5623 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006293, allocations: 3.984 kB / 0.5623 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.006302, allocations: 7.938 kB / 0.5623 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.006302, allocations: 0 / 0.5623 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006303, allocations: 0 / 0.5623 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.006474, allocations: 227.7 kB / 0.5625 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.006485, allocations: 11.94 kB / 0.5625 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.0065, allocations: 7.938 kB / 0.5625 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.006548, allocations: 15.98 kB / 0.5625 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.006617, allocations: 31.97 kB / 0.5626 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.006626, allocations: 7.984 kB / 0.5626 GB, free: 9.418 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.006667, allocations: 139.2 kB / 0.5627 GB, free: 9.281 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.006667, allocations: 0 / 0.5627 GB, free: 9.281 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001382/0.006805, allocations: 20 kB / 0.5627 GB, free: 9.262 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.237e-05/0.006868, allocations: 103.2 kB / 0.5628 GB, free: 9.148 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.007047, allocations: 275.5 kB / 0.5631 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007048, allocations: 0 / 0.5631 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.007128, allocations: 136.8 kB / 0.5632 GB, free: 8.676 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.007268, allocations: 22.5 kB / 0.5632 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.007675, allocations: 244.2 kB / 0.5635 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.045e-05/0.007705, allocations: 63.36 kB / 0.5635 GB, free: 8.293 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.578e-05/0.007731, allocations: 4 kB / 0.5635 GB, free: 8.289 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.00782, allocations: 98.19 kB / 0.5636 GB, free: 8.191 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007821, allocations: 0 / 0.5636 GB, free: 8.191 MB / 490.7 MB Notification: Performance of Templates: time 0.003237/0.01106, allocations: 2.265 MB / 0.5658 GB, free: 5.949 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.3240659600123763]