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.76/1.76, allocations: 285.4 MB / 298 MB, free: 6.004 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.001399/0.0014, allocations: 188.8 kB / 366.4 MB, free: 2.07 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.647/1.647, allocations: 205.1 MB / 0.6248 GB, free: 7.715 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008886/0.0008886, allocations: 88.14 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.34e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7211/0.7211, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/0.9372, allocations: 141.1 MB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.9376, allocations: 104.6 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.9524, allocations: 5.281 MB / 1.114 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.606e-06/0.9525, allocations: 0.5625 kB / 1.114 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.823e-05/0.9525, allocations: 11.94 kB / 1.114 GB, free: 5.355 MB / 0.7136 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.0007158/0.9533, allocations: 0.4912 MB / 1.114 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.9533, allocations: 12.84 kB / 1.114 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.9534, allocations: 31.53 kB / 1.114 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.9542, allocations: 420.7 kB / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.9543, allocations: 8 kB / 1.115 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.9543, allocations: 4.859 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.9545, allocations: 69.69 kB / 1.115 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.9545, allocations: 1.094 kB / 1.115 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.9545, allocations: 0 / 1.115 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.9545, allocations: 0 / 1.115 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.363e-05/0.9546, allocations: 37.27 kB / 1.115 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.9555, allocations: 0.5044 MB / 1.115 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.9557, allocations: 46.52 kB / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.9557, allocations: 17 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.9557, allocations: 4 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.9558, allocations: 30.56 kB / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.9558, allocations: 0 / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002428/0.956, allocations: 81.27 kB / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.9561, allocations: 55.41 kB / 1.116 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.9568, allocations: 0.4957 MB / 1.116 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.9568, allocations: 25.7 kB / 1.116 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.957, allocations: 171.9 kB / 1.116 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.957, allocations: 11.81 kB / 1.116 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.957, allocations: 0 / 1.116 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.9572, allocations: 342.8 kB / 1.117 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.9572, allocations: 13.42 kB / 1.117 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.9573, allocations: 20.03 kB / 1.117 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.033e-05/0.9573, allocations: 8 kB / 1.117 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9573, allocations: 0 / 1.117 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001502/0.9575, allocations: 81.31 kB / 1.117 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.9575, allocations: 4 kB / 1.117 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.9575, allocations: 3.984 kB / 1.117 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.9575, allocations: 0 / 1.117 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.9576, allocations: 11.95 kB / 1.117 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.9576, allocations: 0 / 1.117 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.9577, allocations: 4 kB / 1.117 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.9577, allocations: 4 kB / 1.117 GB, free: 2.168 MB / 0.7136 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 () * 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 8.699e-05/0.9578, allocations: 113.9 kB / 1.117 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.9579, allocations: 27.62 kB / 1.117 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.9581, allocations: 88.22 kB / 1.117 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9581, allocations: 0 / 1.117 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.9581, allocations: 9.719 kB / 1.117 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.9581, allocations: 0 / 1.117 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.9585, allocations: 301.5 kB / 1.117 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9585, allocations: 4.109 kB / 1.117 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.9585, allocations: 19.92 kB / 1.117 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.9586, allocations: 0 / 1.117 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.9586, allocations: 0 / 1.117 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9586, allocations: 0 / 1.117 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9586, allocations: 0 / 1.117 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.9588, allocations: 179.1 kB / 1.118 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.9589, allocations: 140.6 kB / 1.118 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.959, allocations: 5.875 kB / 1.118 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.9591, allocations: 4 kB / 1.118 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.9592, allocations: 3.984 kB / 1.118 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.9592, allocations: 4 kB / 1.118 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005271/0.9597, allocations: 402.1 kB / 1.118 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9597, allocations: 0 / 1.118 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002719/0.96, allocations: 35.95 kB / 1.118 GB, free: 0.7617 MB / 0.7136 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 () * 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.0008066/0.9608, allocations: 327 kB / 1.118 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.9609, allocations: 23.92 kB / 1.118 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.961, allocations: 0 / 1.118 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.961, allocations: 12 kB / 1.118 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.9613, allocations: 42.53 kB / 1.119 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.9621, allocations: 405.6 kB / 1.119 GB, free: 80 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.9625, allocations: 0.7889 MB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.9627, allocations: 48.72 kB / 1.12 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.9628, allocations: 31.42 kB / 1.12 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.9628, allocations: 0 / 1.12 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of Templates: time 0.00657/0.9694, allocations: 2.564 MB / 1.122 GB, free: 12.67 MB / 0.7292 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)