Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.377/2.377, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 184.9 kB / 365.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.1 MB / 0.6241 GB, free: 8.152 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.001079, allocations: 94.08 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.573e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8466/0.8466, allocations: 115.2 MB / 0.97 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/1.089, allocations: 140.9 MB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/1.09, allocations: 101.3 kB / 1.108 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.023/1.113, allocations: 5.288 MB / 1.113 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/1.113, allocations: 1.156 kB / 1.113 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.387e-05/1.113, allocations: 9.219 kB / 1.113 GB, free: 6.188 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.0007424/1.114, allocations: 0.497 MB / 1.113 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.114, allocations: 8.031 kB / 1.113 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/1.114, allocations: 36.73 kB / 1.113 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/1.115, allocations: 415.8 kB / 1.114 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/1.115, allocations: 8 kB / 1.114 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/1.115, allocations: 7.984 kB / 1.114 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/1.115, allocations: 70.14 kB / 1.114 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.115, allocations: 0 / 1.114 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/1.115, allocations: 0 / 1.114 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.115, allocations: 4 kB / 1.114 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/1.115, allocations: 35.98 kB / 1.114 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/1.116, allocations: 0.4992 MB / 1.114 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/1.117, allocations: 49.55 kB / 1.114 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/1.117, allocations: 21 kB / 1.114 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/1.117, allocations: 0 / 1.114 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/1.117, allocations: 34.52 kB / 1.114 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/1.117, allocations: 0 / 1.114 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002828/1.117, allocations: 81.31 kB / 1.115 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/1.117, allocations: 51.41 kB / 1.115 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.118, allocations: 499.6 kB / 1.115 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/1.118, allocations: 32.3 kB / 1.115 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.118, allocations: 175.9 kB / 1.115 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/1.118, allocations: 11.75 kB / 1.115 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/1.118, allocations: 0 / 1.115 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.119, allocations: 346.8 kB / 1.116 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/1.119, allocations: 11.98 kB / 1.116 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/1.119, allocations: 8 kB / 1.116 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/1.119, allocations: 8.141 kB / 1.116 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.119, allocations: 0 / 1.116 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002253/1.119, allocations: 81.3 kB / 1.116 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.119, allocations: 4 kB / 1.116 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.119, allocations: 7.984 kB / 1.116 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.119, allocations: 3.953 kB / 1.116 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/1.119, allocations: 4 kB / 1.116 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.119, allocations: 0 / 1.116 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/1.119, allocations: 12 kB / 1.116 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/1.119, allocations: 4 kB / 1.116 GB, free: 3.004 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.799e-05/1.12, allocations: 111.1 kB / 1.116 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/1.12, allocations: 27.62 kB / 1.116 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/1.12, allocations: 90.95 kB / 1.116 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.12, allocations: 3.953 kB / 1.116 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.12, allocations: 7.234 kB / 1.116 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.12, allocations: 0 / 1.116 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/1.12, allocations: 305.5 kB / 1.116 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/1.12, allocations: 0 / 1.116 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/1.121, allocations: 15.28 kB / 1.116 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/1.121, allocations: 3.938 kB / 1.116 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/1.121, allocations: 4 kB / 1.116 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/1.121, allocations: 4 kB / 1.116 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.121, allocations: 3.953 kB / 1.116 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/1.121, allocations: 175.1 kB / 1.116 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/1.121, allocations: 140.6 kB / 1.117 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/1.121, allocations: 0 / 1.117 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/1.121, allocations: 4 kB / 1.117 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/1.121, allocations: 7.984 kB / 1.117 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/1.121, allocations: 3.953 kB / 1.117 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007837/1.122, allocations: 402.1 kB / 1.117 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/1.122, allocations: 4 kB / 1.117 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003742/1.123, allocations: 28 kB / 1.117 GB, free: 1.605 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.001011/1.124, allocations: 323.1 kB / 1.117 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000149/1.124, allocations: 27.92 kB / 1.117 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.124, allocations: 0 / 1.117 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/1.124, allocations: 16 kB / 1.117 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/1.124, allocations: 39.89 kB / 1.117 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/1.125, allocations: 405.6 kB / 1.118 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/1.126, allocations: 0.788 MB / 1.119 GB, free: 124 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000218/1.126, allocations: 48.56 kB / 1.119 GB, free: 80 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/1.126, allocations: 31.42 kB / 1.119 GB, free: 48 kB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/1.126, allocations: 0 / 1.119 GB, free: 48 kB / 0.7136 GB Notification: Performance of Templates: time 0.009703/1.136, allocations: 2.556 MB / 1.121 GB, free: 13.55 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)