Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.46/2.46, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.00152/0.001519, allocations: 188.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001087/0.001087, allocations: 79.62 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.678e-05, allocations: 0 / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9684, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.072/8.04, allocations: 2.393 GB / 3.356 GB, free: 87.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003887/8.041, allocations: 102.9 kB / 3.356 GB, free: 87.14 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.392/17.43, allocations: 1.692 GB / 5.048 GB, free: 88.1 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.783e-06/17.43, allocations: 3.828 kB / 5.048 GB, free: 88.1 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0007588/17.43, allocations: 95.3 kB / 5.048 GB, free: 88.08 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.01449/17.45, allocations: 3.758 MB / 5.052 GB, free: 86.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/17.45, allocations: 11.12 kB / 5.052 GB, free: 86.57 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/17.46, allocations: 1.333 MB / 5.053 GB, free: 86.35 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01713/17.48, allocations: 4.139 MB / 5.057 GB, free: 85.69 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009091/17.48, allocations: 240.5 kB / 5.058 GB, free: 85.62 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/17.48, allocations: 147 kB / 5.058 GB, free: 85.62 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007039/17.49, allocations: 2.207 MB / 5.06 GB, free: 85.61 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007176/17.5, allocations: 2.356 MB / 5.062 GB, free: 85.21 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.105e-05/17.5, allocations: 3.906 kB / 5.062 GB, free: 85.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003962/17.5, allocations: 3.188 kB / 5.062 GB, free: 85.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/17.5, allocations: 92.22 kB / 5.062 GB, free: 85.21 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.03093/17.53, allocations: 12.42 MB / 5.074 GB, free: 79.64 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/17.53, allocations: 1.968 MB / 5.076 GB, free: 79.29 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/17.54, allocations: 0.8032 MB / 5.077 GB, free: 79.26 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.01558/17.55, allocations: 5.305 MB / 5.082 GB, free: 76.94 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002515/17.55, allocations: 0.9064 MB / 5.083 GB, free: 76.87 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002205/17.56, allocations: 199.5 kB / 5.083 GB, free: 76.8 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=145): time 1.023e-05/17.56, allocations: 1.219 kB / 5.083 GB, free: 76.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=145): time 0.007262/17.56, allocations: 1.73 MB / 5.085 GB, free: 76.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/17.56, allocations: 233.6 kB / 5.085 GB, free: 76.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/17.57, allocations: 2.411 MB / 5.088 GB, free: 76.07 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006/17.57, allocations: 28.39 kB / 5.088 GB, free: 76.04 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002112/17.57, allocations: 1.607 MB / 5.089 GB, free: 75.53 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009115/17.57, allocations: 480.9 kB / 5.09 GB, free: 75.22 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/17.57, allocations: 0 / 5.09 GB, free: 75.22 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001516/17.57, allocations: 377.4 kB / 5.09 GB, free: 74.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/17.58, allocations: 0.6798 MB / 5.091 GB, free: 74.91 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/17.58, allocations: 1.341 MB / 5.092 GB, free: 74.16 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/17.58, allocations: 0.9743 MB / 5.093 GB, free: 74.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.392e-05/17.58, allocations: 3.219 kB / 5.093 GB, free: 74.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008506/17.59, allocations: 2.287 MB / 5.095 GB, free: 73.92 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00136/17.59, allocations: 5.927 MB / 5.101 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.928e-05/17.59, allocations: 17.97 kB / 5.101 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.174e-05/17.59, allocations: 23.34 kB / 5.101 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005019/17.6, allocations: 0.5446 MB / 5.101 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.062e-05/17.6, allocations: 33.22 kB / 5.102 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006477/17.61, allocations: 311.5 kB / 5.102 GB, free: 67.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007555/17.61, allocations: 108.5 kB / 5.102 GB, free: 67.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/17.61, allocations: 3.812 kB / 5.102 GB, free: 67.63 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00711/17.61, allocations: 1.898 MB / 5.104 GB, free: 67.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.198e-05/17.61, allocations: 13.56 kB / 5.104 GB, free: 67.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-05/17.61, allocations: 28.61 kB / 5.104 GB, free: 67.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004766/17.62, allocations: 0.5239 MB / 5.104 GB, free: 67.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.239e-05/17.62, allocations: 32.22 kB / 5.104 GB, free: 67.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005635/17.62, allocations: 272.3 kB / 5.105 GB, free: 67.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006777/17.62, allocations: 102.4 kB / 5.105 GB, free: 67.59 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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.0007421/17.63, allocations: 166.8 kB / 5.105 GB, free: 67.47 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006379/17.63, allocations: 1.678 MB / 5.107 GB, free: 67.24 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/17.63, allocations: 317.7 kB / 5.107 GB, free: 67.07 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007337/17.64, allocations: 1.963 MB / 5.109 GB, free: 66.95 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-05/17.64, allocations: 17.25 kB / 5.109 GB, free: 66.95 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/17.64, allocations: 1.281 kB / 5.109 GB, free: 66.95 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005177/17.65, allocations: 1.748 MB / 5.11 GB, free: 66.48 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.01674/17.66, allocations: 4.868 MB / 5.115 GB, free: 65.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/17.66, allocations: 0 / 5.115 GB, free: 65.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/17.67, allocations: 388.5 kB / 5.116 GB, free: 65.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.29e-05/17.67, allocations: 7.844 kB / 5.116 GB, free: 65.82 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004043/17.67, allocations: 31.83 kB / 5.116 GB, free: 65.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/17.67, allocations: 13.75 kB / 5.116 GB, free: 65.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/17.67, allocations: 1.219 kB / 5.116 GB, free: 65.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008741/17.68, allocations: 3.268 MB / 5.119 GB, free: 64.98 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/17.68, allocations: 0.6591 MB / 5.119 GB, free: 64.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/17.68, allocations: 15.91 kB / 5.119 GB, free: 64.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006195/17.69, allocations: 236.9 kB / 5.12 GB, free: 64.71 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004904/17.69, allocations: 105.7 kB / 5.12 GB, free: 64.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003584/17.69, allocations: 79.12 kB / 5.12 GB, free: 64.71 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005167/17.69, allocations: 1.803 MB / 5.122 GB, free: 64.56 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.41e-07/17.69, allocations: 0 / 5.122 GB, free: 64.56 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01132/17.7, allocations: 1.931 MB / 5.124 GB, free: 64.26 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.01839/17.72, allocations: 8.168 MB / 5.132 GB, free: 61.07 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008177/17.73, allocations: 2.813 MB / 5.134 GB, free: 60.96 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/17.73, allocations: 6.156 kB / 5.134 GB, free: 60.96 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002272/17.73, allocations: 0.7832 MB / 5.135 GB, free: 60.96 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01086/17.74, allocations: 1.226 MB / 5.136 GB, free: 60.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/17.77, allocations: 5.895 MB / 5.142 GB, free: 59.25 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003194/17.77, allocations: 2.116 MB / 5.144 GB, free: 58.45 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01045/17.78, allocations: 1.156 MB / 5.145 GB, free: 58.28 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003539/17.79, allocations: 1.398 MB / 5.147 GB, free: 58.27 MB / 0.9948 GB Notification: Performance of SimCode: time 1.452e-06/17.79, allocations: 0 / 5.147 GB, free: 58.27 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/18.04, allocations: 102.1 MB / 5.246 GB, free: 25.43 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/18.04, allocations: 210.8 kB / 5.246 GB, free: 25.14 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.326/26.37, allocations: 4 kB / 5.246 GB, free: 25.14 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)