Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7098/0.7098, allocations: 132.3 MB / 144.9 MB, free: 10.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001068/0.001068, allocations: 180.3 kB / 176.9 MB, free: 2.172 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.358/1.358, allocations: 170.5 MB / 379.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001552/0.001552, allocations: 124.9 kB / 450 MB, free: 5.824 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5213/0.5213, allocations: 73.39 MB / 0.6736 GB, free: 47.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.6602, allocations: 102.2 MB / 0.7735 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.6605, allocations: 95.02 kB / 0.7736 GB, free: 14.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001961/0.6625, allocations: 0.7933 MB / 0.7743 GB, free: 13.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6625, allocations: 4 kB / 0.7743 GB, free: 13.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.6625, allocations: 0 / 0.7743 GB, free: 13.53 MB / 490.7 MB 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.0002918/0.6628, allocations: 331.9 kB / 0.7746 GB, free: 13.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6629, allocations: 8.031 kB / 0.7747 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.6629, allocations: 9.703 kB / 0.7747 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.663, allocations: 172.4 kB / 0.7748 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.6631, allocations: 0 / 0.7748 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.6631, allocations: 4 kB / 0.7748 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.6632, allocations: 47.19 kB / 0.7749 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6632, allocations: 0 / 0.7749 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.6632, allocations: 3.609 kB / 0.7749 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6632, allocations: 2.719 kB / 0.7749 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.6633, allocations: 12 kB / 0.7749 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.6637, allocations: 252.9 kB / 0.7751 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.6637, allocations: 34.53 kB / 0.7752 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.6638, allocations: 12.92 kB / 0.7752 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.6638, allocations: 4 kB / 0.7752 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.6638, allocations: 34.55 kB / 0.7752 GB, free: 12.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6638, allocations: 0 / 0.7752 GB, free: 12.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001511/0.664, allocations: 43.8 kB / 0.7753 GB, free: 12.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.664, allocations: 55.34 kB / 0.7753 GB, free: 12.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.6641, allocations: 105 kB / 0.7754 GB, free: 12.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.6641, allocations: 25.7 kB / 0.7754 GB, free: 12.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.6642, allocations: 84.14 kB / 0.7755 GB, free: 12.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.6642, allocations: 3.906 kB / 0.7755 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.6642, allocations: 4 kB / 0.7755 GB, free: 12.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6644, allocations: 310.8 kB / 0.7758 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.6644, allocations: 4 kB / 0.7758 GB, free: 11.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.6644, allocations: 8 kB / 0.7758 GB, free: 11.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.031e-05/0.6644, allocations: 12.05 kB / 0.7758 GB, free: 11.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6644, allocations: 1.781 kB / 0.7758 GB, free: 11.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.899e-05/0.6645, allocations: 49.5 kB / 0.7759 GB, free: 11.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.6645, allocations: 8 kB / 0.7759 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6645, allocations: 0 / 0.7759 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6646, allocations: 0 / 0.7759 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.6646, allocations: 7.984 kB / 0.7759 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.6647, allocations: 0 / 0.7759 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.6647, allocations: 4.031 kB / 0.7759 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.6647, allocations: 5.562 kB / 0.7759 GB, free: 11.72 MB / 490.7 MB 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 5.63e-05/0.6648, allocations: 101 kB / 0.776 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.6648, allocations: 7.953 kB / 0.776 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.6648, allocations: 7.656 kB / 0.776 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6648, allocations: 3.984 kB / 0.776 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6648, allocations: 0 / 0.776 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6649, allocations: 4 kB / 0.776 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.665, allocations: 153.7 kB / 0.7762 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.665, allocations: 0 / 0.7762 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.6651, allocations: 15.36 kB / 0.7762 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6651, allocations: 0 / 0.7762 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.6651, allocations: 6.672 kB / 0.7762 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6651, allocations: 4 kB / 0.7762 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6651, allocations: 0 / 0.7762 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.6652, allocations: 143.5 kB / 0.7763 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.6653, allocations: 81.02 kB / 0.7764 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.6653, allocations: 4.031 kB / 0.7764 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.6654, allocations: 7.953 kB / 0.7764 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.6654, allocations: 7.922 kB / 0.7764 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.6654, allocations: 0 / 0.7764 GB, free: 11.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.299e-05/0.6655, allocations: 87.28 kB / 0.7765 GB, free: 11.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6655, allocations: 0 / 0.7765 GB, free: 11.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.6657, allocations: 4 kB / 0.7765 GB, free: 11.01 MB / 490.7 MB 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.0001045/0.6658, allocations: 95.25 kB / 0.7766 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.327e-05/0.6659, allocations: 16 kB / 0.7766 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6659, allocations: 0 / 0.7766 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.6659, allocations: 7.938 kB / 0.7766 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.666, allocations: 9.297 kB / 0.7766 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.6662, allocations: 67.23 kB / 0.7767 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.6665, allocations: 0.6848 MB / 0.7774 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.586e-05/0.6665, allocations: 5.719 kB / 0.7774 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.6665, allocations: 7.438 kB / 0.7774 GB, free: 10.08 MB / 490.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6665, allocations: 0 / 0.7774 GB, free: 10.08 MB / 490.7 MB Notification: Performance of Templates: time 0.001955/0.6685, allocations: 283 kB / 0.7777 GB, free: 9.824 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)