Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001275/0.001274, allocations: 192.7 kB / 377.1 MB, free: 1.543 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.921/1.921, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.0008529/0.000853, allocations: 89.95 kB / 0.751 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 11.98 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8532/1.181, allocations: 140.5 MB / 1.126 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/1.182, allocations: 97.44 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005327/1.187, allocations: 1.517 MB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.368e-06/1.187, allocations: 0 / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.107e-05/1.187, allocations: 7.875 kB / 1.127 GB, free: 33.19 MB / 0.7292 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.0006059/1.188, allocations: 449.4 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.188, allocations: 12.02 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/1.188, allocations: 9.969 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/1.188, allocations: 191.1 kB / 1.128 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/1.188, allocations: 7.562 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/1.188, allocations: 11.44 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/1.189, allocations: 103.2 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.189, allocations: 0 / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/1.189, allocations: 0.5156 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.189, allocations: 4 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/1.189, allocations: 88.48 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/1.19, allocations: 342.1 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/1.19, allocations: 97.56 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/1.19, allocations: 0 / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/1.19, allocations: 113.2 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/1.19, allocations: 0 / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006487/1.191, allocations: 235.7 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.191, allocations: 84.44 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/1.191, allocations: 126 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/1.191, allocations: 29.7 kB / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/1.191, allocations: 103.5 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/1.191, allocations: 15.14 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/1.191, allocations: 4 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/1.191, allocations: 318.8 kB / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.191, allocations: 50.5 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/1.192, allocations: 66.48 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/1.192, allocations: 99.12 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.192, allocations: 0 / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004009/1.192, allocations: 225.8 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/1.192, allocations: 65 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.192, allocations: 0 / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.192, allocations: 0 / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/1.192, allocations: 30.92 kB / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.192, allocations: 0 / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/1.193, allocations: 30.41 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/1.193, allocations: 0 / 1.13 GB, free: 30.32 MB / 0.7292 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 () * Number of clocked 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.0001136/1.193, allocations: 148.2 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/1.193, allocations: 15.91 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/1.193, allocations: 12.72 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/1.193, allocations: 0 / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.193, allocations: 3.609 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/1.193, allocations: 5.234 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/1.193, allocations: 455.4 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.193, allocations: 0 / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/1.193, allocations: 19.66 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/1.193, allocations: 0 / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/1.193, allocations: 4 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.194, allocations: 0 / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.194, allocations: 4 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/1.194, allocations: 281.9 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/1.194, allocations: 89.58 kB / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/1.194, allocations: 0 / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/1.194, allocations: 23.89 kB / 1.131 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.194, allocations: 24.33 kB / 1.131 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/1.194, allocations: 4 kB / 1.131 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.11e-05/1.194, allocations: 108 kB / 1.131 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.194, allocations: 0.75 kB / 1.131 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002375/1.195, allocations: 24 kB / 1.131 GB, free: 29.12 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0001635/1.195, allocations: 99.95 kB / 1.131 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004403/1.195, allocations: 238.8 kB / 1.131 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.195, allocations: 4 kB / 1.131 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/1.195, allocations: 118.6 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/1.196, allocations: 7.516 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/1.196, allocations: 223.5 kB / 1.132 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/1.196, allocations: 0.6949 MB / 1.132 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.728e-05/1.197, allocations: 15.52 kB / 1.132 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/1.197, allocations: 11.44 kB / 1.133 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/1.197, allocations: 0.9375 kB / 1.133 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.00395/1.201, allocations: 1.105 MB / 1.134 GB, free: 27.1 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)