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.001086/0.001086, allocations: 93.06 kB / 19.65 MB, free: 280 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.001234/0.001234, allocations: 169 kB / 23.02 MB, free: 1.555 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.9346/0.9346, 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.001584/0.001584, allocations: 236.4 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.7075/0.7075, allocations: 138.4 MB / 455.2 MB, free: 1.531 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.463e-06/1.463e-06, allocations: 0 / 0.5551 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.617e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.001724/0.00174, allocations: 1.529 MB / 0.5566 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006539/0.002394, allocations: 0.5182 MB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.002451, allocations: 0 / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.577e-05/0.002547, allocations: 11.86 kB / 0.5571 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.00259, allocations: 11.88 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.002819, allocations: 43.88 kB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.002956, allocations: 103.7 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.227e-05/0.003038, allocations: 8.188 kB / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.003192, allocations: 75.8 kB / 0.5573 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.003257, allocations: 35.89 kB / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.003277, allocations: 8 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.52e-05/0.003323, allocations: 12 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.003361, allocations: 19.91 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.003406, allocations: 27.98 kB / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.003538, allocations: 75.78 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00354, allocations: 3.938 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00354, allocations: 0 / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.003544, allocations: 0 / 0.5575 GB, free: 14.07 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.0004659/0.00401, allocations: 479.7 kB / 0.5579 GB, free: 13.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.004046, allocations: 12.75 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.004163, allocations: 20.89 kB / 0.558 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.004329, allocations: 140.5 kB / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.004338, allocations: 4.375 kB / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.004354, allocations: 8.375 kB / 0.5581 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.004548, allocations: 136.6 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.004556, allocations: 192 / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.00457, allocations: 12.12 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004577, allocations: 4 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.004651, allocations: 69.61 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.004989, allocations: 303.7 kB / 0.5586 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.005101, allocations: 92.73 kB / 0.5587 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.005163, allocations: 81.42 kB / 0.5588 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.005178, allocations: 0 / 0.5588 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.005326, allocations: 138.6 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.005327, allocations: 3.984 kB / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002983/0.005626, allocations: 262.7 kB / 0.5592 GB, free: 12.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.005661, allocations: 85.11 kB / 0.5593 GB, free: 12.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.005748, allocations: 189.7 kB / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.005763, allocations: 29.7 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.00582, allocations: 150.8 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.005834, allocations: 15.91 kB / 0.5596 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.005878, allocations: 35.44 kB / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005979, allocations: 0.4922 MB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.006057, allocations: 95.36 kB / 0.5602 GB, free: 10.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.006122, allocations: 99.38 kB / 0.5603 GB, free: 10.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.006214, allocations: 132.8 kB / 0.5605 GB, free: 10.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.006219, allocations: 0 / 0.5605 GB, free: 10.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00021/0.006429, allocations: 276.3 kB / 0.5607 GB, free: 10.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.006463, allocations: 67.39 kB / 0.5608 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.006467, allocations: 0 / 0.5608 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.00648, allocations: 4 kB / 0.5608 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.006558, allocations: 11.98 kB / 0.5608 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006562, allocations: 0 / 0.5608 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.006626, allocations: 27.88 kB / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.006637, allocations: 4 kB / 0.5608 GB, free: 10.3 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.268e-05/0.006719, allocations: 194.3 kB / 0.561 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.006738, allocations: 19.92 kB / 0.561 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.006761, allocations: 13.03 kB / 0.561 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.006763, allocations: 7.938 kB / 0.561 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.006768, allocations: 4 kB / 0.5611 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006771, allocations: 0 / 0.5611 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.909e-05/0.00685, allocations: 140.5 kB / 0.5612 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.006851, allocations: 0 / 0.5612 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.00688, allocations: 15.92 kB / 0.5612 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006882, allocations: 0 / 0.5612 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.006891, allocations: 0 / 0.5612 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006891, allocations: 8 kB / 0.5612 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006892, allocations: 0 / 0.5612 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.007175, allocations: 239.8 kB / 0.5614 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.007186, allocations: 11.89 kB / 0.5614 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.007202, allocations: 0 / 0.5614 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.007255, allocations: 23.97 kB / 0.5615 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.007354, allocations: 35.95 kB / 0.5615 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.007363, allocations: 4 kB / 0.5615 GB, free: 9.512 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.717e-05/0.00741, allocations: 143.1 kB / 0.5616 GB, free: 9.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00741, allocations: 0 / 0.5616 GB, free: 9.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001398/0.00755, allocations: 28 kB / 0.5617 GB, free: 9.344 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.889e-05/0.007619, allocations: 103.2 kB / 0.5618 GB, free: 9.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.00785, allocations: 295.5 kB / 0.5621 GB, free: 8.895 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007851, allocations: 0 / 0.5621 GB, free: 8.895 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.007947, allocations: 148.7 kB / 0.5622 GB, free: 8.727 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.008103, allocations: 20.02 kB / 0.5622 GB, free: 8.707 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.008666, allocations: 256.3 kB / 0.5625 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.005e-05/0.008696, allocations: 59.36 kB / 0.5625 GB, free: 8.336 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.119e-05/0.008727, allocations: 8 kB / 0.5625 GB, free: 8.328 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.008769, allocations: 20.48 kB / 0.5625 GB, free: 8.309 MB / 490.7 MB Notification: Performance of SimCode: time 4.4e-07/0.008769, allocations: 0 / 0.5625 GB, free: 8.309 MB / 490.7 MB Notification: Performance of Templates: time 0.003584/0.01235, allocations: 2.057 MB / 0.5646 GB, free: 6.277 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.6262953178957105]