Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 182.3 kB / 326.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009648/0.0009648, allocations: 100.2 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 9.094 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2524, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.787/7.039, allocations: 2.511 GB / 3.411 GB, free: 39.75 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/7.04, allocations: 110.2 kB / 3.411 GB, free: 39.64 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.124/14.16, allocations: 1.661 GB / 5.072 GB, free: 76.84 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.956e-06/14.16, allocations: 0 / 5.072 GB, free: 76.84 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006832/14.16, allocations: 102.7 kB / 5.072 GB, free: 76.82 MB / 0.9323 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.02289/14.19, allocations: 4.587 MB / 5.076 GB, free: 74.25 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/14.19, allocations: 8.094 kB / 5.076 GB, free: 74.25 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001717/14.19, allocations: 320.4 kB / 5.077 GB, free: 74.06 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/14.2, allocations: 1.34 MB / 5.078 GB, free: 73.81 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/14.21, allocations: 4.173 MB / 5.082 GB, free: 71.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007029/14.21, allocations: 334.4 kB / 5.082 GB, free: 71.05 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000937/14.22, allocations: 246.5 kB / 5.083 GB, free: 70.97 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007081/14.22, allocations: 3.05 MB / 5.086 GB, free: 69.05 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/14.22, allocations: 6.781 kB / 5.086 GB, free: 69.04 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/14.22, allocations: 100.5 kB / 5.086 GB, free: 68.97 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.958e-05/14.22, allocations: 89.25 kB / 5.086 GB, free: 68.96 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007515/14.23, allocations: 2.938 MB / 5.089 GB, free: 67.56 MB / 0.9323 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.02424/14.25, allocations: 12.83 MB / 5.101 GB, free: 57.14 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/14.26, allocations: 2.635 MB / 5.104 GB, free: 55.61 MB / 0.9323 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.01145/14.27, allocations: 5.51 MB / 5.109 GB, free: 50.96 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002476/14.27, allocations: 1.16 MB / 5.11 GB, free: 50.31 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002385/14.28, allocations: 252.8 kB / 5.11 GB, free: 50.17 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 6.282e-06/14.28, allocations: 0 / 5.11 GB, free: 50.17 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.007814/14.28, allocations: 2.919 MB / 5.113 GB, free: 47.68 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/14.28, allocations: 226.9 kB / 5.114 GB, free: 47.41 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00605/14.29, allocations: 2.923 MB / 5.116 GB, free: 44.51 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005087/14.29, allocations: 63.42 kB / 5.116 GB, free: 44.44 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/14.29, allocations: 1.626 MB / 5.118 GB, free: 42.81 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006348/14.29, allocations: 499 kB / 5.118 GB, free: 42.33 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/14.29, allocations: 36 kB / 5.119 GB, free: 42.29 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001505/14.29, allocations: 377.9 kB / 5.119 GB, free: 41.92 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/14.3, allocations: 0.9693 MB / 5.12 GB, free: 40.97 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/14.3, allocations: 1.638 MB / 5.121 GB, free: 39.06 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/14.3, allocations: 1.106 MB / 5.123 GB, free: 37.95 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/14.3, allocations: 4 kB / 5.123 GB, free: 37.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006776/14.31, allocations: 2.829 MB / 5.125 GB, free: 35.11 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001358/14.31, allocations: 5.827 MB / 5.131 GB, free: 28.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/14.31, allocations: 17.95 kB / 5.131 GB, free: 28.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.637e-05/14.31, allocations: 28 kB / 5.131 GB, free: 28.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/14.31, allocations: 0.5344 MB / 5.132 GB, free: 28.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.622e-05/14.31, allocations: 31.92 kB / 5.132 GB, free: 28.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00444/14.32, allocations: 367.3 kB / 5.132 GB, free: 27.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/14.32, allocations: 108 kB / 5.132 GB, free: 27.79 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/14.32, allocations: 10.27 kB / 5.132 GB, free: 27.78 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005463/14.32, allocations: 2.438 MB / 5.134 GB, free: 25.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/14.32, allocations: 16.12 kB / 5.134 GB, free: 25.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/14.32, allocations: 24 kB / 5.134 GB, free: 25.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/14.32, allocations: 0.5227 MB / 5.135 GB, free: 24.78 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.582e-05/14.32, allocations: 35.86 kB / 5.135 GB, free: 24.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/14.33, allocations: 326.4 kB / 5.135 GB, free: 24.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/14.33, allocations: 108 kB / 5.135 GB, free: 24.32 MB / 0.9323 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.002539/14.33, allocations: 0.7793 MB / 5.136 GB, free: 23.54 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/14.33, allocations: 343.7 kB / 5.136 GB, free: 23.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006832/14.34, allocations: 2.459 MB / 5.139 GB, free: 20.73 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/14.34, allocations: 19.98 kB / 5.139 GB, free: 20.71 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/14.34, allocations: 0 / 5.139 GB, free: 20.71 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00437/14.34, allocations: 2.182 MB / 5.141 GB, free: 18.45 MB / 0.9323 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.01757/14.36, allocations: 5.608 MB / 5.147 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/14.36, allocations: 4 kB / 5.147 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/14.36, allocations: 395.4 kB / 5.147 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.545e-05/14.36, allocations: 8 kB / 5.147 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002976/14.36, allocations: 47.97 kB / 5.147 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.238e-05/14.36, allocations: 15.7 kB / 5.147 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/14.36, allocations: 0 / 5.147 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0089/14.37, allocations: 4.021 MB / 5.151 GB, free: 8.184 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/14.38, allocations: 0.6916 MB / 5.152 GB, free: 7.469 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001788/14.38, allocations: 32 kB / 5.152 GB, free: 7.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004147/14.38, allocations: 275.6 kB / 5.152 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/14.38, allocations: 109.1 kB / 5.152 GB, free: 7.062 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/14.38, allocations: 79.94 kB / 5.152 GB, free: 6.984 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.005792/14.39, allocations: 2.261 MB / 5.154 GB, free: 4.742 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.01e-07/14.39, allocations: 0 / 5.154 GB, free: 4.742 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01103/14.4, allocations: 2.014 MB / 5.156 GB, free: 2.727 MB / 0.9323 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.0195/14.42, allocations: 8.826 MB / 5.165 GB, free: 10.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01117/14.43, allocations: 3.567 MB / 5.168 GB, free: 6.504 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/14.43, allocations: 8.219 kB / 5.168 GB, free: 6.496 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/14.43, allocations: 1.028 MB / 5.169 GB, free: 5.473 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009638/14.44, allocations: 1.501 MB / 5.171 GB, free: 4.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03814/14.48, allocations: 18.85 MB / 5.189 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.881/15.36, allocations: 2.098 MB / 5.191 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006909/15.37, allocations: 0.8466 MB / 5.192 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004156/15.37, allocations: 1.468 MB / 5.194 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of SimCode: time 4.378e-06/15.37, allocations: 0 / 5.194 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2617/15.64, allocations: 125.3 MB / 5.316 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/15.64, allocations: 273.2 kB / 5.316 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/23.17, allocations: 3.125 kB / 5.316 GB, free: 108.1 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)