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.703/1.703, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001077/0.001077, allocations: 180.8 kB / 366.7 MB, free: 1.672 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.763/1.763, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008689/0.0008689, allocations: 76.69 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.032e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6698, allocations: 116.3 MB / 0.9733 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.852, allocations: 139 MB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.8524, allocations: 91.94 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002284/0.8547, allocations: 0.8354 MB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8547, allocations: 0.6562 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.8547, allocations: 0.5625 kB / 1.11 GB, free: 10.33 MB / 0.7136 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.0003347/0.855, allocations: 324.9 kB / 1.11 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.8551, allocations: 12.72 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.8551, allocations: 4.5 kB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.8553, allocations: 171 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.8553, allocations: 0.9062 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.8553, allocations: 0 / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.244e-05/0.8554, allocations: 15.77 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.598e-05/0.8555, allocations: 38.5 kB / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8555, allocations: 4.5 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8555, allocations: 0 / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.8555, allocations: 0.5312 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.8559, allocations: 235 kB / 1.111 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.856, allocations: 20.48 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.856, allocations: 16.92 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.8561, allocations: 0.7812 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.8561, allocations: 35.03 kB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8561, allocations: 1.156 kB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.8563, allocations: 45.16 kB / 1.111 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.8563, allocations: 56.7 kB / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.8564, allocations: 97 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.8564, allocations: 25.7 kB / 1.111 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.8565, allocations: 81.61 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.8565, allocations: 11.91 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.8565, allocations: 0 / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8566, allocations: 321.2 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.8567, allocations: 4 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.122e-05/0.8567, allocations: 4 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.8567, allocations: 4 kB / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8567, allocations: 0 / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.74e-05/0.8568, allocations: 46.11 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8568, allocations: 15.58 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8568, allocations: 0 / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.8568, allocations: 0 / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.8569, allocations: 5.062 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.8569, allocations: 0 / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.857, allocations: 5.281 kB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.857, allocations: 0 / 1.111 GB, free: 8.594 MB / 0.7136 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 () * 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.964e-05/0.8571, allocations: 110.1 kB / 1.111 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.8571, allocations: 3.984 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.8572, allocations: 7.969 kB / 1.112 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8572, allocations: 0.8125 kB / 1.112 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8572, allocations: 2.953 kB / 1.112 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.8572, allocations: 4.531 kB / 1.112 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.8574, allocations: 137.8 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8574, allocations: 2.125 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.8574, allocations: 11.94 kB / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8574, allocations: 0 / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.8574, allocations: 0 / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8574, allocations: 0 / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8575, allocations: 0.8438 kB / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.8576, allocations: 143.2 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.8576, allocations: 81.02 kB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.8577, allocations: 7.953 kB / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.8577, allocations: 0 / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.8578, allocations: 4.562 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.8578, allocations: 0 / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.8578, allocations: 87.42 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8578, allocations: 4 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002064/0.858, allocations: 4 kB / 1.112 GB, free: 7.926 MB / 0.7136 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 () * 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.0001047/0.8582, allocations: 95.25 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.873e-05/0.8582, allocations: 13.88 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.8582, allocations: 0 / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.8583, allocations: 7.938 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.8584, allocations: 0 / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.8586, allocations: 74.62 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.8588, allocations: 0.6775 MB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.8589, allocations: 7.984 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.8589, allocations: 7.438 kB / 1.113 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.8589, allocations: 0 / 1.113 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of Templates: time 0.001836/0.8608, allocations: 256.3 kB / 1.113 GB, free: 6.773 MB / 0.7136 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)