Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001278/0.001277, allocations: 183.4 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008913/0.0008916, allocations: 92.05 kB / 0.745 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.787e-05/3.791e-05, allocations: 0 / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2778, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8347/1.113, allocations: 139.9 MB / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/1.113, allocations: 74.39 kB / 1.116 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004563/1.117, allocations: 1.499 MB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/1.117, allocations: 0 / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.117, allocations: 4.75 kB / 1.118 GB, free: 42.95 MB / 0.7448 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.0004719/1.118, allocations: 429.3 kB / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.118, allocations: 8.031 kB / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/1.118, allocations: 19.14 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/1.118, allocations: 193.6 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/1.118, allocations: 7.266 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/1.118, allocations: 8 kB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/1.119, allocations: 96.62 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.119, allocations: 0.8438 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/1.119, allocations: 4.094 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.119, allocations: 4 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/1.119, allocations: 48.97 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/1.119, allocations: 344 kB / 1.119 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/1.119, allocations: 75.97 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/1.119, allocations: 56.39 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/1.119, allocations: 0 / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/1.12, allocations: 108.4 kB / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/1.12, allocations: 0 / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003165/1.12, allocations: 183.6 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/1.12, allocations: 92.38 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.537e-05/1.12, allocations: 113.5 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/1.12, allocations: 29.7 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/1.12, allocations: 95.8 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/1.12, allocations: 18.94 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/1.12, allocations: 0.75 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/1.12, allocations: 325.1 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/1.12, allocations: 47.44 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/1.12, allocations: 46.91 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.269e-05/1.121, allocations: 86.33 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.121, allocations: 0 / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002487/1.121, allocations: 225.2 kB / 1.12 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/1.121, allocations: 62.83 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.121, allocations: 0.5625 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.121, allocations: 0.5625 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.121, allocations: 19.97 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.121, allocations: 4 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/1.121, allocations: 34.8 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/1.121, allocations: 4.938 kB / 1.121 GB, free: 40.39 MB / 0.7448 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 () * 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 7.408e-05/1.121, allocations: 152 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/1.121, allocations: 12.47 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/1.121, allocations: 12.44 kB / 1.121 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.121, allocations: 0.5156 kB / 1.121 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.121, allocations: 4 kB / 1.121 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.121, allocations: 0 / 1.121 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/1.121, allocations: 189.7 kB / 1.121 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.121, allocations: 4.562 kB / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/1.122, allocations: 12.09 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.122, allocations: 7.828 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/1.122, allocations: 4.312 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.122, allocations: 4 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.122, allocations: 0.5 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/1.122, allocations: 220.9 kB / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/1.122, allocations: 77.11 kB / 1.121 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/1.122, allocations: 4 kB / 1.121 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/1.122, allocations: 27.69 kB / 1.121 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.122, allocations: 41.3 kB / 1.121 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/1.122, allocations: 4 kB / 1.121 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.531e-05/1.122, allocations: 99.78 kB / 1.121 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.122, allocations: 0 / 1.121 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001915/1.122, allocations: 27.91 kB / 1.121 GB, free: 39.55 MB / 0.7448 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) * 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.000114/1.123, allocations: 107.5 kB / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002525/1.123, allocations: 231.2 kB / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.123, allocations: 4 kB / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/1.123, allocations: 118.1 kB / 1.122 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/1.123, allocations: 16.38 kB / 1.122 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/1.124, allocations: 147.5 kB / 1.122 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/1.124, allocations: 0.695 MB / 1.123 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.324e-05/1.124, allocations: 14.11 kB / 1.123 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/1.124, allocations: 15.38 kB / 1.123 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/1.124, allocations: 0 / 1.123 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.003468/1.127, allocations: 1.538 MB / 1.124 GB, free: 37.43 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)