Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001387/0.001387, allocations: 193 kB / 377.1 MB, free: 1.52 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.84/1.84, allocations: 205.4 MB / 0.6367 GB, free: 8.551 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.0009562/0.000956, allocations: 99.84 kB / 0.751 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.322, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.595/6.917, allocations: 2.395 GB / 3.383 GB, free: 146.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/6.917, allocations: 113.4 kB / 3.383 GB, free: 146.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.379/14.3, allocations: 1.708 GB / 5.091 GB, free: 85.37 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.214e-06/14.3, allocations: 1.906 kB / 5.091 GB, free: 85.37 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001002/14.3, allocations: 101.7 kB / 5.091 GB, free: 85.37 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.0223/14.32, allocations: 4.589 MB / 5.096 GB, free: 83.64 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/14.32, allocations: 9.219 kB / 5.096 GB, free: 83.64 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/14.33, allocations: 1.341 MB / 5.097 GB, free: 83.42 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/14.35, allocations: 4.183 MB / 5.101 GB, free: 82.75 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001089/14.35, allocations: 326.7 kB / 5.101 GB, free: 82.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/14.35, allocations: 244 kB / 5.102 GB, free: 82.68 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/14.37, allocations: 3.068 MB / 5.105 GB, free: 82.28 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002455/14.37, allocations: 8.438 kB / 5.105 GB, free: 82.27 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/14.37, allocations: 93.41 kB / 5.105 GB, free: 82.27 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/14.37, allocations: 90.89 kB / 5.105 GB, free: 82.27 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/14.38, allocations: 2.932 MB / 5.108 GB, free: 82.23 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03955/14.42, allocations: 12.86 MB / 5.12 GB, free: 76.67 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008669/14.43, allocations: 2.64 MB / 5.123 GB, free: 76.13 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01799/14.45, allocations: 5.51 MB / 5.128 GB, free: 73.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003785/14.45, allocations: 1.167 MB / 5.129 GB, free: 73.66 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003371/14.46, allocations: 262.2 kB / 5.13 GB, free: 73.58 MB / 1.01 GB Notification: Performance of pre-optimization done (n=145): time 2.177e-05/14.46, allocations: 3.938 kB / 5.13 GB, free: 73.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=145): time 0.0116/14.47, allocations: 2.908 MB / 5.133 GB, free: 73.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/14.47, allocations: 228.1 kB / 5.133 GB, free: 73.08 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01261/14.48, allocations: 2.928 MB / 5.136 GB, free: 72.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001084/14.48, allocations: 66.78 kB / 5.136 GB, free: 72.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0036/14.49, allocations: 1.627 MB / 5.137 GB, free: 72.35 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/14.49, allocations: 497.7 kB / 5.138 GB, free: 72.04 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006134/14.49, allocations: 36 kB / 5.138 GB, free: 72.04 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003307/14.49, allocations: 381.6 kB / 5.138 GB, free: 71.73 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003923/14.49, allocations: 0.9707 MB / 5.139 GB, free: 71.73 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/14.5, allocations: 1.632 MB / 5.141 GB, free: 71 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/14.5, allocations: 1.099 MB / 5.142 GB, free: 70.97 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-05/14.5, allocations: 6.781 kB / 5.142 GB, free: 70.97 MB / 1.01 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01011/14.51, allocations: 2.825 MB / 5.144 GB, free: 70.74 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002307/14.51, allocations: 5.827 MB / 5.15 GB, free: 64.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-05/14.51, allocations: 17.75 kB / 5.15 GB, free: 64.67 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.446e-05/14.51, allocations: 28.72 kB / 5.15 GB, free: 64.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/14.52, allocations: 0.545 MB / 5.151 GB, free: 64.67 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.498e-05/14.52, allocations: 30.25 kB / 5.151 GB, free: 64.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005925/14.52, allocations: 360.9 kB / 5.151 GB, free: 64.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005962/14.52, allocations: 106.7 kB / 5.151 GB, free: 64.65 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/14.52, allocations: 7.719 kB / 5.151 GB, free: 64.65 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007794/14.53, allocations: 2.435 MB / 5.154 GB, free: 64.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.438e-05/14.53, allocations: 16.28 kB / 5.154 GB, free: 64.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-05/14.53, allocations: 26.41 kB / 5.154 GB, free: 64.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/14.53, allocations: 0.528 MB / 5.154 GB, free: 64.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.844e-05/14.53, allocations: 34.19 kB / 5.154 GB, free: 64.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0052/14.54, allocations: 324.8 kB / 5.155 GB, free: 64.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004659/14.54, allocations: 105.8 kB / 5.155 GB, free: 64.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 230 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.003571/14.54, allocations: 0.7891 MB / 5.155 GB, free: 64.39 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002006/14.55, allocations: 343.4 kB / 5.156 GB, free: 64.22 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009104/14.55, allocations: 2.457 MB / 5.158 GB, free: 64.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/14.55, allocations: 20.55 kB / 5.158 GB, free: 64.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/14.55, allocations: 5.641 kB / 5.158 GB, free: 64.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006205/14.56, allocations: 2.179 MB / 5.16 GB, free: 63.63 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/14.59, allocations: 5.618 MB / 5.166 GB, free: 62.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/14.59, allocations: 6.141 kB / 5.166 GB, free: 62.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/14.59, allocations: 386.9 kB / 5.166 GB, free: 62.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.526e-05/14.59, allocations: 9 kB / 5.166 GB, free: 62.93 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003395/14.59, allocations: 53.66 kB / 5.166 GB, free: 62.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.816e-05/14.59, allocations: 7.031 kB / 5.166 GB, free: 62.93 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/14.59, allocations: 6.406 kB / 5.166 GB, free: 62.93 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/14.6, allocations: 4.014 MB / 5.17 GB, free: 62.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004976/14.61, allocations: 0.6921 MB / 5.171 GB, free: 61.76 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002671/14.61, allocations: 39.36 kB / 5.171 GB, free: 61.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005338/14.62, allocations: 276.2 kB / 5.171 GB, free: 61.75 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/14.62, allocations: 96.72 kB / 5.171 GB, free: 61.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004099/14.62, allocations: 83.7 kB / 5.171 GB, free: 61.75 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.007566/14.62, allocations: 2.263 MB / 5.173 GB, free: 61.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.8e-07/14.62, allocations: 2.625 kB / 5.173 GB, free: 61.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01443/14.64, allocations: 2.02 MB / 5.175 GB, free: 61.34 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 11 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,TRet.T,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.sam.sampleTrigger,triAndRes.uniDel1.sampleTrigger,$whenCondition2,$whenCondition1,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition3,triAndRes.firstTrigger) * Number of discrete states: 1 (triAndRes.uniDel1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 5 * 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.01092/14.65, allocations: 3.864 MB / 5.179 GB, free: 59.82 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01232/14.66, allocations: 3.574 MB / 5.183 GB, free: 59.66 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/14.66, allocations: 2.875 kB / 5.183 GB, free: 59.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003246/14.67, allocations: 1.024 MB / 5.184 GB, free: 59.64 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/14.68, allocations: 1.505 MB / 5.185 GB, free: 59.56 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/14.7, allocations: 7.77 MB / 5.193 GB, free: 56.16 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004214/14.71, allocations: 2.103 MB / 5.195 GB, free: 55.38 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.007572/14.71, allocations: 0.8465 MB / 5.196 GB, free: 55.22 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/14.72, allocations: 276.7 kB / 5.196 GB, free: 55.22 MB / 1.01 GB Notification: Performance of SimCode: time 1.633e-06/14.72, allocations: 0 / 5.196 GB, free: 55.22 MB / 1.01 GB Notification: Performance of Templates: time 0.1604/14.88, allocations: 88.41 MB / 5.282 GB, free: 49.01 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)