Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.213/2.213, allocations: 248.7 MB / 256.2 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 185.2 kB / 315.4 MB, free: 4.004 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.1/2.1, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 96.41 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.17e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.739/8.955, allocations: 2.511 GB / 3.395 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004065/8.955, allocations: 108.9 kB / 3.395 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.45/18.4, allocations: 1.645 GB / 5.039 GB, free: 83.85 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.244e-06/18.4, allocations: 0 / 5.039 GB, free: 83.85 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0008049/18.41, allocations: 99 kB / 5.04 GB, free: 83.83 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.01475/18.42, allocations: 3.755 MB / 5.043 GB, free: 82.37 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/18.42, allocations: 10.59 kB / 5.043 GB, free: 82.37 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/18.44, allocations: 1.339 MB / 5.045 GB, free: 82.14 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/18.46, allocations: 4.127 MB / 5.049 GB, free: 81.48 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009606/18.46, allocations: 237.3 kB / 5.049 GB, free: 81.41 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/18.46, allocations: 148.4 kB / 5.049 GB, free: 81.41 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007544/18.46, allocations: 2.209 MB / 5.051 GB, free: 81.39 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008961/18.47, allocations: 2.352 MB / 5.053 GB, free: 81 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/18.47, allocations: 7.719 kB / 5.053 GB, free: 81 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006324/18.47, allocations: 6.406 kB / 5.053 GB, free: 81 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/18.47, allocations: 86 kB / 5.053 GB, free: 80.99 MB / 0.9323 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.03427/18.51, allocations: 12.41 MB / 5.066 GB, free: 75.41 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005166/18.51, allocations: 1.958 MB / 5.068 GB, free: 75.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/18.52, allocations: 0.8104 MB / 5.068 GB, free: 75.05 MB / 0.9323 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.01684/18.53, allocations: 5.278 MB / 5.073 GB, free: 72.74 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002287/18.54, allocations: 0.9049 MB / 5.074 GB, free: 72.65 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002259/18.54, allocations: 194 kB / 5.075 GB, free: 72.59 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 1.574e-05/18.54, allocations: 1.188 kB / 5.075 GB, free: 72.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.007469/18.55, allocations: 1.738 MB / 5.076 GB, free: 72.36 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/18.55, allocations: 226 kB / 5.076 GB, free: 72.11 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006941/18.55, allocations: 2.41 MB / 5.079 GB, free: 71.86 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006309/18.55, allocations: 28.3 kB / 5.079 GB, free: 71.83 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002422/18.56, allocations: 1.606 MB / 5.08 GB, free: 71.32 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009544/18.56, allocations: 479.5 kB / 5.081 GB, free: 71.01 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/18.56, allocations: 0 / 5.081 GB, free: 71.01 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000182/18.56, allocations: 377.1 kB / 5.081 GB, free: 70.71 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/18.56, allocations: 0.684 MB / 5.082 GB, free: 70.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/18.56, allocations: 1.337 MB / 5.083 GB, free: 69.96 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/18.57, allocations: 0.969 MB / 5.084 GB, free: 69.93 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.399e-05/18.57, allocations: 14.22 kB / 5.084 GB, free: 69.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009152/18.58, allocations: 2.287 MB / 5.086 GB, free: 69.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001538/18.58, allocations: 5.929 MB / 5.092 GB, free: 63.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/18.58, allocations: 16.7 kB / 5.092 GB, free: 63.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-05/18.58, allocations: 27.58 kB / 5.092 GB, free: 63.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005131/18.58, allocations: 0.5464 MB / 5.093 GB, free: 63.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.297e-05/18.58, allocations: 32.05 kB / 5.093 GB, free: 63.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006551/18.59, allocations: 308.2 kB / 5.093 GB, free: 63.42 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007953/18.59, allocations: 108 kB / 5.093 GB, free: 63.42 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/18.59, allocations: 5.219 kB / 5.093 GB, free: 63.42 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007912/18.6, allocations: 1.897 MB / 5.095 GB, free: 63.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-05/18.6, allocations: 14.56 kB / 5.095 GB, free: 63.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.072e-05/18.6, allocations: 31.58 kB / 5.095 GB, free: 63.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004811/18.6, allocations: 0.5243 MB / 5.096 GB, free: 63.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.833e-05/18.6, allocations: 34.44 kB / 5.096 GB, free: 63.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005877/18.61, allocations: 262.2 kB / 5.096 GB, free: 63.37 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007273/18.61, allocations: 107 kB / 5.096 GB, free: 63.37 MB / 0.9323 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.001014/18.61, allocations: 173 kB / 5.096 GB, free: 63.25 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006981/18.62, allocations: 1.668 MB / 5.098 GB, free: 63.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/18.62, allocations: 319 kB / 5.098 GB, free: 62.86 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008355/18.63, allocations: 1.966 MB / 5.1 GB, free: 62.73 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/18.63, allocations: 22.02 kB / 5.1 GB, free: 62.73 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/18.63, allocations: 1.031 kB / 5.1 GB, free: 62.73 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005754/18.63, allocations: 1.748 MB / 5.102 GB, free: 62.27 MB / 0.9323 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.0165/18.65, allocations: 4.85 MB / 5.106 GB, free: 61.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/18.65, allocations: 5.125 kB / 5.106 GB, free: 61.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003844/18.65, allocations: 391.5 kB / 5.107 GB, free: 61.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.92e-05/18.65, allocations: 7.312 kB / 5.107 GB, free: 61.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003508/18.65, allocations: 34.44 kB / 5.107 GB, free: 61.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/18.65, allocations: 9.125 kB / 5.107 GB, free: 61.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/18.65, allocations: 5.188 kB / 5.107 GB, free: 61.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008666/18.66, allocations: 3.263 MB / 5.11 GB, free: 60.77 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002823/18.67, allocations: 0.6527 MB / 5.111 GB, free: 60.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/18.67, allocations: 13.38 kB / 5.111 GB, free: 60.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00544/18.67, allocations: 241.7 kB / 5.111 GB, free: 60.49 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004537/18.67, allocations: 109.8 kB / 5.111 GB, free: 60.49 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003367/18.67, allocations: 75.84 kB / 5.111 GB, free: 60.49 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00487/18.68, allocations: 1.798 MB / 5.113 GB, free: 60.34 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.515e-06/18.68, allocations: 1.906 kB / 5.113 GB, free: 60.34 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01075/18.69, allocations: 1.925 MB / 5.115 GB, free: 60.05 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) * 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.0185/18.71, allocations: 8.156 MB / 5.123 GB, free: 56.86 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007761/18.72, allocations: 2.822 MB / 5.125 GB, free: 56.75 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/18.72, allocations: 2.094 kB / 5.125 GB, free: 56.75 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/18.72, allocations: 0.782 MB / 5.126 GB, free: 56.75 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01067/18.73, allocations: 1.23 MB / 5.127 GB, free: 56.73 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/18.76, allocations: 5.892 MB / 5.133 GB, free: 55.12 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/18.76, allocations: 2.104 MB / 5.135 GB, free: 54.33 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01067/18.77, allocations: 1.157 MB / 5.136 GB, free: 54.15 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003791/18.77, allocations: 1.394 MB / 5.138 GB, free: 54.14 MB / 0.9323 GB Notification: Performance of SimCode: time 2.074e-06/18.77, allocations: 0 / 5.138 GB, free: 54.14 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2563/19.03, allocations: 101.9 MB / 5.237 GB, free: 25.62 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/19.03, allocations: 206.8 kB / 5.237 GB, free: 25.34 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/27.52, allocations: 0 / 5.237 GB, free: 25.34 MB / 0.9323 GB