Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.738/1.738, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001568, allocations: 183.2 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.2 MB / 0.6626 GB, free: 4.316 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008266/0.0008266, allocations: 91.81 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004848, allocations: 15.47 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8807/0.8812, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/1.111, allocations: 141.9 MB / 1.165 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.111, allocations: 95.22 kB / 1.165 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002312/1.114, allocations: 0.8884 MB / 1.166 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.106e-06/1.114, allocations: 0 / 1.166 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.114, allocations: 0.625 kB / 1.166 GB, free: 0.8242 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003049/1.114, allocations: 336.5 kB / 1.166 GB, free: 468 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.114, allocations: 12.03 kB / 1.166 GB, free: 456 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/1.114, allocations: 5.906 kB / 1.166 GB, free: 452 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.884e-05/1.114, allocations: 165.8 kB / 1.166 GB, free: 248 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/1.114, allocations: 1.781 kB / 1.166 GB, free: 248 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/1.114, allocations: 384 / 1.166 GB, free: 248 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/1.114, allocations: 44.12 kB / 1.166 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.114, allocations: 0.8125 kB / 1.166 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.114, allocations: 5.094 kB / 1.166 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.114, allocations: 4 kB / 1.166 GB, free: 196 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.5e-05/1.114, allocations: 24.14 kB / 1.166 GB, free: 180 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/1.115, allocations: 256.9 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/1.115, allocations: 34.94 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/1.115, allocations: 27.2 kB / 1.167 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/1.115, allocations: 0 / 1.167 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/1.115, allocations: 31.45 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/1.115, allocations: 0.625 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002614/1.115, allocations: 73.11 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.115, allocations: 56.78 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.943e-05/1.116, allocations: 105.3 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/1.116, allocations: 26.59 kB / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/1.116, allocations: 86.38 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/1.116, allocations: 3.906 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/1.116, allocations: 0 / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.116, allocations: 321.5 kB / 1.167 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/1.116, allocations: 6.531 kB / 1.167 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/1.116, allocations: 11.97 kB / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.701e-05/1.116, allocations: 31.55 kB / 1.167 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.116, allocations: 0 / 1.167 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/1.116, allocations: 66.19 kB / 1.167 GB, free: 15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.116, allocations: 4.625 kB / 1.167 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.116, allocations: 1.922 kB / 1.167 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/1.116, allocations: 0.7031 kB / 1.167 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/1.116, allocations: 9.453 kB / 1.167 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.116, allocations: 2.219 kB / 1.167 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/1.116, allocations: 1.031 kB / 1.167 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/1.116, allocations: 6.5 kB / 1.168 GB, free: 14.98 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: 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 7.456e-05/1.116, allocations: 111.6 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/1.116, allocations: 8.797 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/1.116, allocations: 9.312 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.116, allocations: 1.172 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.117, allocations: 0 / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/1.117, allocations: 0 / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/1.117, allocations: 166.8 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.117, allocations: 2.125 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/1.117, allocations: 11.16 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/1.117, allocations: 2.297 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.117, allocations: 0.9375 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.117, allocations: 3.938 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.117, allocations: 1.297 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/1.117, allocations: 152.8 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/1.117, allocations: 82.3 kB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/1.117, allocations: 4.703 kB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/1.117, allocations: 1.578 kB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/1.117, allocations: 5.453 kB / 1.168 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/1.117, allocations: 0.7969 kB / 1.168 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.589e-05/1.117, allocations: 83.42 kB / 1.168 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.117, allocations: 0.5625 kB / 1.168 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002024/1.117, allocations: 4 kB / 1.168 GB, free: 14.29 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: 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.0001167/1.118, allocations: 102.8 kB / 1.168 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001269/1.118, allocations: 24.06 kB / 1.168 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.118, allocations: 9.75 kB / 1.168 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/1.118, allocations: 10.34 kB / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/1.118, allocations: 8.188 kB / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/1.118, allocations: 135.7 kB / 1.168 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/1.119, allocations: 0.6803 MB / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.624e-05/1.119, allocations: 0 / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/1.119, allocations: 8.094 kB / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.119, allocations: 4 kB / 1.169 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of Templates: time 0.002212/1.121, allocations: 273.3 kB / 1.169 GB, free: 13.13 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)