Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.4 MB / 304.3 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 185.6 kB / 373 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 0.6317 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000943/0.0009429, allocations: 96.92 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 16.38 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1819, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6465/0.8284, allocations: 141.2 MB / 1.119 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.8287, allocations: 94.39 kB / 1.119 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.8409, allocations: 5.322 MB / 1.124 GB, free: 32.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8409, allocations: 3.938 kB / 1.124 GB, free: 32.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.841, allocations: 11.61 kB / 1.124 GB, free: 32.08 MB / 0.698 GB 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.0006278/0.8416, allocations: 0.5735 MB / 1.124 GB, free: 31.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8417, allocations: 11.69 kB / 1.124 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.8417, allocations: 32 kB / 1.125 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.8423, allocations: 443 kB / 1.125 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.8423, allocations: 384 / 1.125 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.8423, allocations: 7.844 kB / 1.125 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.8424, allocations: 78.64 kB / 1.125 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.8425, allocations: 192 / 1.125 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.8425, allocations: 7.844 kB / 1.125 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.8425, allocations: 0 / 1.125 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.8426, allocations: 60.02 kB / 1.125 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.8432, allocations: 0.4895 MB / 1.126 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.8433, allocations: 54.16 kB / 1.126 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.8433, allocations: 19.12 kB / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.8434, allocations: 7.656 kB / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.8434, allocations: 33 kB / 1.126 GB, free: 30.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8434, allocations: 0 / 1.126 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000261/0.8437, allocations: 107.2 kB / 1.126 GB, free: 30.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.8437, allocations: 54.27 kB / 1.126 GB, free: 30.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.8442, allocations: 0.5442 MB / 1.126 GB, free: 30.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.8443, allocations: 29.55 kB / 1.126 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.8444, allocations: 166.3 kB / 1.127 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.8444, allocations: 19.5 kB / 1.127 GB, free: 30.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.8444, allocations: 0 / 1.127 GB, free: 30.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.8445, allocations: 347.7 kB / 1.127 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.8446, allocations: 18.39 kB / 1.127 GB, free: 30.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.8446, allocations: 14.36 kB / 1.127 GB, free: 30.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.8447, allocations: 42.16 kB / 1.127 GB, free: 30.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8447, allocations: 0 / 1.127 GB, free: 30.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001421/0.8448, allocations: 98.16 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.8449, allocations: 3.844 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.8449, allocations: 0 / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.8449, allocations: 0 / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.845, allocations: 10.72 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.845, allocations: 0 / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.845, allocations: 7.719 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.8451, allocations: 0 / 1.127 GB, free: 30.18 MB / 0.698 GB 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 (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 prepare postOptimizeDAE: time 0.0001295/0.8452, allocations: 188.2 kB / 1.127 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.8452, allocations: 30.59 kB / 1.127 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.8454, allocations: 103.8 kB / 1.127 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8455, allocations: 0 / 1.127 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8455, allocations: 3.953 kB / 1.127 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.8455, allocations: 8.25 kB / 1.127 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.8457, allocations: 300.4 kB / 1.128 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8457, allocations: 4 kB / 1.128 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.8458, allocations: 10.52 kB / 1.128 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.8458, allocations: 0 / 1.128 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.8458, allocations: 0 / 1.128 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8458, allocations: 0 / 1.128 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8458, allocations: 11.92 kB / 1.128 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.846, allocations: 201.4 kB / 1.128 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.8461, allocations: 134.6 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.8462, allocations: 0 / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.8463, allocations: 3.844 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.8463, allocations: 5.094 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.8463, allocations: 7.875 kB / 1.128 GB, free: 29.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000359/0.8467, allocations: 410.3 kB / 1.128 GB, free: 29.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8467, allocations: 0 / 1.128 GB, free: 29.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002518/0.8469, allocations: 38.81 kB / 1.128 GB, free: 29.42 MB / 0.698 GB 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.0007026/0.8477, allocations: 361.8 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.8478, allocations: 44.42 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8478, allocations: 0 / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.61e-05/0.8479, allocations: 20.73 kB / 1.129 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.8482, allocations: 38.06 kB / 1.129 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.8489, allocations: 0.5746 MB / 1.129 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.8492, allocations: 0.7893 MB / 1.13 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.903e-05/0.8493, allocations: 50.27 kB / 1.13 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.8494, allocations: 22.38 kB / 1.13 GB, free: 28.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.8494, allocations: 0 / 1.13 GB, free: 28.25 MB / 0.698 GB Notification: Performance of Templates: time 0.004666/0.8541, allocations: 2.539 MB / 1.133 GB, free: 27.65 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)