Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 293 MB / 309 MB, free: 4.816 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.001375/0.001375, allocations: 176.6 kB / 378.7 MB, free: 1.02 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.863/1.863, allocations: 205.4 MB / 0.6383 GB, free: 9.18 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.0008414/0.0008415, allocations: 93.3 kB / 0.7527 GB, free: 62.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2904, allocations: 116.4 MB / 0.9904 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7667/1.057, allocations: 139.8 MB / 1.127 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/1.058, allocations: 94.41 kB / 1.127 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002196/1.06, allocations: 0.8441 MB / 1.128 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.975e-06/1.06, allocations: 3.938 kB / 1.128 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.06, allocations: 1.281 kB / 1.128 GB, free: 33.5 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.0003281/1.06, allocations: 342.2 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.06, allocations: 12.03 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/1.06, allocations: 4.312 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.776e-05/1.06, allocations: 161 kB / 1.128 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/1.06, allocations: 4.375 kB / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/1.06, allocations: 384 / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.06, allocations: 45.7 kB / 1.128 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.06, allocations: 192 / 1.128 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/1.061, allocations: 5.359 kB / 1.128 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.061, allocations: 4 kB / 1.128 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/1.061, allocations: 24.44 kB / 1.128 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/1.061, allocations: 263.2 kB / 1.129 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/1.061, allocations: 31.08 kB / 1.129 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/1.061, allocations: 24.44 kB / 1.129 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/1.061, allocations: 4 kB / 1.129 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/1.061, allocations: 31.06 kB / 1.129 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.061, allocations: 0 / 1.129 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002233/1.061, allocations: 74.12 kB / 1.129 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.061, allocations: 52.28 kB / 1.129 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/1.062, allocations: 106.2 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.062, allocations: 29.7 kB / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/1.062, allocations: 83.75 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/1.062, allocations: 3.906 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/1.062, allocations: 4 kB / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/1.062, allocations: 318.1 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.459e-05/1.062, allocations: 4 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/1.062, allocations: 20.03 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.389e-05/1.062, allocations: 28.28 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.062, allocations: 0 / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.421e-05/1.062, allocations: 61.14 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.062, allocations: 11.7 kB / 1.13 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/1.062, allocations: 0 / 1.13 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.062, allocations: 0.6562 kB / 1.13 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/1.062, allocations: 8 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.062, allocations: 0.5 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/1.062, allocations: 0 / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/1.062, allocations: 7.422 kB / 1.13 GB, free: 31.64 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: 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 5.462e-05/1.062, allocations: 109.8 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/1.062, allocations: 15.91 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/1.062, allocations: 4.094 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.062, allocations: 0.5625 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.062, allocations: 0 / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/1.062, allocations: 0 / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/1.062, allocations: 160.7 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.062, allocations: 0.75 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/1.062, allocations: 8.938 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.062, allocations: 1.125 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/1.062, allocations: 3.422 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/1.062, allocations: 7.938 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.062, allocations: 0.625 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/1.063, allocations: 151 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/1.063, allocations: 84.72 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/1.063, allocations: 0 / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/1.063, allocations: 4.031 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/1.063, allocations: 5.328 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/1.063, allocations: 0.5625 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.135e-05/1.063, allocations: 87.39 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.063, allocations: 0 / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002079/1.063, allocations: 7.938 kB / 1.13 GB, free: 30.93 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: 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.000101/1.063, allocations: 95.25 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001173/1.063, allocations: 35.31 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.063, allocations: 4.594 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/1.063, allocations: 11.42 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/1.064, allocations: 7.938 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/1.064, allocations: 135.8 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/1.064, allocations: 0.6764 MB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.704e-05/1.064, allocations: 0.7969 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/1.064, allocations: 12.38 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.064, allocations: 0 / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.002058/1.066, allocations: 263 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)