Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.481/2.481, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 172.3 kB / 360.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.2 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.00111, allocations: 87.72 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/3.005e-05, allocations: 0 / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8626, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/1.104, allocations: 138.7 MB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/1.105, allocations: 91.94 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007293/1.112, allocations: 1.505 MB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/1.112, allocations: 1.75 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.313e-05/1.112, allocations: 4 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008192/1.113, allocations: 437.9 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.113, allocations: 12.88 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/1.113, allocations: 12.8 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/1.113, allocations: 187.4 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/1.113, allocations: 1.75 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/1.113, allocations: 4 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001706/1.114, allocations: 35.98 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/1.114, allocations: 73.61 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.114, allocations: 0 / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/1.114, allocations: 0.5938 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.114, allocations: 0.625 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007733/1.115, allocations: 312.2 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/1.115, allocations: 55.44 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.248e-05/1.115, allocations: 29.55 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/1.115, allocations: 8.062 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/1.115, allocations: 80.17 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/1.115, allocations: 7.844 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003395/1.116, allocations: 91.94 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/1.116, allocations: 85.09 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/1.116, allocations: 117.9 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/1.116, allocations: 29.64 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/1.116, allocations: 96.05 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/1.116, allocations: 27.67 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/1.116, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.116, allocations: 320.8 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/1.116, allocations: 27.98 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/1.116, allocations: 24.84 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.603e-05/1.116, allocations: 19.98 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.116, allocations: 5.312 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003132/1.117, allocations: 113.5 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/1.117, allocations: 60.5 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.117, allocations: 3.984 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.117, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/1.117, allocations: 19.98 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/1.117, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/1.117, allocations: 31.84 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/1.117, allocations: 1.594 kB / 1.103 GB, free: 13.77 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,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.000138/1.118, allocations: 149 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/1.118, allocations: 7.906 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/1.118, allocations: 8.625 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.118, allocations: 3.938 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.118, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.118, allocations: 4 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/1.118, allocations: 335.1 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.118, allocations: 4 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/1.118, allocations: 15.98 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.118, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/1.118, allocations: 3.984 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.119, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.119, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/1.119, allocations: 207.3 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/1.119, allocations: 90.45 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/1.119, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/1.119, allocations: 25.19 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.119, allocations: 19.97 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/1.119, allocations: 0 / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.392e-05/1.12, allocations: 96.69 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/1.12, allocations: 4 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003526/1.12, allocations: 23.92 kB / 1.104 GB, free: 12.71 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,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0001688/1.12, allocations: 107.2 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003478/1.12, allocations: 186.7 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.12, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/1.121, allocations: 90.52 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/1.121, allocations: 12.2 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/1.121, allocations: 124.5 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/1.122, allocations: 0.6963 MB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001001/1.122, allocations: 11.98 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/1.122, allocations: 15.44 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/1.122, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.004854/1.127, allocations: 1.027 MB / 1.106 GB, free: 10.42 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)