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.712/1.712, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001083/0.001083, allocations: 181.1 kB / 371.8 MB, free: 10.27 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.937/1.937, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001266/0.001266, allocations: 95.42 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.000474, allocations: 11.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3132, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8955/1.209, allocations: 141.2 MB / 1.117 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/1.209, allocations: 100.3 kB / 1.117 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01324/1.222, allocations: 5.298 MB / 1.123 GB, free: 31.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/1.222, allocations: 7.875 kB / 1.123 GB, free: 31.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.062e-05/1.223, allocations: 7.875 kB / 1.123 GB, free: 31.78 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.0007419/1.223, allocations: 0.5832 MB / 1.123 GB, free: 31.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.223, allocations: 11.83 kB / 1.123 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/1.223, allocations: 31 kB / 1.123 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/1.224, allocations: 427.5 kB / 1.124 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/1.224, allocations: 3.969 kB / 1.124 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/1.224, allocations: 3.875 kB / 1.124 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/1.224, allocations: 72.64 kB / 1.124 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.224, allocations: 0 / 1.124 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/1.224, allocations: 7.938 kB / 1.124 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.224, allocations: 0 / 1.124 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/1.224, allocations: 54.95 kB / 1.124 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/1.225, allocations: 0.4913 MB / 1.124 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/1.225, allocations: 49.05 kB / 1.124 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/1.225, allocations: 0 / 1.124 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/1.225, allocations: 45.16 kB / 1.124 GB, free: 30.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/1.225, allocations: 0 / 1.124 GB, free: 30.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002993/1.226, allocations: 105.4 kB / 1.124 GB, free: 30.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/1.226, allocations: 51.41 kB / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/1.226, allocations: 0.5028 MB / 1.125 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/1.226, allocations: 36.06 kB / 1.125 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.226, allocations: 169.4 kB / 1.125 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/1.226, allocations: 18.34 kB / 1.125 GB, free: 30.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/1.226, allocations: 0 / 1.125 GB, free: 30.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.227, allocations: 343.7 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/1.227, allocations: 18.47 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/1.227, allocations: 22.02 kB / 1.126 GB, free: 29.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/1.227, allocations: 18.03 kB / 1.126 GB, free: 29.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.227, allocations: 0 / 1.126 GB, free: 29.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001529/1.227, allocations: 93.47 kB / 1.126 GB, free: 29.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.227, allocations: 3.875 kB / 1.126 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.227, allocations: 0 / 1.126 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.227, allocations: 0 / 1.126 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/1.227, allocations: 10.09 kB / 1.126 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.227, allocations: 3.953 kB / 1.126 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/1.227, allocations: 6.266 kB / 1.126 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/1.227, allocations: 0 / 1.126 GB, free: 29.92 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.0001599/1.227, allocations: 179.2 kB / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/1.227, allocations: 35.12 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/1.228, allocations: 106.3 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.228, allocations: 0 / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.228, allocations: 0 / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.228, allocations: 7.906 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/1.228, allocations: 302.8 kB / 1.126 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.228, allocations: 0 / 1.126 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/1.228, allocations: 13.97 kB / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.228, allocations: 0 / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/1.228, allocations: 0 / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.228, allocations: 0 / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.228, allocations: 2.062 kB / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/1.228, allocations: 199.6 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/1.228, allocations: 134.3 kB / 1.127 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/1.228, allocations: 8 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/1.228, allocations: 6.219 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/1.228, allocations: 0 / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/1.228, allocations: 3.875 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003869/1.229, allocations: 411.5 kB / 1.127 GB, free: 29.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.229, allocations: 0 / 1.127 GB, free: 29.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002583/1.229, allocations: 38.75 kB / 1.127 GB, free: 29.18 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.0008432/1.23, allocations: 370.8 kB / 1.127 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001495/1.23, allocations: 32.47 kB / 1.127 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.23, allocations: 7.938 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.835e-05/1.23, allocations: 23.23 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/1.23, allocations: 40.53 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/1.231, allocations: 0.5751 MB / 1.128 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/1.232, allocations: 0.7926 MB / 1.129 GB, free: 28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001109/1.232, allocations: 53.38 kB / 1.129 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/1.232, allocations: 21.12 kB / 1.129 GB, free: 27.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.232, allocations: 0 / 1.129 GB, free: 27.98 MB / 0.698 GB Notification: Performance of Templates: time 0.005485/1.237, allocations: 2.535 MB / 1.131 GB, free: 27.5 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)