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.ChillerSetPointControl.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.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 288.3 MB / 303.2 MB, free: 8.207 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.001138/0.001138, allocations: 165.2 kB / 371.8 MB, free: 10.3 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.946/1.946, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.001232/0.001233, allocations: 105.1 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004272, allocations: 14.08 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.982/6.294, allocations: 2.394 GB / 3.373 GB, free: 300.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/6.294, allocations: 111.9 kB / 3.373 GB, free: 300.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.217/12.51, allocations: 1.708 GB / 5.081 GB, free: 18.39 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.324e-06/12.51, allocations: 0 / 5.081 GB, free: 18.39 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004433/12.51, allocations: 100.7 kB / 5.081 GB, free: 18.3 MB / 0.9792 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.01409/12.53, allocations: 4.598 MB / 5.086 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/12.53, allocations: 8.031 kB / 5.086 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009868/12.54, allocations: 1.33 MB / 5.087 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/12.55, allocations: 4.19 MB / 5.091 GB, free: 8.141 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005284/12.55, allocations: 324.3 kB / 5.092 GB, free: 7.809 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005999/12.55, allocations: 247.9 kB / 5.092 GB, free: 7.566 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006249/12.55, allocations: 3.069 MB / 5.095 GB, free: 4.336 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.152e-05/12.55, allocations: 3.938 kB / 5.095 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/12.55, allocations: 99.78 kB / 5.095 GB, free: 4.238 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/12.55, allocations: 88.25 kB / 5.095 GB, free: 4.148 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006923/12.56, allocations: 2.936 MB / 5.098 GB, free: 1.195 MB / 0.9792 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.02449/12.59, allocations: 12.83 MB / 5.11 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006152/12.59, allocations: 2.643 MB / 5.113 GB, free: 0.8906 MB / 0.9948 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.01349/12.61, allocations: 5.514 MB / 5.118 GB, free: 10.97 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002924/12.61, allocations: 1.169 MB / 5.12 GB, free: 9.785 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002958/12.61, allocations: 246.3 kB / 5.12 GB, free: 9.543 MB / 1.01 GB Notification: Performance of pre-optimization done (n=145): time 1.359e-05/12.61, allocations: 3.938 kB / 5.12 GB, free: 9.539 MB / 1.01 GB Notification: Performance of matching and sorting (n=145): time 0.009912/12.62, allocations: 2.918 MB / 5.123 GB, free: 6.617 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002661/12.62, allocations: 234.9 kB / 5.123 GB, free: 6.34 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007105/12.63, allocations: 2.925 MB / 5.126 GB, free: 3.434 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007275/12.63, allocations: 65.7 kB / 5.126 GB, free: 3.363 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/12.63, allocations: 1.626 MB / 5.127 GB, free: 1.727 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008075/12.63, allocations: 0.4929 MB / 5.128 GB, free: 1.227 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/12.63, allocations: 35.98 kB / 5.128 GB, free: 1.191 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002127/12.63, allocations: 381.9 kB / 5.128 GB, free: 0.8125 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.836/13.47, allocations: 0.9638 MB / 5.129 GB, free: 99.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/13.47, allocations: 1.629 MB / 5.131 GB, free: 98.58 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/13.48, allocations: 1.099 MB / 5.132 GB, free: 98.57 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/13.48, allocations: 3.188 kB / 5.132 GB, free: 98.57 MB / 1.01 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009312/13.49, allocations: 2.825 MB / 5.135 GB, free: 98.51 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001539/13.49, allocations: 5.831 MB / 5.14 GB, free: 92.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.827e-05/13.49, allocations: 14.89 kB / 5.14 GB, free: 92.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.32e-05/13.49, allocations: 26 kB / 5.14 GB, free: 92.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/13.49, allocations: 0.5409 MB / 5.141 GB, free: 92.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.658e-05/13.49, allocations: 32.3 kB / 5.141 GB, free: 92.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004765/13.5, allocations: 368.3 kB / 5.141 GB, free: 92.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000541/13.5, allocations: 113.2 kB / 5.141 GB, free: 92.44 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/13.5, allocations: 5.438 kB / 5.141 GB, free: 92.44 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007194/13.5, allocations: 2.434 MB / 5.144 GB, free: 92.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-05/13.5, allocations: 14.31 kB / 5.144 GB, free: 92.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-05/13.5, allocations: 29.83 kB / 5.144 GB, free: 92.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/13.51, allocations: 0.524 MB / 5.144 GB, free: 92.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.393e-05/13.51, allocations: 32.91 kB / 5.144 GB, free: 92.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/13.51, allocations: 319.3 kB / 5.145 GB, free: 92.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/13.51, allocations: 105.8 kB / 5.145 GB, free: 92.41 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.002904/13.52, allocations: 0.7798 MB / 5.145 GB, free: 92.22 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/13.52, allocations: 345.6 kB / 5.146 GB, free: 92.22 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007272/13.52, allocations: 2.461 MB / 5.148 GB, free: 92.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.273e-05/13.52, allocations: 20.66 kB / 5.148 GB, free: 92.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/13.52, allocations: 0 / 5.148 GB, free: 92.12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005272/13.53, allocations: 2.181 MB / 5.15 GB, free: 91.65 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.01674/13.55, allocations: 5.628 MB / 5.156 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/13.55, allocations: 4.75 kB / 5.156 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/13.55, allocations: 385.6 kB / 5.156 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/13.55, allocations: 10.19 kB / 5.156 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/13.55, allocations: 55.45 kB / 5.156 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/13.55, allocations: 7.922 kB / 5.156 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/13.55, allocations: 3.375 kB / 5.156 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008356/13.56, allocations: 4.021 MB / 5.16 GB, free: 90.13 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/13.56, allocations: 0.6874 MB / 5.161 GB, free: 89.85 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009271/13.56, allocations: 39.03 kB / 5.161 GB, free: 89.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003112/13.56, allocations: 269.5 kB / 5.161 GB, free: 89.85 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/13.56, allocations: 106.5 kB / 5.161 GB, free: 89.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000238/13.56, allocations: 78.77 kB / 5.161 GB, free: 89.84 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00527/13.57, allocations: 2.264 MB / 5.164 GB, free: 89.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.413e-06/13.57, allocations: 0 / 5.164 GB, free: 89.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009474/13.58, allocations: 2.029 MB / 5.166 GB, free: 89.62 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.007716/13.59, allocations: 3.864 MB / 5.169 GB, free: 88.38 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01068/13.6, allocations: 3.564 MB / 5.173 GB, free: 88.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/13.6, allocations: 2.5 kB / 5.173 GB, free: 88.29 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002978/13.6, allocations: 1.03 MB / 5.174 GB, free: 88.28 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009243/13.61, allocations: 1.506 MB / 5.175 GB, free: 88.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/13.63, allocations: 7.764 MB / 5.183 GB, free: 85.24 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002505/13.63, allocations: 2.102 MB / 5.185 GB, free: 84.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.007476/13.64, allocations: 0.853 MB / 5.186 GB, free: 84.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/13.64, allocations: 268.2 kB / 5.186 GB, free: 84.46 MB / 1.01 GB Notification: Performance of SimCode: time 1.854e-06/13.64, allocations: 1.469 kB / 5.186 GB, free: 84.46 MB / 1.01 GB Notification: Performance of Templates: time 0.1562/13.8, allocations: 88.41 MB / 5.272 GB, free: 79.03 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)