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.001898/0.001898, allocations: 85.48 kB / 19.44 MB, free: 340 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.002128/0.002128, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.595/1.595, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.003429/0.003429, allocations: 237.3 kB / 259.8 MB, free: 12.82 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 1.191/1.191, allocations: 138.5 MB / 454.7 MB, free: 1.5 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.913e-06/1.913e-06, allocations: 0 / 0.5543 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.786e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.00432/0.004348, allocations: 1.49 MB / 0.5558 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005978, allocations: 0.5026 MB / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.006045, allocations: 0 / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.00616, allocations: 3.938 kB / 0.5563 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.00624, allocations: 15.88 kB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.006602, allocations: 59.73 kB / 0.5563 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.006867, allocations: 91.77 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.006976, allocations: 12.17 kB / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.007268, allocations: 67.81 kB / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.007393, allocations: 35.89 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.007436, allocations: 8 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.007502, allocations: 12 kB / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.007566, allocations: 19.91 kB / 0.5566 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.783e-05/0.007654, allocations: 27.98 kB / 0.5566 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.00793, allocations: 103.7 kB / 0.5567 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.007932, allocations: 0 / 0.5567 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007933, allocations: 0 / 0.5567 GB, free: 14.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.007938, allocations: 0 / 0.5567 GB, free: 14.44 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.001026/0.008964, allocations: 483.3 kB / 0.5571 GB, free: 13.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.00901, allocations: 8.75 kB / 0.5572 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.009248, allocations: 24.88 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.009555, allocations: 144.4 kB / 0.5573 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.009581, allocations: 8.375 kB / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.009609, allocations: 8.375 kB / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.0101, allocations: 147.9 kB / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.01011, allocations: 192 / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.01013, allocations: 4.125 kB / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.01014, allocations: 7.984 kB / 0.5575 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.0106, allocations: 105.6 kB / 0.5576 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.0114, allocations: 303.8 kB / 0.5579 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.0119, allocations: 132.7 kB / 0.558 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.01222, allocations: 101.4 kB / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.01224, allocations: 4 kB / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.01272, allocations: 154.6 kB / 0.5583 GB, free: 12.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.01272, allocations: 0 / 0.5583 GB, free: 12.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001241/0.01396, allocations: 326.6 kB / 0.5586 GB, free: 12.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.01406, allocations: 77.11 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.01432, allocations: 201.6 kB / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.01436, allocations: 33.7 kB / 0.5589 GB, free: 11.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.01451, allocations: 150.8 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.01455, allocations: 15.91 kB / 0.559 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.01468, allocations: 43.36 kB / 0.5591 GB, free: 11.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003923/0.01507, allocations: 0.4923 MB / 0.5595 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.01542, allocations: 119.3 kB / 0.5597 GB, free: 11.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.01576, allocations: 119.4 kB / 0.5598 GB, free: 11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.01627, allocations: 172.8 kB / 0.5599 GB, free: 10.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01628, allocations: 0 / 0.5599 GB, free: 10.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009143/0.01719, allocations: 320.3 kB / 0.5602 GB, free: 10.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.0173, allocations: 67.39 kB / 0.5603 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.0173, allocations: 0 / 0.5603 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01732, allocations: 0 / 0.5603 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.01748, allocations: 15.98 kB / 0.5603 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01749, allocations: 0 / 0.5603 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.0177, allocations: 23.94 kB / 0.5603 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.01773, allocations: 4 kB / 0.5603 GB, free: 10.34 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 0.0002461/0.01797, allocations: 202.3 kB / 0.5605 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.01804, allocations: 23.81 kB / 0.5606 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.01808, allocations: 8.781 kB / 0.5606 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01808, allocations: 4 kB / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01808, allocations: 0 / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01809, allocations: 0 / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.01834, allocations: 148.5 kB / 0.5607 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01834, allocations: 3.938 kB / 0.5607 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.01845, allocations: 15.92 kB / 0.5607 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01846, allocations: 0 / 0.5607 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.01848, allocations: 4 kB / 0.5607 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01848, allocations: 0 / 0.5607 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.01849, allocations: 4 kB / 0.5607 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008408/0.01933, allocations: 276 kB / 0.561 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.01936, allocations: 11.95 kB / 0.561 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.0194, allocations: 12 kB / 0.561 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.01959, allocations: 11.98 kB / 0.561 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.01978, allocations: 39.95 kB / 0.5611 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.0198, allocations: 4 kB / 0.5611 GB, free: 9.504 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.01996, allocations: 151.2 kB / 0.5612 GB, free: 9.355 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.01996, allocations: 0 / 0.5612 GB, free: 9.355 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004088/0.02037, allocations: 28 kB / 0.5613 GB, free: 9.328 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 0.0001638/0.02053, allocations: 99.19 kB / 0.5613 GB, free: 9.219 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009083/0.02144, allocations: 347.5 kB / 0.5617 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02144, allocations: 0 / 0.5617 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.0219, allocations: 176.7 kB / 0.5618 GB, free: 8.637 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.02226, allocations: 27.91 kB / 0.5619 GB, free: 8.609 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.02308, allocations: 260.3 kB / 0.5621 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.02319, allocations: 71.33 kB / 0.5622 GB, free: 8.223 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.557e-05/0.02328, allocations: 7.984 kB / 0.5622 GB, free: 8.215 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.02334, allocations: 12.5 kB / 0.5622 GB, free: 8.203 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02334, allocations: 8 kB / 0.5622 GB, free: 8.195 MB / 490.7 MB Notification: Performance of Templates: time 0.008798/0.03214, allocations: 2.038 MB / 0.5642 GB, free: 6.18 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: 6.053865806083195]