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.519/2.519, allocations: 248.5 MB / 261.1 MB, free: 6.035 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.001675/0.001675, allocations: 182.5 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001075/0.001074, allocations: 102.1 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.901e-05/4.922e-05, allocations: 8 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2807, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.458/8.738, allocations: 2.51 GB / 3.401 GB, free: 160 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/8.739, allocations: 102.9 kB / 3.401 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.132/17.87, allocations: 1.657 GB / 5.058 GB, free: 76.74 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.044e-06/17.87, allocations: 0 / 5.058 GB, free: 76.74 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0007802/17.87, allocations: 100.2 kB / 5.058 GB, free: 76.73 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.01482/17.89, allocations: 3.759 MB / 5.062 GB, free: 75.15 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/17.89, allocations: 10.91 kB / 5.062 GB, free: 75.15 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001396/17.89, allocations: 318.6 kB / 5.062 GB, free: 75.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/17.9, allocations: 1.326 MB / 5.063 GB, free: 74.88 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/17.92, allocations: 4.13 MB / 5.067 GB, free: 74.22 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001019/17.92, allocations: 328 kB / 5.068 GB, free: 74.15 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/17.92, allocations: 249.7 kB / 5.068 GB, free: 74.14 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009092/17.93, allocations: 2.767 MB / 5.071 GB, free: 73.74 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/17.93, allocations: 1.219 kB / 5.071 GB, free: 73.74 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004968/17.93, allocations: 99.42 kB / 5.071 GB, free: 73.74 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/17.93, allocations: 83.73 kB / 5.071 GB, free: 73.73 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008164/17.94, allocations: 2.352 MB / 5.073 GB, free: 73.7 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.035/17.98, allocations: 12.83 MB / 5.086 GB, free: 68.12 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005775/17.98, allocations: 2.199 MB / 5.088 GB, free: 67.58 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/17.99, allocations: 0.8532 MB / 5.089 GB, free: 67.55 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.01642/18, allocations: 5.541 MB / 5.094 GB, free: 65.09 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002302/18, allocations: 0.9459 MB / 5.095 GB, free: 65.01 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002262/18.01, allocations: 253.5 kB / 5.095 GB, free: 64.93 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 8.215e-06/18.01, allocations: 0 / 5.095 GB, free: 64.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.005808/18.01, allocations: 1.695 MB / 5.097 GB, free: 64.69 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/18.01, allocations: 228.6 kB / 5.097 GB, free: 64.44 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007073/18.02, allocations: 2.842 MB / 5.1 GB, free: 64.18 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007353/18.02, allocations: 62.2 kB / 5.1 GB, free: 64.14 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00221/18.02, allocations: 1.627 MB / 5.102 GB, free: 63.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/18.02, allocations: 498.6 kB / 5.102 GB, free: 63.39 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/18.02, allocations: 34.03 kB / 5.102 GB, free: 63.39 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001719/18.02, allocations: 378.2 kB / 5.102 GB, free: 63.08 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/18.03, allocations: 0.7023 MB / 5.103 GB, free: 63.08 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/18.03, allocations: 1.372 MB / 5.104 GB, free: 62.34 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004889/18.03, allocations: 0.8416 MB / 5.105 GB, free: 62.31 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.334e-05/18.03, allocations: 7.203 kB / 5.105 GB, free: 62.31 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01029/18.05, allocations: 2.296 MB / 5.107 GB, free: 62.07 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001399/18.05, allocations: 5.828 MB / 5.113 GB, free: 56.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.817e-05/18.05, allocations: 16.09 kB / 5.113 GB, free: 56.01 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.066e-05/18.05, allocations: 21.41 kB / 5.113 GB, free: 56.01 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005048/18.05, allocations: 0.5402 MB / 5.114 GB, free: 56.01 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-05/18.05, allocations: 33.05 kB / 5.114 GB, free: 56.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006544/18.06, allocations: 368.3 kB / 5.114 GB, free: 55.99 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007335/18.06, allocations: 111.6 kB / 5.114 GB, free: 55.99 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/18.06, allocations: 7.859 kB / 5.114 GB, free: 55.98 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005739/18.07, allocations: 1.942 MB / 5.116 GB, free: 55.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.36e-05/18.07, allocations: 10.69 kB / 5.116 GB, free: 55.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.942e-05/18.07, allocations: 26.41 kB / 5.116 GB, free: 55.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004838/18.07, allocations: 0.5328 MB / 5.117 GB, free: 55.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.044e-05/18.07, allocations: 23.28 kB / 5.117 GB, free: 55.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006132/18.08, allocations: 325.4 kB / 5.117 GB, free: 55.93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007024/18.08, allocations: 100.2 kB / 5.117 GB, free: 55.93 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 () * 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.0008718/18.08, allocations: 233 kB / 5.117 GB, free: 55.82 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/18.08, allocations: 344 kB / 5.118 GB, free: 55.64 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007027/18.09, allocations: 2.035 MB / 5.12 GB, free: 55.51 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/18.09, allocations: 19.69 kB / 5.12 GB, free: 55.51 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/18.09, allocations: 0 / 5.12 GB, free: 55.51 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004334/18.09, allocations: 1.755 MB / 5.121 GB, free: 55.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 postOpt removeSimpleEquations (simulation): time 0.01703/18.11, allocations: 5.183 MB / 5.126 GB, free: 54.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/18.11, allocations: 1.75 kB / 5.126 GB, free: 54.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003997/18.11, allocations: 385.7 kB / 5.127 GB, free: 54.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.223e-05/18.11, allocations: 10.22 kB / 5.127 GB, free: 54.34 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004522/18.11, allocations: 50.22 kB / 5.127 GB, free: 54.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.758e-05/18.11, allocations: 15.3 kB / 5.127 GB, free: 54.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/18.11, allocations: 2.906 kB / 5.127 GB, free: 54.34 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008963/18.12, allocations: 3.383 MB / 5.13 GB, free: 53.44 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00315/18.12, allocations: 0.6857 MB / 5.131 GB, free: 53.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/18.13, allocations: 39.31 kB / 5.131 GB, free: 53.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005765/18.13, allocations: 270.2 kB / 5.131 GB, free: 53.15 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005151/18.13, allocations: 103.2 kB / 5.131 GB, free: 53.14 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000367/18.13, allocations: 82.78 kB / 5.131 GB, free: 53.14 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.006247/18.14, allocations: 2.178 MB / 5.133 GB, free: 52.98 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.12e-07/18.14, allocations: 0 / 5.133 GB, free: 52.98 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01115/18.15, allocations: 2.029 MB / 5.135 GB, free: 52.72 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.01739/18.17, allocations: 8.173 MB / 5.143 GB, free: 49.36 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008757/18.18, allocations: 2.963 MB / 5.146 GB, free: 49.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/18.18, allocations: 7.375 kB / 5.146 GB, free: 49.23 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/18.18, allocations: 0.814 MB / 5.147 GB, free: 49.22 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01345/18.19, allocations: 1.505 MB / 5.149 GB, free: 49.14 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/18.22, allocations: 6.09 MB / 5.155 GB, free: 47.42 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/18.22, allocations: 2.105 MB / 5.157 GB, free: 46.63 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01109/18.23, allocations: 1.242 MB / 5.158 GB, free: 46.45 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003525/18.24, allocations: 1.405 MB / 5.159 GB, free: 46.44 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/18.24, allocations: 0 / 5.159 GB, free: 46.44 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.162/19.4, allocations: 137.8 MB / 5.294 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/19.4, allocations: 237.8 kB / 5.294 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/30.13, allocations: 0 / 5.294 GB, free: 110.3 MB / 0.9636 GB