Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.4 MB / 304.3 MB, free: 8.074 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.001017/0.001017, allocations: 184.5 kB / 373 MB, free: 10.17 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.804/1.804, allocations: 205.4 MB / 0.6317 GB, free: 9.809 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.0008641/0.000864, allocations: 92.73 kB / 0.745 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004913, allocations: 16.22 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7386/0.9656, allocations: 138.8 MB / 1.116 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.9659, allocations: 93.09 kB / 1.116 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002531/0.9684, allocations: 0.84 MB / 1.117 GB, free: 32.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9684, allocations: 0 / 1.117 GB, free: 32.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.9684, allocations: 0 / 1.117 GB, free: 32.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003206/0.9688, allocations: 333.8 kB / 1.117 GB, free: 31.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.9688, allocations: 11.5 kB / 1.117 GB, free: 31.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.9689, allocations: 4.938 kB / 1.117 GB, free: 31.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.969, allocations: 167.5 kB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.969, allocations: 384 / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.969, allocations: 3.375 kB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.9691, allocations: 51.53 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.9692, allocations: 192 / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.9692, allocations: 3.938 kB / 1.118 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.9692, allocations: 0 / 1.118 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.9693, allocations: 32.34 kB / 1.118 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.9696, allocations: 254.8 kB / 1.118 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.9697, allocations: 35.23 kB / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.9698, allocations: 25.11 kB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.9698, allocations: 0 / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.9698, allocations: 34.66 kB / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.9698, allocations: 0 / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002358/0.9701, allocations: 67.64 kB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.9701, allocations: 56.88 kB / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.9702, allocations: 102.9 kB / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.9702, allocations: 27.08 kB / 1.118 GB, free: 31.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.9703, allocations: 83.33 kB / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.9703, allocations: 10.05 kB / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.9703, allocations: 0 / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.9704, allocations: 312.2 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.31e-05/0.9705, allocations: 18.42 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.9705, allocations: 6.5 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.332e-05/0.9706, allocations: 36.7 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9706, allocations: 1.312 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.9707, allocations: 62.45 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9707, allocations: 5.25 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.9708, allocations: 0 / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.9708, allocations: 0 / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.9709, allocations: 6.594 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.9709, allocations: 0 / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.9709, allocations: 9.328 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.9709, allocations: 0 / 1.119 GB, free: 30.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.838e-05/0.971, allocations: 124.9 kB / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.971, allocations: 3.906 kB / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.971, allocations: 6.297 kB / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.971, allocations: 0 / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.9711, allocations: 0 / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.9711, allocations: 3.875 kB / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.9712, allocations: 161.7 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9712, allocations: 1.969 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.9713, allocations: 7.75 kB / 1.119 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.9713, allocations: 0 / 1.119 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.9713, allocations: 10.28 kB / 1.119 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9713, allocations: 3.938 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.9713, allocations: 0 / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.9714, allocations: 152 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.9715, allocations: 77.11 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.9715, allocations: 3.969 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.9716, allocations: 4.031 kB / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.9716, allocations: 7.156 kB / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.9716, allocations: 0 / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.9716, allocations: 82.34 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9716, allocations: 0 / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001983/0.9718, allocations: 7.75 kB / 1.119 GB, free: 29.93 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001098/0.972, allocations: 97.59 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.9721, allocations: 33.95 kB / 1.12 GB, free: 29.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9721, allocations: 0 / 1.12 GB, free: 29.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.9721, allocations: 18.16 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.9724, allocations: 9.469 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.9726, allocations: 133 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.9729, allocations: 0.6794 MB / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.9729, allocations: 0 / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.9729, allocations: 11.38 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9729, allocations: 0 / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of Templates: time 0.001855/0.9748, allocations: 281 kB / 1.121 GB, free: 28.95 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)