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.0009664/0.0009664, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009242/0.0009242, allocations: 169 kB / 23.27 MB, free: 1.223 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.8962/0.8962, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.002303/0.002303, allocations: 241.5 kB / 260.5 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.6999/0.6999, allocations: 138.4 MB / 455.5 MB, free: 29.57 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 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.282e-06/1.282e-06, allocations: 0 / 0.5555 GB, free: 15.77 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/1.074e-05, allocations: 2.312 kB / 0.5555 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.00157/0.001581, allocations: 1.537 MB / 0.557 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006114/0.002192, allocations: 0.5024 MB / 0.5575 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.002244, allocations: 0 / 0.5575 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.485e-05/0.002319, allocations: 3.938 kB / 0.5575 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.002361, allocations: 23.86 kB / 0.5575 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.002563, allocations: 43.88 kB / 0.5576 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.002684, allocations: 103.7 kB / 0.5577 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.572e-05/0.00275, allocations: 8.188 kB / 0.5577 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.002892, allocations: 75.73 kB / 0.5578 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.002952, allocations: 35.89 kB / 0.5578 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.00297, allocations: 8 kB / 0.5578 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.332e-05/0.003004, allocations: 12 kB / 0.5578 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.003033, allocations: 15.92 kB / 0.5578 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.003073, allocations: 27.97 kB / 0.5579 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.003179, allocations: 79.78 kB / 0.5579 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.00318, allocations: 0 / 0.5579 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00318, allocations: 0 / 0.5579 GB, free: 13.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.003183, allocations: 0 / 0.5579 GB, free: 13.27 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.0003856/0.003569, allocations: 479.7 kB / 0.5584 GB, free: 12.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.003598, allocations: 13.94 kB / 0.5584 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.003686, allocations: 20.89 kB / 0.5584 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.003799, allocations: 136.5 kB / 0.5586 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003809, allocations: 16.31 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.003821, allocations: 12.38 kB / 0.5586 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.00396, allocations: 124.6 kB / 0.5587 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.003965, allocations: 4.125 kB / 0.5587 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.003976, allocations: 12.12 kB / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.00398, allocations: 0 / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.004265, allocations: 53.67 kB / 0.5588 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.004522, allocations: 280.4 kB / 0.559 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.004604, allocations: 88.67 kB / 0.5591 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.004647, allocations: 61.5 kB / 0.5592 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.004655, allocations: 0 / 0.5592 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.004765, allocations: 126.6 kB / 0.5593 GB, free: 11.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.004766, allocations: 0 / 0.5593 GB, free: 11.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002469/0.005013, allocations: 238.6 kB / 0.5595 GB, free: 11.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.005045, allocations: 85.11 kB / 0.5596 GB, free: 11.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.005114, allocations: 185.9 kB / 0.5598 GB, free: 11.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.005128, allocations: 29.69 kB / 0.5598 GB, free: 11.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.005175, allocations: 146.8 kB / 0.56 GB, free: 10.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.005188, allocations: 15.91 kB / 0.56 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.005231, allocations: 43.34 kB / 0.56 GB, free: 10.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.005331, allocations: 0.4923 MB / 0.5605 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.005378, allocations: 75.39 kB / 0.5606 GB, free: 10.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.654e-05/0.005425, allocations: 87.38 kB / 0.5606 GB, free: 10.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.523e-05/0.0055, allocations: 136.8 kB / 0.5608 GB, free: 10.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005502, allocations: 0 / 0.5608 GB, free: 10.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001752/0.005677, allocations: 256.3 kB / 0.561 GB, free: 9.773 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.005708, allocations: 66.06 kB / 0.5611 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.005713, allocations: 4 kB / 0.5611 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.005721, allocations: 0 / 0.5611 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.005782, allocations: 15.92 kB / 0.5611 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.005784, allocations: 4 kB / 0.5611 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.005841, allocations: 15.98 kB / 0.5611 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.005853, allocations: 11.98 kB / 0.5611 GB, free: 9.648 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.448e-05/0.005927, allocations: 194.3 kB / 0.5613 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.005948, allocations: 19.89 kB / 0.5613 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.005968, allocations: 12.77 kB / 0.5614 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.005971, allocations: 4 kB / 0.5614 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.005972, allocations: 0 / 0.5614 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005976, allocations: 0 / 0.5614 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.096e-05/0.006046, allocations: 125.1 kB / 0.5615 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006048, allocations: 256 / 0.5615 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.006073, allocations: 11.98 kB / 0.5615 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.006076, allocations: 4 kB / 0.5615 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.006085, allocations: 7.938 kB / 0.5615 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.006086, allocations: 0 / 0.5615 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006086, allocations: 0 / 0.5615 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.006255, allocations: 227.7 kB / 0.5617 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.006264, allocations: 7.953 kB / 0.5617 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.006279, allocations: 11.94 kB / 0.5617 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.006327, allocations: 15.98 kB / 0.5617 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.006393, allocations: 35.95 kB / 0.5618 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.006399, allocations: 4 kB / 0.5618 GB, free: 8.902 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.00644, allocations: 142.5 kB / 0.5619 GB, free: 8.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00644, allocations: 0 / 0.5619 GB, free: 8.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001285/0.006569, allocations: 27.98 kB / 0.5619 GB, free: 8.738 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 5.858e-05/0.006627, allocations: 95.25 kB / 0.562 GB, free: 8.633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.006795, allocations: 279.6 kB / 0.5623 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006796, allocations: 0 / 0.5623 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.006873, allocations: 132.8 kB / 0.5624 GB, free: 8.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.007006, allocations: 16.81 kB / 0.5625 GB, free: 8.145 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.007403, allocations: 252.2 kB / 0.5627 GB, free: 7.859 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.647e-05/0.00743, allocations: 59.34 kB / 0.5627 GB, free: 7.781 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.664e-05/0.007456, allocations: 8 kB / 0.5628 GB, free: 7.773 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.007541, allocations: 102.2 kB / 0.5629 GB, free: 7.672 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007542, allocations: 0 / 0.5629 GB, free: 7.672 MB / 490.7 MB Notification: Performance of Templates: time 0.003117/0.01066, allocations: 2.202 MB / 0.565 GB, free: 5.512 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.3270928310230374]