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.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.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.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.6 MB / 307.6 MB, free: 5.195 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.001187/0.001187, allocations: 173.1 kB / 377.1 MB, free: 1.508 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.811/1.811, allocations: 205.4 MB / 0.6367 GB, free: 8.605 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.0008903/0.0008906, allocations: 98.62 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.000423, allocations: 11.98 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3169, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9379/1.255, allocations: 139.7 MB / 1.125 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/1.255, allocations: 88.69 kB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002416/1.258, allocations: 0.8379 MB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.807e-06/1.258, allocations: 0 / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.258, allocations: 0 / 1.126 GB, free: 34.29 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.0003258/1.258, allocations: 340.2 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.258, allocations: 12.03 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/1.258, allocations: 4.156 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/1.258, allocations: 159.1 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.258, allocations: 9.203 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.258, allocations: 3.438 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/1.259, allocations: 44.33 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/1.259, allocations: 0 / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/1.259, allocations: 4 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.259, allocations: 6.438 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.389e-05/1.259, allocations: 19.36 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/1.259, allocations: 261.2 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.781e-05/1.259, allocations: 28.41 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/1.259, allocations: 0 / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/1.259, allocations: 38.62 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.384e-06/1.259, allocations: 4 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002436/1.259, allocations: 69.23 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/1.26, allocations: 52.06 kB / 1.127 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.167e-05/1.26, allocations: 100.9 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/1.26, allocations: 25.7 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/1.26, allocations: 84.27 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/1.26, allocations: 11.89 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/1.26, allocations: 4 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/1.26, allocations: 318.3 kB / 1.127 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/1.26, allocations: 13.2 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/1.26, allocations: 7.562 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/1.26, allocations: 16.06 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.26, allocations: 0 / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/1.26, allocations: 60.67 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.26, allocations: 7.938 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.26, allocations: 4 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/1.26, allocations: 1.062 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/1.26, allocations: 4 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.26, allocations: 0 / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/1.26, allocations: 11.55 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/1.26, allocations: 0.9375 kB / 1.127 GB, free: 32.48 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 6.529e-05/1.26, allocations: 109.8 kB / 1.127 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/1.26, allocations: 4.562 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/1.26, allocations: 8.328 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.26, allocations: 0 / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.26, allocations: 0 / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.26, allocations: 3.328 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/1.261, allocations: 165.2 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.261, allocations: 4.938 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/1.261, allocations: 8.047 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.261, allocations: 0 / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/1.261, allocations: 0 / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.261, allocations: 3.938 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.261, allocations: 5.188 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/1.261, allocations: 154.7 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/1.261, allocations: 81.11 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/1.261, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/1.261, allocations: 4.5 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/1.261, allocations: 4.406 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/1.261, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.513e-05/1.261, allocations: 79.91 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.261, allocations: 0 / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001975/1.261, allocations: 15.97 kB / 1.128 GB, free: 31.78 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.0001146/1.261, allocations: 103.9 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001258/1.262, allocations: 27.36 kB / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.262, allocations: 0 / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/1.262, allocations: 8 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/1.262, allocations: 8.484 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/1.262, allocations: 132 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/1.262, allocations: 0.6838 MB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.567e-05/1.262, allocations: 0 / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/1.262, allocations: 7.438 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/1.262, allocations: 0 / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.002641/1.265, allocations: 274.9 kB / 1.129 GB, free: 30.62 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)