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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 293 MB / 309 MB, free: 4.801 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.001235/0.001235, allocations: 172.1 kB / 378.7 MB, free: 0.9922 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.915/1.915, allocations: 205.4 MB / 0.6383 GB, free: 8.211 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.0009742/0.0009739, allocations: 90.42 kB / 0.7527 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004766, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2835, allocations: 116.4 MB / 0.9905 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.496/5.78, allocations: 2.395 GB / 3.386 GB, free: 180.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/5.78, allocations: 109.1 kB / 3.386 GB, free: 180.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.761/12.54, allocations: 1.696 GB / 5.082 GB, free: 85.07 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.739e-06/12.54, allocations: 3.031 kB / 5.082 GB, free: 85.07 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0008618/12.54, allocations: 100.8 kB / 5.082 GB, free: 85.07 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.01769/12.56, allocations: 4.553 MB / 5.087 GB, free: 83.39 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/12.56, allocations: 10.62 kB / 5.087 GB, free: 83.39 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009952/12.57, allocations: 1.332 MB / 5.088 GB, free: 83.17 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/12.58, allocations: 4.058 MB / 5.092 GB, free: 82.39 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007896/12.59, allocations: 328.9 kB / 5.092 GB, free: 82.32 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/12.59, allocations: 246.1 kB / 5.093 GB, free: 82.32 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/12.6, allocations: 3.082 MB / 5.096 GB, free: 81.91 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/12.6, allocations: 4.688 kB / 5.096 GB, free: 81.91 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009164/12.6, allocations: 95.62 kB / 5.096 GB, free: 81.91 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/12.6, allocations: 88.61 kB / 5.096 GB, free: 81.9 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009114/12.61, allocations: 2.943 MB / 5.099 GB, free: 81.87 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.02769/12.63, allocations: 12.8 MB / 5.111 GB, free: 76.32 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006042/12.64, allocations: 2.658 MB / 5.114 GB, free: 75.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/12.64, allocations: 1.111 MB / 5.115 GB, free: 75.77 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.01321/12.66, allocations: 5.501 MB / 5.12 GB, free: 73.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002944/12.66, allocations: 1.171 MB / 5.121 GB, free: 73.26 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003029/12.66, allocations: 253.8 kB / 5.122 GB, free: 73.18 MB / 1.01 GB Notification: Performance of pre-optimization done (n=145): time 2.246e-05/12.66, allocations: 0 / 5.122 GB, free: 73.18 MB / 1.01 GB Notification: Performance of matching and sorting (n=145): time 0.009689/12.67, allocations: 2.913 MB / 5.124 GB, free: 72.93 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/12.67, allocations: 220.8 kB / 5.125 GB, free: 72.68 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/12.68, allocations: 3.238 MB / 5.128 GB, free: 72.42 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006863/12.68, allocations: 64.08 kB / 5.128 GB, free: 72.39 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002552/12.69, allocations: 1.622 MB / 5.129 GB, free: 71.94 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009947/12.69, allocations: 0.4917 MB / 5.13 GB, free: 71.63 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/12.69, allocations: 35.34 kB / 5.13 GB, free: 71.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002787/12.69, allocations: 382.3 kB / 5.13 GB, free: 71.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/12.69, allocations: 0.975 MB / 5.131 GB, free: 71.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/12.7, allocations: 1.649 MB / 5.133 GB, free: 70.57 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005957/12.7, allocations: 2.298 MB / 5.135 GB, free: 70.07 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.958e-05/12.7, allocations: 8.719 kB / 5.135 GB, free: 70.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.009519/12.71, allocations: 2.836 MB / 5.138 GB, free: 69.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004412/12.71, allocations: 0.4919 MB / 5.138 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-05/12.71, allocations: 16.66 kB / 5.138 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.238e-05/12.71, allocations: 23.25 kB / 5.138 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/12.71, allocations: 0.5359 MB / 5.139 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.435e-05/12.71, allocations: 25.31 kB / 5.139 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004815/12.72, allocations: 362.7 kB / 5.139 GB, free: 69.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004474/12.72, allocations: 112.8 kB / 5.139 GB, free: 69.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/12.72, allocations: 5.469 kB / 5.139 GB, free: 69.25 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007276/12.73, allocations: 2.436 MB / 5.142 GB, free: 69.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.081e-05/12.73, allocations: 16.92 kB / 5.142 GB, free: 69.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.198e-05/12.73, allocations: 21.84 kB / 5.142 GB, free: 69.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/12.73, allocations: 0.5159 MB / 5.142 GB, free: 69.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.869e-05/12.73, allocations: 32.22 kB / 5.142 GB, free: 69.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/12.73, allocations: 329.9 kB / 5.143 GB, free: 69.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/12.74, allocations: 108.4 kB / 5.143 GB, free: 69.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (234): * Single equations (assignments): 231 * 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.002917/12.74, allocations: 0.7903 MB / 5.143 GB, free: 68.99 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/12.74, allocations: 339 kB / 5.144 GB, free: 68.82 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008643/12.75, allocations: 2.454 MB / 5.146 GB, free: 68.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.307e-05/12.75, allocations: 17.88 kB / 5.146 GB, free: 68.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/12.75, allocations: 1.312 kB / 5.146 GB, free: 68.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005523/12.75, allocations: 2.184 MB / 5.148 GB, free: 68.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 postOpt removeSimpleEquations (simulation): time 0.01887/12.77, allocations: 5.595 MB / 5.154 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/12.77, allocations: 3.094 kB / 5.154 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/12.78, allocations: 390.3 kB / 5.154 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.974e-05/12.78, allocations: 9.844 kB / 5.154 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/12.78, allocations: 49.66 kB / 5.154 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.507e-05/12.78, allocations: 10.38 kB / 5.154 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/12.78, allocations: 4.219 kB / 5.154 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/12.79, allocations: 3.713 MB / 5.158 GB, free: 66.97 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003446/12.79, allocations: 0.6739 MB / 5.159 GB, free: 66.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00172/12.79, allocations: 35.23 kB / 5.159 GB, free: 66.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004043/12.8, allocations: 280.1 kB / 5.159 GB, free: 66.69 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/12.8, allocations: 107.4 kB / 5.159 GB, free: 66.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/12.8, allocations: 77.06 kB / 5.159 GB, free: 66.68 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006857/12.8, allocations: 2.203 MB / 5.161 GB, free: 66.54 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.91e-07/12.8, allocations: 1.094 kB / 5.161 GB, free: 66.54 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01259/12.82, allocations: 2.007 MB / 5.163 GB, free: 66.28 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.009417/12.83, allocations: 3.829 MB / 5.167 GB, free: 64.89 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01152/12.84, allocations: 3.57 MB / 5.17 GB, free: 64.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/12.84, allocations: 3.875 kB / 5.17 GB, free: 64.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003272/12.84, allocations: 1.026 MB / 5.171 GB, free: 64.78 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/12.85, allocations: 1.522 MB / 5.173 GB, free: 64.69 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/12.87, allocations: 7.788 MB / 5.18 GB, free: 61.29 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003531/12.88, allocations: 2.034 MB / 5.182 GB, free: 60.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00708/12.89, allocations: 0.8484 MB / 5.183 GB, free: 60.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/12.89, allocations: 278.4 kB / 5.184 GB, free: 60.34 MB / 1.01 GB Notification: Performance of SimCode: time 9.11e-07/12.89, allocations: 0 / 5.184 GB, free: 60.34 MB / 1.01 GB Notification: Performance of Templates: time 0.1479/13.03, allocations: 89.24 MB / 5.271 GB, free: 54.24 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)