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.8409/0.8409, allocations: 132.4 MB / 139.9 MB, free: 2.824 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.001145/0.001145, allocations: 185.3 kB / 171.8 MB, free: 4.934 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.444/1.444, allocations: 170.6 MB / 374.2 MB, free: 176 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.001525/0.001525, allocations: 104.3 kB / 444.8 MB, free: 14.14 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.1854/0.1854, allocations: 73.42 MB / 0.6666 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6495/0.835, allocations: 101.6 MB / 0.7658 GB, free: 14.02 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.8353, allocations: 87.94 kB / 0.7659 GB, free: 13.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002165/0.8375, allocations: 0.7851 MB / 0.7667 GB, free: 13.15 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.8375, allocations: 0 / 0.7667 GB, free: 13.15 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.8375, allocations: 3.938 kB / 0.7667 GB, free: 13.14 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.0003753/0.8379, allocations: 334.4 kB / 0.767 GB, free: 12.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.838, allocations: 12.03 kB / 0.767 GB, free: 12.76 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.838, allocations: 6.875 kB / 0.767 GB, free: 12.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.8382, allocations: 175.5 kB / 0.7672 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.8382, allocations: 0 / 0.7672 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.8382, allocations: 0 / 0.7672 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.588e-05/0.8383, allocations: 15.95 kB / 0.7672 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.8384, allocations: 33.69 kB / 0.7672 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8384, allocations: 0 / 0.7672 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8385, allocations: 0 / 0.7672 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.8385, allocations: 3.984 kB / 0.7672 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.8389, allocations: 233.5 kB / 0.7675 GB, free: 12.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.839, allocations: 30.53 kB / 0.7675 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.839, allocations: 12.92 kB / 0.7675 GB, free: 12.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.8391, allocations: 0 / 0.7675 GB, free: 12.17 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.8391, allocations: 38.55 kB / 0.7675 GB, free: 12.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8391, allocations: 4 kB / 0.7675 GB, free: 12.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001731/0.8393, allocations: 37.7 kB / 0.7676 GB, free: 12.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.8393, allocations: 51.41 kB / 0.7676 GB, free: 12.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.8394, allocations: 104.9 kB / 0.7677 GB, free: 11.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.8395, allocations: 25.7 kB / 0.7678 GB, free: 11.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.8395, allocations: 80.14 kB / 0.7678 GB, free: 11.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.8396, allocations: 3.906 kB / 0.7678 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.8396, allocations: 0 / 0.7678 GB, free: 11.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8397, allocations: 325.9 kB / 0.7681 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.8397, allocations: 0 / 0.7681 GB, free: 11.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.8398, allocations: 8 kB / 0.7681 GB, free: 11.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.8398, allocations: 7.984 kB / 0.7682 GB, free: 11.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8398, allocations: 0 / 0.7682 GB, free: 11.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.505e-05/0.8399, allocations: 37.7 kB / 0.7682 GB, free: 11.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.8399, allocations: 11.12 kB / 0.7682 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8399, allocations: 0 / 0.7682 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.8399, allocations: 4 kB / 0.7682 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/0.84, allocations: 12.08 kB / 0.7682 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.84, allocations: 0 / 0.7682 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.8401, allocations: 4 kB / 0.7682 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.8401, allocations: 0 / 0.7682 GB, free: 11.38 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 8.614e-05/0.8402, allocations: 108.9 kB / 0.7683 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.8402, allocations: 7.906 kB / 0.7683 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.8403, allocations: 7.922 kB / 0.7683 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.8403, allocations: 0 / 0.7683 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.8403, allocations: 3.938 kB / 0.7683 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.8403, allocations: 7.984 kB / 0.7684 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.8405, allocations: 134.2 kB / 0.7685 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.8405, allocations: 4.562 kB / 0.7685 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.8405, allocations: 4 kB / 0.7685 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8405, allocations: 0 / 0.7685 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.8405, allocations: 0 / 0.7685 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.8406, allocations: 7.984 kB / 0.7685 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.8406, allocations: 3.953 kB / 0.7685 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.8407, allocations: 139.6 kB / 0.7686 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.8407, allocations: 85 kB / 0.7687 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.8408, allocations: 4 kB / 0.7687 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.8408, allocations: 0 / 0.7687 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.8409, allocations: 3.953 kB / 0.7687 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.8409, allocations: 4 kB / 0.7687 GB, free: 10.78 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.263e-05/0.8409, allocations: 91.2 kB / 0.7688 GB, free: 10.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8409, allocations: 0 / 0.7688 GB, free: 10.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.8412, allocations: 8.031 kB / 0.7688 GB, free: 10.68 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.0001155/0.8413, allocations: 98.86 kB / 0.7689 GB, free: 10.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.251e-05/0.8414, allocations: 12 kB / 0.7689 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8414, allocations: 0 / 0.7689 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.8414, allocations: 4 kB / 0.7689 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.8416, allocations: 0 / 0.7689 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.8418, allocations: 73.61 kB / 0.769 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.8421, allocations: 0.6846 MB / 0.7697 GB, free: 9.762 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.083e-05/0.8422, allocations: 4 kB / 0.7697 GB, free: 9.758 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.8422, allocations: 7.438 kB / 0.7697 GB, free: 9.754 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8422, allocations: 3.938 kB / 0.7697 GB, free: 9.75 MB / 474.7 MB Notification: Performance of Templates: time 0.002438/0.8447, allocations: 259.8 kB / 0.7699 GB, free: 9.504 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)