Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7042/0.7042, 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.001158/0.001158, allocations: 167.4 kB / 176.9 MB, free: 2.195 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.409/1.409, allocations: 170.5 MB / 379.3 MB, free: 11.84 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.001599/0.001599, allocations: 117.2 kB / 450 MB, free: 5.75 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.4861/0.4862, allocations: 73.39 MB / 0.6736 GB, free: 47.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.619, allocations: 103.9 MB / 0.7751 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.6193, allocations: 97 kB / 0.7752 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01091/0.6303, allocations: 4.374 MB / 0.7795 GB, free: 8.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6303, allocations: 0 / 0.7795 GB, free: 8.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.6303, allocations: 12 kB / 0.7795 GB, free: 8.309 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005398/0.6309, allocations: 0.5403 MB / 0.78 GB, free: 7.711 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.6309, allocations: 12.03 kB / 0.78 GB, free: 7.699 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.631, allocations: 30.38 kB / 0.78 GB, free: 7.672 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.6316, allocations: 399.8 kB / 0.7804 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.6316, allocations: 4 kB / 0.7804 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.6317, allocations: 8 kB / 0.7804 GB, free: 7.234 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.6318, allocations: 77.61 kB / 0.7805 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.6318, allocations: 6.234 kB / 0.7805 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.6318, allocations: 0 / 0.7805 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6319, allocations: 5.5 kB / 0.7805 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.6319, allocations: 36 kB / 0.7806 GB, free: 7.113 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.6326, allocations: 0.4964 MB / 0.781 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.74e-05/0.6327, allocations: 50.52 kB / 0.7811 GB, free: 6.508 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.6327, allocations: 18.56 kB / 0.7811 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.6328, allocations: 4 kB / 0.7811 GB, free: 6.484 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.6328, allocations: 34.56 kB / 0.7811 GB, free: 6.441 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.6328, allocations: 0 / 0.7811 GB, free: 6.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.633, allocations: 77.41 kB / 0.7812 GB, free: 6.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.633, allocations: 55.41 kB / 0.7813 GB, free: 6.293 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.6336, allocations: 487.6 kB / 0.7817 GB, free: 5.812 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.6336, allocations: 25.7 kB / 0.7818 GB, free: 5.781 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.6337, allocations: 163.9 kB / 0.7819 GB, free: 5.617 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.6338, allocations: 15.88 kB / 0.7819 GB, free: 5.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.6338, allocations: 4 kB / 0.7819 GB, free: 5.598 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6339, allocations: 346.7 kB / 0.7823 GB, free: 5.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.6339, allocations: 12.75 kB / 0.7823 GB, free: 5.238 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.634, allocations: 16 kB / 0.7823 GB, free: 5.223 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.295e-05/0.634, allocations: 67.39 kB / 0.7824 GB, free: 5.145 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6341, allocations: 0 / 0.7824 GB, free: 5.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001617/0.6342, allocations: 144.7 kB / 0.7825 GB, free: 4.984 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.6343, allocations: 59.41 kB / 0.7826 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6343, allocations: 0 / 0.7826 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.6343, allocations: 0 / 0.7826 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.6344, allocations: 14.72 kB / 0.7826 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.6344, allocations: 3.938 kB / 0.7826 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.6345, allocations: 4 kB / 0.7826 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.6345, allocations: 11.56 kB / 0.7826 GB, free: 4.887 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.36e-05/0.6346, allocations: 109.7 kB / 0.7827 GB, free: 4.773 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.6347, allocations: 31.61 kB / 0.7827 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.6348, allocations: 92.05 kB / 0.7828 GB, free: 4.645 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6349, allocations: 4 kB / 0.7828 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6349, allocations: 0 / 0.7828 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6349, allocations: 0 / 0.7828 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.6352, allocations: 297.4 kB / 0.7831 GB, free: 4.301 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6352, allocations: 4 kB / 0.7831 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.6352, allocations: 11.98 kB / 0.7831 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6352, allocations: 0 / 0.7831 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.6352, allocations: 0 / 0.7831 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6352, allocations: 4 kB / 0.7831 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6353, allocations: 0 / 0.7831 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.6354, allocations: 187 kB / 0.7833 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.6356, allocations: 127.9 kB / 0.7834 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.6357, allocations: 8 kB / 0.7834 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.6357, allocations: 3.984 kB / 0.7834 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.6358, allocations: 8.141 kB / 0.7834 GB, free: 3.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.6358, allocations: 0 / 0.7834 GB, free: 3.922 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004051/0.6362, allocations: 390.1 kB / 0.7838 GB, free: 3.547 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6362, allocations: 0 / 0.7838 GB, free: 3.547 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.6365, allocations: 35.91 kB / 0.7838 GB, free: 3.512 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 (3): * Single equations (assignments): 3 * 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.0005362/0.637, allocations: 236.4 kB / 0.7841 GB, free: 3.355 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.6372, allocations: 138.8 kB / 0.7842 GB, free: 3.195 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6372, allocations: 0 / 0.7842 GB, free: 3.195 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.6372, allocations: 15.98 kB / 0.7842 GB, free: 3.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.6375, allocations: 29.17 kB / 0.7842 GB, free: 3.148 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.6381, allocations: 393.8 kB / 0.7846 GB, free: 2.746 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.6384, allocations: 0.7909 MB / 0.7854 GB, free: 1.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.917e-05/0.6385, allocations: 43.09 kB / 0.7854 GB, free: 1.887 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.6386, allocations: 28.36 kB / 0.7855 GB, free: 1.859 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6386, allocations: 4 kB / 0.7855 GB, free: 1.855 MB / 490.7 MB Notification: Performance of Templates: time 0.005168/0.6438, allocations: 2.295 MB / 0.7877 GB, free: 15.63 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)