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.8183/0.8183, allocations: 132.4 MB / 139.9 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001605/0.001605, allocations: 180.6 kB / 171.8 MB, free: 4.949 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.568/1.568, allocations: 170.6 MB / 374.2 MB, free: 164 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001586/0.001586, allocations: 108 kB / 444.8 MB, free: 14.15 MB / 314.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.1727/0.1728, allocations: 73.41 MB / 0.6666 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6058/0.7787, allocations: 101.6 MB / 0.7658 GB, free: 14.05 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.779, allocations: 95.91 kB / 0.7659 GB, free: 13.96 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002075/0.7811, allocations: 0.79 MB / 0.7667 GB, free: 13.17 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.7811, allocations: 4 kB / 0.7667 GB, free: 13.17 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.7811, allocations: 0 / 0.7667 GB, free: 13.17 MB / 474.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.0003283/0.7814, allocations: 330.5 kB / 0.767 GB, free: 12.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.7815, allocations: 12.03 kB / 0.767 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.7815, allocations: 0 / 0.767 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.7817, allocations: 171.5 kB / 0.7672 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7817, allocations: 0 / 0.7672 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.7817, allocations: 0 / 0.7672 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.623e-05/0.7818, allocations: 15.94 kB / 0.7672 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.117e-05/0.7819, allocations: 41.64 kB / 0.7672 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.7819, allocations: 4.875 kB / 0.7672 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7819, allocations: 0 / 0.7672 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.782, allocations: 1.203 kB / 0.7672 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.7823, allocations: 229.5 kB / 0.7675 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/0.7824, allocations: 34.53 kB / 0.7675 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.7824, allocations: 12.92 kB / 0.7675 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.7825, allocations: 0 / 0.7675 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.7825, allocations: 34.5 kB / 0.7675 GB, free: 12.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.7825, allocations: 0 / 0.7675 GB, free: 12.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001466/0.7827, allocations: 45.69 kB / 0.7676 GB, free: 12.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.7827, allocations: 51.41 kB / 0.7676 GB, free: 12.04 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.7828, allocations: 93.03 kB / 0.7677 GB, free: 11.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.7828, allocations: 25.7 kB / 0.7677 GB, free: 11.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.7829, allocations: 93.77 kB / 0.7678 GB, free: 11.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.7829, allocations: 3.906 kB / 0.7678 GB, free: 11.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.7829, allocations: 0 / 0.7678 GB, free: 11.81 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.783, allocations: 317.9 kB / 0.7681 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.7831, allocations: 4 kB / 0.7681 GB, free: 11.49 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.7831, allocations: 4 kB / 0.7681 GB, free: 11.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.7831, allocations: 8.062 kB / 0.7681 GB, free: 11.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7831, allocations: 0 / 0.7681 GB, free: 11.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.03e-05/0.7832, allocations: 49.62 kB / 0.7682 GB, free: 11.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7832, allocations: 7.953 kB / 0.7682 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7832, allocations: 0 / 0.7682 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7832, allocations: 0 / 0.7682 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.7833, allocations: 10.19 kB / 0.7682 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.7833, allocations: 0 / 0.7682 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.7834, allocations: 3.984 kB / 0.7682 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.7834, allocations: 11.97 kB / 0.7682 GB, free: 11.39 MB / 474.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 6.893e-05/0.7835, allocations: 105 kB / 0.7683 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.7835, allocations: 3.906 kB / 0.7683 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.7835, allocations: 11.92 kB / 0.7683 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.7835, allocations: 0 / 0.7683 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7836, allocations: 0 / 0.7683 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7836, allocations: 3.984 kB / 0.7683 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.7837, allocations: 138.2 kB / 0.7685 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7837, allocations: 0 / 0.7685 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.7838, allocations: 12 kB / 0.7685 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7838, allocations: 0 / 0.7685 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7838, allocations: 0 / 0.7685 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7838, allocations: 0 / 0.7685 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.7838, allocations: 3.953 kB / 0.7685 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.7839, allocations: 147.4 kB / 0.7686 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.784, allocations: 81.02 kB / 0.7687 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.784, allocations: 4.859 kB / 0.7687 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/0.7841, allocations: 8.031 kB / 0.7687 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.7841, allocations: 3.953 kB / 0.7687 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.7841, allocations: 0 / 0.7687 GB, free: 10.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.958e-05/0.7842, allocations: 87.28 kB / 0.7688 GB, free: 10.72 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7842, allocations: 0 / 0.7688 GB, free: 10.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.7844, allocations: 4 kB / 0.7688 GB, free: 10.71 MB / 474.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.0001091/0.7845, allocations: 99.23 kB / 0.7689 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.3e-05/0.7846, allocations: 12 kB / 0.7689 GB, free: 10.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7846, allocations: 4 kB / 0.7689 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.7846, allocations: 7.938 kB / 0.7689 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.7848, allocations: 0 / 0.7689 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.785, allocations: 71.8 kB / 0.769 GB, free: 10.49 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.7852, allocations: 0.6807 MB / 0.7697 GB, free: 9.785 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.7853, allocations: 0 / 0.7697 GB, free: 9.785 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.7853, allocations: 19.55 kB / 0.7697 GB, free: 9.77 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7853, allocations: 0 / 0.7697 GB, free: 9.77 MB / 474.7 MB Notification: Performance of Templates: time 0.001951/0.7873, allocations: 265.3 kB / 0.7699 GB, free: 9.516 MB / 474.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)