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.657/1.657, allocations: 285.4 MB / 298 MB, free: 5.98 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.001116/0.001116, allocations: 172.9 kB / 366.4 MB, free: 2.117 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.581/1.581, allocations: 205.1 MB / 0.6248 GB, free: 7.777 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.0008597/0.0008597, allocations: 92.89 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.63e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8186/0.8187, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/1.009, allocations: 138.9 MB / 1.107 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.009, allocations: 71.95 kB / 1.107 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004644/1.014, allocations: 1.505 MB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.272e-06/1.014, allocations: 1.719 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.106e-06/1.014, allocations: 0 / 1.108 GB, free: 11.36 MB / 0.7136 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.0005846/1.014, allocations: 438 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.014, allocations: 8.75 kB / 1.109 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/1.015, allocations: 7.906 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/1.015, allocations: 191.8 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/1.015, allocations: 8.656 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/1.015, allocations: 4 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/1.015, allocations: 90.84 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/1.015, allocations: 0 / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/1.015, allocations: 8 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.015, allocations: 4.625 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/1.015, allocations: 51.98 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/1.016, allocations: 346.2 kB / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/1.016, allocations: 76.59 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/1.016, allocations: 48.98 kB / 1.109 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/1.016, allocations: 0 / 1.109 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/1.016, allocations: 111.3 kB / 1.109 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/1.016, allocations: 3.281 kB / 1.109 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000355/1.017, allocations: 177.8 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/1.017, allocations: 96.98 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/1.017, allocations: 119.2 kB / 1.11 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/1.017, allocations: 25.7 kB / 1.11 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/1.017, allocations: 96.05 kB / 1.11 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/1.017, allocations: 19.75 kB / 1.11 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/1.017, allocations: 8 kB / 1.11 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.017, allocations: 318.8 kB / 1.11 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/1.017, allocations: 51.92 kB / 1.11 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/1.017, allocations: 47.98 kB / 1.11 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.503e-05/1.018, allocations: 83.39 kB / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.018, allocations: 0 / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003108/1.018, allocations: 217 kB / 1.111 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/1.018, allocations: 63.39 kB / 1.111 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.018, allocations: 0 / 1.111 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/1.018, allocations: 8 kB / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/1.018, allocations: 15.98 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.018, allocations: 0 / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/1.018, allocations: 40.58 kB / 1.111 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/1.018, allocations: 4 kB / 1.111 GB, free: 8.371 MB / 0.7136 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 9.918e-05/1.018, allocations: 144.2 kB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/1.018, allocations: 11.89 kB / 1.111 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/1.018, allocations: 12.62 kB / 1.111 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.018, allocations: 0 / 1.111 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.018, allocations: 0 / 1.111 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.018, allocations: 3.984 kB / 1.111 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/1.019, allocations: 199.2 kB / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.019, allocations: 0 / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/1.019, allocations: 27.92 kB / 1.111 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.019, allocations: 0 / 1.111 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.019, allocations: 7.938 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.019, allocations: 6.141 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.019, allocations: 0 / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/1.019, allocations: 210.6 kB / 1.111 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/1.019, allocations: 85.02 kB / 1.111 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/1.019, allocations: 0 / 1.111 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/1.019, allocations: 35.97 kB / 1.111 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/1.019, allocations: 35.95 kB / 1.112 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/1.019, allocations: 0 / 1.112 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.039e-05/1.02, allocations: 103.3 kB / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.02, allocations: 0 / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002116/1.02, allocations: 20 kB / 1.112 GB, free: 7.391 MB / 0.7136 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.0001684/1.02, allocations: 115.1 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002995/1.02, allocations: 224.8 kB / 1.112 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.02, allocations: 0 / 1.112 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/1.02, allocations: 123.4 kB / 1.112 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/1.021, allocations: 11.95 kB / 1.112 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/1.021, allocations: 147.8 kB / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/1.021, allocations: 0.6974 MB / 1.113 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.009e-05/1.021, allocations: 12.17 kB / 1.113 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/1.021, allocations: 11.38 kB / 1.113 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/1.021, allocations: 0 / 1.113 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of Templates: time 0.003876/1.025, allocations: 1.527 MB / 1.114 GB, free: 4.492 MB / 0.7136 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)