Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009717/0.0009718, allocations: 172.7 kB / 327.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 0.5785 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008144/0.0008143, allocations: 91.44 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003704, allocations: 12.75 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1952, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.3514, allocations: 134.9 MB / 1.033 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.3518, allocations: 103.9 kB / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01339/0.3652, allocations: 5.335 MB / 1.038 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3652, allocations: 0 / 1.038 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.315e-05/0.3652, allocations: 16.09 kB / 1.038 GB, free: 3.496 MB / 0.6823 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.0006909/0.3659, allocations: 0.5721 MB / 1.039 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.366, allocations: 8.031 kB / 1.039 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.3661, allocations: 32.56 kB / 1.039 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.3667, allocations: 442.2 kB / 1.039 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3667, allocations: 4.312 kB / 1.039 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.3668, allocations: 8.375 kB / 1.039 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.367, allocations: 82.22 kB / 1.039 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.367, allocations: 192 / 1.039 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.367, allocations: 3.938 kB / 1.039 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.367, allocations: 4 kB / 1.039 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.3671, allocations: 47.97 kB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007787/0.3679, allocations: 0.4926 MB / 1.04 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3681, allocations: 51.83 kB / 1.04 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.3681, allocations: 20.92 kB / 1.04 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3682, allocations: 0 / 1.04 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3682, allocations: 46.42 kB / 1.04 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.3682, allocations: 0 / 1.04 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002996/0.3685, allocations: 105.3 kB / 1.04 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3686, allocations: 51.41 kB / 1.04 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/0.3692, allocations: 0.5445 MB / 1.041 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3693, allocations: 29.7 kB / 1.041 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3694, allocations: 176 kB / 1.041 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3694, allocations: 7.844 kB / 1.041 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.3694, allocations: 0 / 1.041 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3696, allocations: 342.8 kB / 1.041 GB, free: 252 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.3696, allocations: 19.98 kB / 1.041 GB, free: 232 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.3697, allocations: 15.94 kB / 1.041 GB, free: 216 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.3698, allocations: 45.11 kB / 1.041 GB, free: 168 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3698, allocations: 0 / 1.041 GB, free: 168 kB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000174/0.37, allocations: 97.28 kB / 1.041 GB, free: 64 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.37, allocations: 4 kB / 1.041 GB, free: 60 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.37, allocations: 4 kB / 1.041 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.37, allocations: 0 / 1.041 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.3701, allocations: 12 kB / 1.041 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3701, allocations: 0 / 1.041 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.3702, allocations: 11.92 kB / 1.041 GB, free: 32 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3702, allocations: 0 / 1.041 GB, free: 32 kB / 0.6823 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.0001725/0.3704, allocations: 181.8 kB / 1.042 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.3705, allocations: 27.62 kB / 1.042 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3707, allocations: 108.2 kB / 1.042 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3707, allocations: 0 / 1.042 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3707, allocations: 0 / 1.042 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3707, allocations: 7.938 kB / 1.042 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.371, allocations: 301.5 kB / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.371, allocations: 112 / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.3711, allocations: 11.92 kB / 1.042 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3711, allocations: 0 / 1.042 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3711, allocations: 4 kB / 1.042 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3711, allocations: 0 / 1.042 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3711, allocations: 0 / 1.042 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.3714, allocations: 195 kB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3715, allocations: 136.7 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.3715, allocations: 4 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.3716, allocations: 0 / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.3717, allocations: 4 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.3717, allocations: 11.92 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00046/0.3722, allocations: 411.1 kB / 1.043 GB, free: 14.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3722, allocations: 3.938 kB / 1.043 GB, free: 14.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002509/0.3724, allocations: 35.84 kB / 1.043 GB, free: 14.51 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.0007386/0.3732, allocations: 363.4 kB / 1.043 GB, free: 14.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3733, allocations: 39.91 kB / 1.043 GB, free: 14.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3733, allocations: 0 / 1.043 GB, free: 14.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.3734, allocations: 19.98 kB / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3738, allocations: 40.17 kB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.3747, allocations: 0.5704 MB / 1.044 GB, free: 13.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.375, allocations: 0.7872 MB / 1.045 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000125/0.3752, allocations: 49.92 kB / 1.045 GB, free: 12.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.3753, allocations: 23.44 kB / 1.045 GB, free: 12.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.3753, allocations: 4 kB / 1.045 GB, free: 12.69 MB / 0.698 GB Notification: Performance of Templates: time 0.005795/0.3811, allocations: 2.554 MB / 1.047 GB, free: 10.16 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)