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.001321/0.001321, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001476/0.001476, allocations: 173 kB / 23.49 MB, free: 1.059 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.9286/0.9286, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.002477/0.002477, allocations: 234.5 kB / 260.5 MB, free: 12.89 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.6873/0.6873, allocations: 138.4 MB / 455.4 MB, free: 1.566 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.383e-06/1.383e-06, allocations: 0 / 0.555 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.404e-05, allocations: 2.312 kB / 0.555 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.001664/0.001678, allocations: 1.528 MB / 0.5565 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006129/0.002291, allocations: 0.5103 MB / 0.557 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.002345, allocations: 0 / 0.557 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.73e-05/0.002433, allocations: 7.875 kB / 0.557 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.002476, allocations: 19.86 kB / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.002699, allocations: 43.88 kB / 0.557 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.002838, allocations: 103.7 kB / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.00292, allocations: 12.17 kB / 0.5572 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.00307, allocations: 71.81 kB / 0.5572 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.003134, allocations: 39.88 kB / 0.5573 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.003152, allocations: 12 kB / 0.5573 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.579e-05/0.003188, allocations: 8 kB / 0.5573 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.003221, allocations: 8 kB / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.003273, allocations: 31.91 kB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003404, allocations: 79.72 kB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003406, allocations: 0 / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003406, allocations: 0 / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.00341, allocations: 0 / 0.5574 GB, free: 14.46 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.0004663/0.003876, allocations: 483.7 kB / 0.5579 GB, free: 13.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.003907, allocations: 12.75 kB / 0.5579 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.004017, allocations: 20.89 kB / 0.5579 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.004161, allocations: 136.5 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.004173, allocations: 8.375 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.004188, allocations: 8.375 kB / 0.558 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.004382, allocations: 136.6 kB / 0.5582 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.004388, allocations: 192 / 0.5582 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.004401, allocations: 8.125 kB / 0.5582 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.004407, allocations: 0 / 0.5582 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.004482, allocations: 73.61 kB / 0.5582 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.004805, allocations: 311.6 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.004918, allocations: 96.73 kB / 0.5586 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.004982, allocations: 77.42 kB / 0.5587 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.004994, allocations: 0 / 0.5587 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.005131, allocations: 134.7 kB / 0.5588 GB, free: 12.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.005131, allocations: 0 / 0.5588 GB, free: 12.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000307/0.005438, allocations: 262.7 kB / 0.5591 GB, free: 12.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.005478, allocations: 89.09 kB / 0.5592 GB, free: 12.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.005565, allocations: 185.9 kB / 0.5593 GB, free: 12.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.00558, allocations: 33.7 kB / 0.5594 GB, free: 12.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.005636, allocations: 154.7 kB / 0.5595 GB, free: 12.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.00565, allocations: 11.91 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.005695, allocations: 39.36 kB / 0.5596 GB, free: 11.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.005801, allocations: 0.4884 MB / 0.5601 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.005877, allocations: 95.38 kB / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.005941, allocations: 95.38 kB / 0.5602 GB, free: 11.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.359e-05/0.006034, allocations: 132.8 kB / 0.5604 GB, free: 11.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006036, allocations: 0 / 0.5604 GB, free: 11.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002258/0.006262, allocations: 276.3 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.006297, allocations: 71.39 kB / 0.5607 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.0063, allocations: 0 / 0.5607 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.00631, allocations: 0 / 0.5607 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.006383, allocations: 11.98 kB / 0.5607 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.006388, allocations: 4 kB / 0.5607 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.006449, allocations: 15.94 kB / 0.5607 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.006459, allocations: 8.25 kB / 0.5607 GB, free: 10.68 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.002e-05/0.006539, allocations: 194.3 kB / 0.5609 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.006556, allocations: 15.88 kB / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.006574, allocations: 16.77 kB / 0.5609 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.006577, allocations: 8 kB / 0.561 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.00658, allocations: 0 / 0.561 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006583, allocations: 0 / 0.561 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.766e-05/0.006661, allocations: 144.5 kB / 0.5611 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006661, allocations: 0 / 0.5611 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.00669, allocations: 15.92 kB / 0.5611 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006691, allocations: 0 / 0.5611 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.006702, allocations: 7.938 kB / 0.5611 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006703, allocations: 0 / 0.5611 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006703, allocations: 0 / 0.5611 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.0069, allocations: 243.8 kB / 0.5613 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.006911, allocations: 11.89 kB / 0.5614 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.006927, allocations: 0 / 0.5614 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.006979, allocations: 19.98 kB / 0.5614 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.007072, allocations: 43.88 kB / 0.5614 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.007079, allocations: 4 kB / 0.5614 GB, free: 9.891 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.516e-05/0.007135, allocations: 142.7 kB / 0.5616 GB, free: 9.754 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007135, allocations: 0 / 0.5616 GB, free: 9.754 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.007275, allocations: 24 kB / 0.5616 GB, free: 9.73 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.814e-05/0.007343, allocations: 107.2 kB / 0.5617 GB, free: 9.613 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.007564, allocations: 295.5 kB / 0.562 GB, free: 9.277 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007565, allocations: 0 / 0.562 GB, free: 9.277 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.717e-05/0.007663, allocations: 148.7 kB / 0.5621 GB, free: 9.109 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.007813, allocations: 23.95 kB / 0.5621 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.008317, allocations: 264.2 kB / 0.5624 GB, free: 8.785 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.008349, allocations: 63.36 kB / 0.5624 GB, free: 8.703 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.008382, allocations: 4 kB / 0.5624 GB, free: 8.699 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.008418, allocations: 20.48 kB / 0.5625 GB, free: 8.68 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008418, allocations: 0 / 0.5625 GB, free: 8.68 MB / 490.7 MB Notification: Performance of Templates: time 0.003189/0.01161, allocations: 2.051 MB / 0.5645 GB, free: 6.656 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.422308369074017]