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.671/1.671, allocations: 288.4 MB / 304.3 MB, free: 8.105 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.001035/0.001035, allocations: 174.2 kB / 372.9 MB, free: 10.16 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.573/1.573, allocations: 205.4 MB / 0.6317 GB, free: 9.91 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.0007321/0.0007319, allocations: 95.92 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004628, allocations: 12.62 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2426, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.579/5.821, allocations: 2.394 GB / 3.375 GB, free: 276.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/5.822, allocations: 103.9 kB / 3.375 GB, free: 276.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.307/11.13, allocations: 1.697 GB / 5.071 GB, free: 8.863 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.785e-06/11.13, allocations: 4 kB / 5.071 GB, free: 8.859 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004343/11.13, allocations: 91.92 kB / 5.071 GB, free: 8.77 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.0124/11.14, allocations: 4.556 MB / 5.076 GB, free: 4.141 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/11.14, allocations: 8.031 kB / 5.076 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009792/11.15, allocations: 1.334 MB / 5.077 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/11.17, allocations: 4.054 MB / 5.081 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006598/11.17, allocations: 336.1 kB / 5.082 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007584/11.17, allocations: 247.9 kB / 5.082 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007876/11.18, allocations: 3.092 MB / 5.085 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-05/11.18, allocations: 3.938 kB / 5.085 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/11.18, allocations: 96 kB / 5.085 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/11.18, allocations: 88.25 kB / 5.085 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008652/11.19, allocations: 2.936 MB / 5.088 GB, free: 7.746 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 removeSimpleEquations (simulation): time 0.02451/11.21, allocations: 12.79 MB / 5.1 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005744/11.22, allocations: 2.658 MB / 5.103 GB, free: 7.477 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002758/11.22, allocations: 1.101 MB / 5.104 GB, free: 6.371 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.01212/11.23, allocations: 5.52 MB / 5.109 GB, free: 448 kB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6321/11.86, allocations: 1.168 MB / 5.111 GB, free: 98.64 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002244/11.86, allocations: 239.7 kB / 5.111 GB, free: 98.64 MB / 1.01 GB Notification: Performance of pre-optimization done (n=145): time 1.027e-05/11.86, allocations: 1.906 kB / 5.111 GB, free: 98.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=145): time 0.00966/11.87, allocations: 2.908 MB / 5.114 GB, free: 98.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/11.87, allocations: 230.5 kB / 5.114 GB, free: 98.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008244/11.88, allocations: 3.235 MB / 5.117 GB, free: 98.07 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006406/11.88, allocations: 63.08 kB / 5.117 GB, free: 98.04 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00194/11.89, allocations: 1.625 MB / 5.119 GB, free: 97.92 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007793/11.89, allocations: 0.4908 MB / 5.119 GB, free: 97.67 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/11.89, allocations: 40.72 kB / 5.119 GB, free: 97.67 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.00013/11.89, allocations: 378.9 kB / 5.12 GB, free: 97.37 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/11.89, allocations: 0.9736 MB / 5.12 GB, free: 97.37 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003492/11.89, allocations: 1.646 MB / 5.122 GB, free: 96.63 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005653/11.9, allocations: 2.305 MB / 5.124 GB, free: 96.14 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/11.9, allocations: 6.562 kB / 5.124 GB, free: 96.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.008502/11.91, allocations: 2.827 MB / 5.127 GB, free: 95.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003478/11.91, allocations: 0.4961 MB / 5.128 GB, free: 95.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.623e-05/11.91, allocations: 17.69 kB / 5.128 GB, free: 95.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.226e-05/11.91, allocations: 23.88 kB / 5.128 GB, free: 95.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/11.91, allocations: 0.5256 MB / 5.128 GB, free: 95.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.931e-05/11.91, allocations: 35.36 kB / 5.128 GB, free: 95.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/11.91, allocations: 367 kB / 5.129 GB, free: 95.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/11.91, allocations: 110.8 kB / 5.129 GB, free: 95.32 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/11.91, allocations: 3.219 kB / 5.129 GB, free: 95.32 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006117/11.92, allocations: 2.444 MB / 5.131 GB, free: 95.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.295e-05/11.92, allocations: 15.61 kB / 5.131 GB, free: 95.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/11.92, allocations: 22.69 kB / 5.131 GB, free: 95.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/11.92, allocations: 0.514 MB / 5.132 GB, free: 95.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.505e-05/11.92, allocations: 37.88 kB / 5.132 GB, free: 95.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004957/11.93, allocations: 323.5 kB / 5.132 GB, free: 95.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003704/11.93, allocations: 108.6 kB / 5.132 GB, free: 95.28 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.003108/11.93, allocations: 0.7843 MB / 5.133 GB, free: 95.09 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/11.93, allocations: 346.6 kB / 5.133 GB, free: 94.91 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006813/11.94, allocations: 2.446 MB / 5.135 GB, free: 94.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/11.94, allocations: 19 kB / 5.135 GB, free: 94.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/11.94, allocations: 0 / 5.135 GB, free: 94.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0045/11.94, allocations: 2.185 MB / 5.138 GB, free: 94.34 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.01293/11.96, allocations: 5.593 MB / 5.143 GB, free: 93.65 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/11.96, allocations: 1.312 kB / 5.143 GB, free: 93.65 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/11.96, allocations: 390.4 kB / 5.143 GB, free: 93.65 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/11.96, allocations: 7.906 kB / 5.143 GB, free: 93.65 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/11.96, allocations: 54.3 kB / 5.144 GB, free: 93.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/11.96, allocations: 12.78 kB / 5.144 GB, free: 93.65 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/11.96, allocations: 7.797 kB / 5.144 GB, free: 93.65 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008523/11.97, allocations: 3.707 MB / 5.147 GB, free: 93.11 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/11.97, allocations: 0.673 MB / 5.148 GB, free: 92.83 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/11.97, allocations: 32.16 kB / 5.148 GB, free: 92.83 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/11.97, allocations: 280.5 kB / 5.148 GB, free: 92.82 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/11.98, allocations: 106.9 kB / 5.148 GB, free: 92.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/11.98, allocations: 80.91 kB / 5.148 GB, free: 92.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004251/11.98, allocations: 2.204 MB / 5.15 GB, free: 92.67 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/11.98, allocations: 0 / 5.15 GB, free: 92.67 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009225/11.99, allocations: 2.004 MB / 5.152 GB, free: 92.59 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.007105/12, allocations: 3.833 MB / 5.156 GB, free: 91.35 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009138/12.01, allocations: 3.572 MB / 5.16 GB, free: 91.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/12.01, allocations: 1.281 kB / 5.16 GB, free: 91.25 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/12.01, allocations: 1.027 MB / 5.161 GB, free: 91.25 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009182/12.02, allocations: 1.528 MB / 5.162 GB, free: 91.21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/12.03, allocations: 7.774 MB / 5.17 GB, free: 88.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/12.04, allocations: 2.035 MB / 5.172 GB, free: 87.46 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004625/12.04, allocations: 0.8551 MB / 5.173 GB, free: 87.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009056/12.04, allocations: 269 kB / 5.173 GB, free: 87.43 MB / 1.01 GB Notification: Performance of SimCode: time 9.32e-07/12.04, allocations: 1.75 kB / 5.173 GB, free: 87.43 MB / 1.01 GB Notification: Performance of Templates: time 0.1295/12.17, allocations: 89.25 MB / 5.26 GB, free: 82.07 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)