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.68/1.68, allocations: 285.4 MB / 298 MB, free: 5.988 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.00127/0.00127, allocations: 176.9 kB / 366.4 MB, free: 2.098 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.479/1.479, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0007964/0.0007965, allocations: 99 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.913e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7565/0.7566, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.478/6.235, allocations: 2.394 GB / 3.365 GB, free: 57.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/6.235, allocations: 106.6 kB / 3.365 GB, free: 57.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.836/13.07, allocations: 1.704 GB / 5.069 GB, free: 86.19 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.503e-06/13.07, allocations: 0 / 5.069 GB, free: 86.19 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0007072/13.07, allocations: 102.8 kB / 5.069 GB, free: 86.17 MB / 0.9948 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.0126/13.08, allocations: 3.744 MB / 5.073 GB, free: 84.59 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/13.08, allocations: 11.5 kB / 5.073 GB, free: 84.59 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0096/13.09, allocations: 1.335 MB / 5.074 GB, free: 84.36 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/13.11, allocations: 4.143 MB / 5.078 GB, free: 83.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006943/13.11, allocations: 326.2 kB / 5.078 GB, free: 83.62 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/13.11, allocations: 251.5 kB / 5.078 GB, free: 83.62 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/13.11, allocations: 2.778 MB / 5.081 GB, free: 83.21 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-05/13.11, allocations: 3.094 kB / 5.081 GB, free: 83.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/13.11, allocations: 99.81 kB / 5.081 GB, free: 83.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.243e-05/13.11, allocations: 82.91 kB / 5.081 GB, free: 83.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004046/13.12, allocations: 2.351 MB / 5.084 GB, free: 83.17 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.01974/13.14, allocations: 12.84 MB / 5.096 GB, free: 77.59 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/13.14, allocations: 2.203 MB / 5.098 GB, free: 77.06 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/13.14, allocations: 0.8462 MB / 5.099 GB, free: 77.03 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.008946/13.15, allocations: 5.546 MB / 5.105 GB, free: 74.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/13.15, allocations: 0.963 MB / 5.106 GB, free: 74.48 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001642/13.15, allocations: 248.9 kB / 5.106 GB, free: 74.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=145): time 5.75e-06/13.15, allocations: 1.531 kB / 5.106 GB, free: 74.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=145): time 0.003096/13.16, allocations: 1.702 MB / 5.107 GB, free: 74.16 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/13.16, allocations: 232.5 kB / 5.108 GB, free: 73.91 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/13.16, allocations: 2.841 MB / 5.11 GB, free: 73.64 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/13.16, allocations: 65.27 kB / 5.111 GB, free: 73.61 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/13.16, allocations: 1.62 MB / 5.112 GB, free: 73.17 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/13.16, allocations: 500 kB / 5.113 GB, free: 72.86 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/13.16, allocations: 39.47 kB / 5.113 GB, free: 72.86 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/13.16, allocations: 374.4 kB / 5.113 GB, free: 72.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/13.17, allocations: 0.7049 MB / 5.114 GB, free: 72.55 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/13.17, allocations: 1.375 MB / 5.115 GB, free: 71.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/13.17, allocations: 0.8338 MB / 5.116 GB, free: 71.79 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/13.17, allocations: 4.719 kB / 5.116 GB, free: 71.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.003746/13.17, allocations: 2.294 MB / 5.118 GB, free: 71.55 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001206/13.17, allocations: 5.831 MB / 5.124 GB, free: 65.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/13.17, allocations: 20.83 kB / 5.124 GB, free: 65.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.816e-05/13.17, allocations: 24 kB / 5.124 GB, free: 65.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/13.18, allocations: 0.5419 MB / 5.124 GB, free: 65.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.558e-05/13.18, allocations: 25.34 kB / 5.124 GB, free: 65.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/13.18, allocations: 368.9 kB / 5.125 GB, free: 65.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/13.18, allocations: 107.4 kB / 5.125 GB, free: 65.46 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/13.18, allocations: 6.625 kB / 5.125 GB, free: 65.46 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003102/13.18, allocations: 1.946 MB / 5.127 GB, free: 65.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/13.18, allocations: 11.56 kB / 5.127 GB, free: 65.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/13.18, allocations: 27.41 kB / 5.127 GB, free: 65.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/13.18, allocations: 0.5244 MB / 5.127 GB, free: 65.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.044e-05/13.18, allocations: 31.88 kB / 5.127 GB, free: 65.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/13.19, allocations: 325.5 kB / 5.128 GB, free: 65.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/13.19, allocations: 102 kB / 5.128 GB, free: 65.41 MB / 0.9948 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 () * 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.0006843/13.19, allocations: 237.9 kB / 5.128 GB, free: 65.29 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/13.19, allocations: 344.4 kB / 5.128 GB, free: 65.11 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/13.2, allocations: 2.033 MB / 5.13 GB, free: 64.99 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/13.2, allocations: 18.84 kB / 5.13 GB, free: 64.99 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.577e-06/13.2, allocations: 0 / 5.13 GB, free: 64.99 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002351/13.2, allocations: 1.765 MB / 5.132 GB, free: 64.52 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.011/13.21, allocations: 5.18 MB / 5.137 GB, free: 63.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/13.21, allocations: 2.688 kB / 5.137 GB, free: 63.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/13.21, allocations: 390.7 kB / 5.137 GB, free: 63.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/13.21, allocations: 10.36 kB / 5.137 GB, free: 63.81 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/13.21, allocations: 52.5 kB / 5.137 GB, free: 63.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/13.21, allocations: 8.844 kB / 5.137 GB, free: 63.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/13.21, allocations: 5.25 kB / 5.137 GB, free: 63.81 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/13.22, allocations: 3.383 MB / 5.141 GB, free: 62.92 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/13.22, allocations: 0.6854 MB / 5.141 GB, free: 62.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005587/13.22, allocations: 33.75 kB / 5.141 GB, free: 62.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/13.22, allocations: 283.2 kB / 5.142 GB, free: 62.63 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/13.22, allocations: 96.44 kB / 5.142 GB, free: 62.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/13.22, allocations: 84.02 kB / 5.142 GB, free: 62.63 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003303/13.22, allocations: 2.182 MB / 5.144 GB, free: 62.47 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.8e-07/13.22, allocations: 0 / 5.144 GB, free: 62.47 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00665/13.23, allocations: 2.027 MB / 5.146 GB, free: 62.21 MB / 0.9948 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) * 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.006012/13.24, allocations: 3.842 MB / 5.15 GB, free: 60.78 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004897/13.24, allocations: 2.968 MB / 5.153 GB, free: 60.66 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/13.24, allocations: 5.688 kB / 5.153 GB, free: 60.66 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/13.24, allocations: 0.8151 MB / 5.153 GB, free: 60.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007813/13.25, allocations: 1.507 MB / 5.155 GB, free: 60.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/13.26, allocations: 5.268 MB / 5.16 GB, free: 59.07 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/13.27, allocations: 2.108 MB / 5.162 GB, free: 58.28 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006453/13.27, allocations: 1.246 MB / 5.163 GB, free: 58.09 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006936/13.27, allocations: 215.7 kB / 5.164 GB, free: 58.08 MB / 0.9948 GB Notification: Performance of SimCode: time 1.403e-06/13.27, allocations: 0 / 5.164 GB, free: 58.08 MB / 0.9948 GB Notification: Performance of Templates: time 0.1452/13.42, allocations: 100.8 MB / 5.262 GB, free: 14.7 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)