Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.879/1.879, allocations: 288.3 MB / 303.2 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001479, allocations: 186.3 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009943/0.0009941, allocations: 90.86 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000513/0.000513, allocations: 10.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3058, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.372, allocations: 139 MB / 1.115 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/1.372, allocations: 70.73 kB / 1.115 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006049/1.378, allocations: 1.516 MB / 1.117 GB, free: 31.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.426e-06/1.378, allocations: 0 / 1.117 GB, free: 31.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.196e-05/1.378, allocations: 0 / 1.117 GB, free: 31.91 MB / 0.698 GB 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.0007381/1.379, allocations: 453.2 kB / 1.117 GB, free: 31.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/1.379, allocations: 7.438 kB / 1.117 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/1.379, allocations: 11.56 kB / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/1.38, allocations: 184.7 kB / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/1.38, allocations: 7.656 kB / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/1.38, allocations: 19.11 kB / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/1.38, allocations: 116.7 kB / 1.117 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.38, allocations: 0 / 1.117 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/1.38, allocations: 7.219 kB / 1.117 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/1.38, allocations: 2.062 kB / 1.117 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/1.38, allocations: 107.1 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/1.381, allocations: 338.7 kB / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/1.381, allocations: 125.3 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.654e-05/1.381, allocations: 0 / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/1.382, allocations: 135.5 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/1.382, allocations: 0 / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007392/1.382, allocations: 298.4 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.383, allocations: 87.02 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/1.383, allocations: 123.9 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/1.383, allocations: 33.55 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/1.383, allocations: 97.8 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/1.383, allocations: 15.25 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-06/1.383, allocations: 0 / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.383, allocations: 320.8 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/1.383, allocations: 71.25 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/1.383, allocations: 75.55 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/1.384, allocations: 111.3 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.384, allocations: 0 / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000525/1.384, allocations: 274.3 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/1.384, allocations: 64.83 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.384, allocations: 0 / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/1.384, allocations: 3.875 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/1.384, allocations: 20.28 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/1.384, allocations: 0 / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/1.385, allocations: 38.28 kB / 1.12 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/1.385, allocations: 7.734 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000161/1.385, allocations: 160.6 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/1.385, allocations: 7.781 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/1.385, allocations: 19.12 kB / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.385, allocations: 0 / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.385, allocations: 0 / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.385, allocations: 0 / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/1.385, allocations: 198.6 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.385, allocations: 0 / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/1.385, allocations: 15.11 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.385, allocations: 4 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/1.385, allocations: 3.812 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.385, allocations: 3.141 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.385, allocations: 0 / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/1.386, allocations: 264.7 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/1.386, allocations: 86.12 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/1.386, allocations: 3.812 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/1.386, allocations: 26.66 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.386, allocations: 40.88 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/1.386, allocations: 11.28 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.534e-05/1.386, allocations: 100.2 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.386, allocations: 0 / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002162/1.386, allocations: 23.12 kB / 1.121 GB, free: 29.27 MB / 0.698 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/1.387, allocations: 107.9 kB / 1.121 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005347/1.387, allocations: 276.9 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.387, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002675/1.387, allocations: 158.7 kB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/1.388, allocations: 11.33 kB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/1.388, allocations: 231.5 kB / 1.121 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/1.389, allocations: 0.7008 MB / 1.122 GB, free: 28.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.441e-05/1.389, allocations: 10.73 kB / 1.122 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/1.389, allocations: 11.25 kB / 1.122 GB, free: 28.11 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/1.389, allocations: 0 / 1.122 GB, free: 28.11 MB / 0.698 GB Notification: Performance of Templates: time 0.004361/1.393, allocations: 1.532 MB / 1.124 GB, free: 27.98 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)