Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.494/2.494, allocations: 287.5 MB / 303.2 MB, free: 8.141 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.001364/0.001364, allocations: 180.1 kB / 371.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0009918/0.0009916, allocations: 92.23 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006761/0.0006762, allocations: 12.84 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2208, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9157/1.137, allocations: 141 MB / 1.117 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/1.137, allocations: 105.3 kB / 1.117 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02026/1.157, allocations: 5.315 MB / 1.122 GB, free: 31.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.157, allocations: 0 / 1.122 GB, free: 31.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.119e-05/1.157, allocations: 12.09 kB / 1.122 GB, free: 31.09 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.00103/1.158, allocations: 0.5785 MB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.158, allocations: 7.781 kB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/1.159, allocations: 32.03 kB / 1.123 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/1.159, allocations: 443.1 kB / 1.123 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/1.159, allocations: 8.188 kB / 1.123 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/1.159, allocations: 7.594 kB / 1.123 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/1.16, allocations: 77.91 kB / 1.123 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.16, allocations: 192 / 1.123 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/1.16, allocations: 10.44 kB / 1.123 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.16, allocations: 7.891 kB / 1.123 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/1.16, allocations: 49.64 kB / 1.123 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/1.161, allocations: 0.4926 MB / 1.124 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/1.161, allocations: 47.8 kB / 1.124 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/1.161, allocations: 23.11 kB / 1.124 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/1.161, allocations: 0 / 1.124 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/1.161, allocations: 34 kB / 1.124 GB, free: 29.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/1.161, allocations: 0 / 1.124 GB, free: 29.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004106/1.162, allocations: 117.5 kB / 1.124 GB, free: 29.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.162, allocations: 51.41 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009344/1.163, allocations: 0.5422 MB / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/1.163, allocations: 28.39 kB / 1.125 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.163, allocations: 168.5 kB / 1.125 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/1.163, allocations: 15.62 kB / 1.125 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/1.163, allocations: 0 / 1.125 GB, free: 29.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.163, allocations: 349.1 kB / 1.125 GB, free: 29.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/1.163, allocations: 18.08 kB / 1.125 GB, free: 29.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/1.163, allocations: 13.92 kB / 1.125 GB, free: 29.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/1.163, allocations: 40.81 kB / 1.125 GB, free: 29.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.163, allocations: 3.844 kB / 1.125 GB, free: 29.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000258/1.164, allocations: 92.16 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.164, allocations: 6.641 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.164, allocations: 0 / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.164, allocations: 0 / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/1.164, allocations: 7.812 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.164, allocations: 0 / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/1.164, allocations: 14.58 kB / 1.125 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/1.164, allocations: 0 / 1.125 GB, free: 29.19 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.0002178/1.164, allocations: 188.8 kB / 1.126 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/1.164, allocations: 31 kB / 1.126 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/1.165, allocations: 105.4 kB / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.165, allocations: 0 / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.165, allocations: 48 / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.165, allocations: 7.922 kB / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/1.165, allocations: 305.4 kB / 1.126 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.165, allocations: 112 / 1.126 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/1.165, allocations: 18.5 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/1.165, allocations: 3.938 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/1.165, allocations: 0 / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/1.165, allocations: 0 / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.165, allocations: 0 / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/1.166, allocations: 197.1 kB / 1.126 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/1.166, allocations: 132.3 kB / 1.126 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/1.166, allocations: 7.312 kB / 1.126 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/1.166, allocations: 0 / 1.126 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/1.166, allocations: 7.391 kB / 1.126 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/1.166, allocations: 3.938 kB / 1.126 GB, free: 28.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006541/1.167, allocations: 408.5 kB / 1.127 GB, free: 28.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.167, allocations: 0 / 1.127 GB, free: 28.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003817/1.167, allocations: 37.98 kB / 1.127 GB, free: 28.43 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.0009793/1.168, allocations: 356.9 kB / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002246/1.168, allocations: 32.64 kB / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.168, allocations: 4 kB / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/1.168, allocations: 22.22 kB / 1.127 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/1.169, allocations: 38.81 kB / 1.127 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/1.17, allocations: 0.5732 MB / 1.128 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/1.171, allocations: 0.7878 MB / 1.129 GB, free: 27.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002154/1.171, allocations: 54.55 kB / 1.129 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/1.171, allocations: 26.09 kB / 1.129 GB, free: 27.26 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.171, allocations: 0 / 1.129 GB, free: 27.26 MB / 0.698 GB Notification: Performance of Templates: time 0.008426/1.179, allocations: 2.538 MB / 1.131 GB, free: 27.05 MB / 0.698 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)