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.842/0.842, allocations: 133.7 MB / 148.6 MB, free: 13.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.00137/0.00137, allocations: 179 kB / 180.9 MB, free: 15.11 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.837/1.837, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001682/0.001682, allocations: 114.3 kB / 454.6 MB, free: 9.738 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.1993/0.1998, allocations: 73.41 MB / 0.6812 GB, free: 5.566 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6026/0.8024, allocations: 104 MB / 0.7828 GB, free: 22.97 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.8028, allocations: 97.25 kB / 0.7829 GB, free: 22.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01156/0.8144, allocations: 4.403 MB / 0.7872 GB, free: 20.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.8144, allocations: 0 / 0.7872 GB, free: 20.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.622e-05/0.8145, allocations: 4 kB / 0.7872 GB, free: 20.4 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.0007191/0.8152, allocations: 0.6247 MB / 0.7878 GB, free: 19.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.8153, allocations: 12.56 kB / 0.7878 GB, free: 19.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.8153, allocations: 31.06 kB / 0.7878 GB, free: 19.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/0.8159, allocations: 407.3 kB / 0.7882 GB, free: 19.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.816, allocations: 8.719 kB / 0.7882 GB, free: 19.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.816, allocations: 8 kB / 0.7882 GB, free: 19.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.8162, allocations: 78.89 kB / 0.7883 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.8162, allocations: 0 / 0.7883 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.8162, allocations: 3.562 kB / 0.7883 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.8163, allocations: 2.922 kB / 0.7883 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.8164, allocations: 50.23 kB / 0.7883 GB, free: 19.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.817, allocations: 0.4954 MB / 0.7888 GB, free: 18.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.8172, allocations: 53.23 kB / 0.7889 GB, free: 18.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.8172, allocations: 0.75 kB / 0.7889 GB, free: 18.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.8172, allocations: 38.62 kB / 0.7889 GB, free: 18.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.8173, allocations: 3.984 kB / 0.7889 GB, free: 18.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003011/0.8176, allocations: 108.4 kB / 0.789 GB, free: 18.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.8176, allocations: 51.41 kB / 0.7891 GB, free: 18.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.8181, allocations: 0.4907 MB / 0.7896 GB, free: 18.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.8182, allocations: 29.7 kB / 0.7896 GB, free: 18.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.8183, allocations: 163.4 kB / 0.7897 GB, free: 18.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.8183, allocations: 19.92 kB / 0.7898 GB, free: 18.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.8183, allocations: 0 / 0.7898 GB, free: 18.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.8184, allocations: 349 kB / 0.7901 GB, free: 17.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.8185, allocations: 14.44 kB / 0.7901 GB, free: 17.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-05/0.8185, allocations: 18.34 kB / 0.7901 GB, free: 17.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.8186, allocations: 77.36 kB / 0.7902 GB, free: 17.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8186, allocations: 0 / 0.7902 GB, free: 17.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001796/0.8188, allocations: 155 kB / 0.7903 GB, free: 17.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.8188, allocations: 63.92 kB / 0.7904 GB, free: 17.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8188, allocations: 0 / 0.7904 GB, free: 17.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.8189, allocations: 0 / 0.7904 GB, free: 17.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.8189, allocations: 10.34 kB / 0.7904 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.819, allocations: 7.938 kB / 0.7904 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.819, allocations: 9.375 kB / 0.7904 GB, free: 17.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.819, allocations: 3.938 kB / 0.7904 GB, free: 17.5 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 () * Number of clocked 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 0.0001391/0.8192, allocations: 185.6 kB / 0.7906 GB, free: 17.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.8192, allocations: 27.62 kB / 0.7906 GB, free: 17.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.8195, allocations: 99.91 kB / 0.7907 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.8195, allocations: 9.125 kB / 0.7907 GB, free: 17.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8195, allocations: 0 / 0.7907 GB, free: 17.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.8195, allocations: 0 / 0.7907 GB, free: 17.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.8198, allocations: 297.4 kB / 0.791 GB, free: 16.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.8198, allocations: 1.453 kB / 0.791 GB, free: 16.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.8199, allocations: 10.67 kB / 0.791 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8199, allocations: 0 / 0.791 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.8199, allocations: 3.938 kB / 0.791 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8199, allocations: 0 / 0.791 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.8199, allocations: 5.453 kB / 0.791 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.8201, allocations: 194.1 kB / 0.7912 GB, free: 16.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.8203, allocations: 129.8 kB / 0.7914 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.8203, allocations: 4 kB / 0.7914 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.8204, allocations: 5.219 kB / 0.7914 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.8204, allocations: 1.406 kB / 0.7914 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.8204, allocations: 0 / 0.7914 GB, free: 16.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003757/0.8208, allocations: 397 kB / 0.7917 GB, free: 16.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8208, allocations: 3.938 kB / 0.7917 GB, free: 16.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.8211, allocations: 44.39 kB / 0.7918 GB, free: 16.37 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 () * Number of clocked 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.0005872/0.8217, allocations: 234.4 kB / 0.792 GB, free: 16.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.8219, allocations: 164 kB / 0.7922 GB, free: 16.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8219, allocations: 0 / 0.7922 GB, free: 16.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.822, allocations: 18.69 kB / 0.7922 GB, free: 16.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.8223, allocations: 38.53 kB / 0.7922 GB, free: 16.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.8231, allocations: 0.5514 MB / 0.7928 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.8234, allocations: 0.7991 MB / 0.7935 GB, free: 14.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.8235, allocations: 50.98 kB / 0.7936 GB, free: 14.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.8236, allocations: 30.25 kB / 0.7936 GB, free: 14.72 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.8236, allocations: 0 / 0.7936 GB, free: 14.72 MB / 490.7 MB Notification: Performance of Templates: time 0.005389/0.829, allocations: 2.279 MB / 0.7958 GB, free: 12.79 MB / 490.7 MB 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)