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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.795/1.795, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001277/0.001277, allocations: 181 kB / 371.8 MB, free: 10.28 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.786/1.786, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.001042/0.001042, allocations: 90.92 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004939, allocations: 11.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3103, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.694/7.005, allocations: 2.394 GB / 3.373 GB, free: 229 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/7.005, allocations: 110.1 kB / 3.373 GB, free: 228.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.075/15.08, allocations: 1.708 GB / 5.081 GB, free: 93.78 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.989e-06/15.08, allocations: 1.531 kB / 5.081 GB, free: 93.78 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001046/15.08, allocations: 101.2 kB / 5.081 GB, free: 93.78 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.02501/15.11, allocations: 4.593 MB / 5.086 GB, free: 92.85 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 7.793e-05/15.11, allocations: 9.25 kB / 5.086 GB, free: 92.85 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002664/15.11, allocations: 317.3 kB / 5.086 GB, free: 92.8 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/15.12, allocations: 1.338 MB / 5.088 GB, free: 92.58 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02324/15.15, allocations: 4.181 MB / 5.092 GB, free: 92.09 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001421/15.15, allocations: 331.6 kB / 5.092 GB, free: 92.02 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/15.15, allocations: 247.8 kB / 5.092 GB, free: 92.02 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01782/15.17, allocations: 3.062 MB / 5.095 GB, free: 91.61 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002835/15.17, allocations: 5.562 kB / 5.095 GB, free: 91.61 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001361/15.17, allocations: 100.1 kB / 5.095 GB, free: 91.61 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/15.17, allocations: 86.5 kB / 5.095 GB, free: 91.61 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/15.19, allocations: 2.941 MB / 5.098 GB, free: 91.57 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.04231/15.23, allocations: 12.84 MB / 5.111 GB, free: 86.13 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/15.24, allocations: 2.664 MB / 5.113 GB, free: 85.59 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.01875/15.25, allocations: 5.505 MB / 5.119 GB, free: 83.25 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003736/15.26, allocations: 1.172 MB / 5.12 GB, free: 83.16 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003993/15.26, allocations: 254 kB / 5.12 GB, free: 83.08 MB / 1.01 GB Notification: Performance of pre-optimization done (n=145): time 2.051e-05/15.26, allocations: 0 / 5.12 GB, free: 83.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=145): time 0.01193/15.27, allocations: 2.915 MB / 5.123 GB, free: 82.83 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/15.27, allocations: 224.9 kB / 5.123 GB, free: 82.58 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/15.29, allocations: 2.926 MB / 5.126 GB, free: 82.33 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009945/15.29, allocations: 69.36 kB / 5.126 GB, free: 82.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002812/15.29, allocations: 1.624 MB / 5.128 GB, free: 81.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/15.29, allocations: 497.4 kB / 5.128 GB, free: 81.55 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/15.29, allocations: 37.03 kB / 5.128 GB, free: 81.55 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002269/15.29, allocations: 375.9 kB / 5.129 GB, free: 81.24 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003419/15.3, allocations: 0.9702 MB / 5.13 GB, free: 81.24 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00406/15.3, allocations: 1.639 MB / 5.131 GB, free: 80.52 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/15.31, allocations: 1.095 MB / 5.132 GB, free: 80.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/15.31, allocations: 6.938 kB / 5.132 GB, free: 80.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01104/15.32, allocations: 2.829 MB / 5.135 GB, free: 80.26 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002929/15.32, allocations: 5.84 MB / 5.141 GB, free: 74.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-05/15.32, allocations: 18.55 kB / 5.141 GB, free: 74.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/15.32, allocations: 23.53 kB / 5.141 GB, free: 74.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/15.32, allocations: 0.5399 MB / 5.141 GB, free: 74.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-05/15.32, allocations: 29.53 kB / 5.141 GB, free: 74.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006717/15.33, allocations: 360.8 kB / 5.142 GB, free: 74.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007964/15.33, allocations: 109.3 kB / 5.142 GB, free: 74.17 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/15.33, allocations: 2.75 kB / 5.142 GB, free: 74.17 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01017/15.34, allocations: 2.446 MB / 5.144 GB, free: 74.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/15.34, allocations: 14.44 kB / 5.144 GB, free: 74.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.549e-05/15.34, allocations: 23.81 kB / 5.144 GB, free: 74.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/15.35, allocations: 0.5261 MB / 5.145 GB, free: 74.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.119e-05/15.35, allocations: 35.25 kB / 5.145 GB, free: 74.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006036/15.35, allocations: 328.7 kB / 5.145 GB, free: 74.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005714/15.35, allocations: 102.2 kB / 5.145 GB, free: 74.11 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.004329/15.36, allocations: 0.7825 MB / 5.146 GB, free: 73.91 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002382/15.36, allocations: 347.2 kB / 5.146 GB, free: 73.74 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/15.37, allocations: 2.452 MB / 5.149 GB, free: 73.62 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.821e-05/15.37, allocations: 18.34 kB / 5.149 GB, free: 73.62 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-05/15.37, allocations: 3.953 kB / 5.149 GB, free: 73.61 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005663/15.37, allocations: 2.185 MB / 5.151 GB, free: 73.14 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.0231/15.4, allocations: 5.604 MB / 5.156 GB, free: 72.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/15.4, allocations: 7.078 kB / 5.156 GB, free: 72.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/15.4, allocations: 387.5 kB / 5.157 GB, free: 72.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.296e-05/15.4, allocations: 7.562 kB / 5.157 GB, free: 72.45 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003472/15.4, allocations: 51.97 kB / 5.157 GB, free: 72.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.078e-05/15.4, allocations: 18.11 kB / 5.157 GB, free: 72.45 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/15.4, allocations: 4.812 kB / 5.157 GB, free: 72.45 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/15.41, allocations: 4.016 MB / 5.161 GB, free: 71.55 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004391/15.42, allocations: 0.6894 MB / 5.161 GB, free: 71.28 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002453/15.42, allocations: 40.84 kB / 5.161 GB, free: 71.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005611/15.43, allocations: 274 kB / 5.162 GB, free: 71.27 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/15.43, allocations: 101.2 kB / 5.162 GB, free: 71.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003989/15.43, allocations: 81.66 kB / 5.162 GB, free: 71.27 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.008495/15.43, allocations: 2.266 MB / 5.164 GB, free: 71.12 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.11e-07/15.43, allocations: 3.062 kB / 5.164 GB, free: 71.12 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01696/15.45, allocations: 2.022 MB / 5.166 GB, free: 70.94 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.0275/15.48, allocations: 8.835 MB / 5.175 GB, free: 67.77 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01488/15.49, allocations: 3.567 MB / 5.178 GB, free: 67.67 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.313e-05/15.49, allocations: 0 / 5.178 GB, free: 67.67 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003686/15.5, allocations: 1.031 MB / 5.179 GB, free: 67.66 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01218/15.51, allocations: 1.516 MB / 5.181 GB, free: 67.63 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03735/15.55, allocations: 18.86 MB / 5.199 GB, free: 54.15 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003266/15.55, allocations: 2.109 MB / 5.201 GB, free: 53.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006254/15.56, allocations: 0.8459 MB / 5.202 GB, free: 53.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003146/15.56, allocations: 1.469 MB / 5.203 GB, free: 53.28 MB / 1.01 GB Notification: Performance of SimCode: time 1.282e-06/15.56, allocations: 0 / 5.203 GB, free: 53.28 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2587/15.82, allocations: 125.5 MB / 5.326 GB, free: 46.09 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/15.82, allocations: 264 kB / 5.326 GB, free: 45.74 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/23.35, allocations: 3.797 kB / 5.326 GB, free: 45.74 MB / 1.01 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)