Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T",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.339/2.339, allocations: 248.5 MB / 261.1 MB, free: 5.969 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.001525/0.001524, allocations: 183.1 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.934/1.934, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001122/0.001121, allocations: 101.5 kB / 0.6754 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/3.991e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1967, allocations: 106.2 MB / 0.8907 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.386, allocations: 382.1 MB / 1.264 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.386, allocations: 89.62 kB / 1.264 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.03/4.417, allocations: 0.5486 GB / 1.813 GB, free: 134 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.843e-06/4.417, allocations: 3.938 kB / 1.813 GB, free: 134 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000118/4.417, allocations: 23.98 kB / 1.813 GB, free: 134 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003381/4.42, allocations: 1.171 MB / 1.814 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/4.42, allocations: 8.031 kB / 1.814 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/4.42, allocations: 106.4 kB / 1.814 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/4.425, allocations: 495 kB / 1.814 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/4.447, allocations: 6.941 MB / 1.821 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.34e-05/4.448, allocations: 45.31 kB / 1.821 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/4.448, allocations: 60 kB / 1.821 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/4.449, allocations: 0.6838 MB / 1.822 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/4.449, allocations: 3.938 kB / 1.822 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.595e-05/4.45, allocations: 27.98 kB / 1.822 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/4.45, allocations: 19.95 kB / 1.822 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/4.451, allocations: 0.5128 MB / 1.822 GB, free: 123.8 MB / 0.8698 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.008587/4.46, allocations: 4.625 MB / 1.827 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/4.464, allocations: 0.6286 MB / 1.828 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/4.464, allocations: 232.3 kB / 1.828 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/4.466, allocations: 0.9298 MB / 1.829 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/4.466, allocations: 38.56 kB / 1.829 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 4.528e-06/4.466, allocations: 7.938 kB / 1.829 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001536/4.467, allocations: 484.7 kB / 1.829 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/4.467, allocations: 59.27 kB / 1.829 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/4.468, allocations: 0.6139 MB / 1.83 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/4.468, allocations: 37.7 kB / 1.83 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/4.469, allocations: 444 kB / 1.83 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/4.469, allocations: 118.2 kB / 1.83 GB, free: 115 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/4.469, allocations: 12 kB / 1.83 GB, free: 115 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.09e-05/4.469, allocations: 326 kB / 1.831 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/4.47, allocations: 185.1 kB / 1.831 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/4.47, allocations: 394.2 kB / 1.831 GB, free: 114 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/4.471, allocations: 202.9 kB / 1.831 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/4.471, allocations: 4 kB / 1.831 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001606/4.472, allocations: 0.601 MB / 1.832 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003345/4.473, allocations: 1.657 MB / 1.834 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/4.473, allocations: 4 kB / 1.834 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/4.473, allocations: 8 kB / 1.834 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/4.475, allocations: 187.7 kB / 1.834 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/4.475, allocations: 11.98 kB / 1.834 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/4.477, allocations: 171.3 kB / 1.834 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/4.477, allocations: 27.98 kB / 1.834 GB, free: 111 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/4.477, allocations: 4 kB / 1.834 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001358/4.478, allocations: 0.4952 MB / 1.835 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/4.478, allocations: 4 kB / 1.835 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/4.478, allocations: 8 kB / 1.835 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/4.48, allocations: 188.1 kB / 1.835 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/4.48, allocations: 8 kB / 1.835 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/4.482, allocations: 167.4 kB / 1.835 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/4.482, allocations: 31.97 kB / 1.835 GB, free: 110.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002245/4.482, allocations: 128.9 kB / 1.835 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/4.482, allocations: 82.92 kB / 1.835 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/4.484, allocations: 0.6811 MB / 1.836 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/4.484, allocations: 4 kB / 1.836 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/4.484, allocations: 3.938 kB / 1.836 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/4.484, allocations: 7.984 kB / 1.836 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/4.488, allocations: 1.539 MB / 1.837 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/4.488, allocations: 3.938 kB / 1.837 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/4.49, allocations: 148 kB / 1.837 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/4.49, allocations: 4 kB / 1.837 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.757e-05/4.49, allocations: 19.92 kB / 1.837 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/4.49, allocations: 0 / 1.837 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/4.49, allocations: 4 kB / 1.837 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/4.492, allocations: 1.031 MB / 1.838 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/4.493, allocations: 227.9 kB / 1.839 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/4.493, allocations: 12 kB / 1.839 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/4.494, allocations: 119.9 kB / 1.839 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/4.494, allocations: 35.64 kB / 1.839 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.488e-05/4.495, allocations: 19.98 kB / 1.839 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008904/4.495, allocations: 0.4913 MB / 1.839 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/4.495, allocations: 0 / 1.839 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002021/4.498, allocations: 463.2 kB / 1.84 GB, free: 104.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.003463/4.501, allocations: 2.198 MB / 1.842 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002143/4.503, allocations: 0.8154 MB / 1.843 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/4.503, allocations: 0 / 1.843 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/4.504, allocations: 275.8 kB / 1.843 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/4.507, allocations: 356.3 kB / 1.843 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/4.517, allocations: 1.808 MB / 1.845 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/4.518, allocations: 0.9845 MB / 1.846 GB, free: 98.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002046/4.52, allocations: 254.5 kB / 1.846 GB, free: 98.14 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006737/4.52, allocations: 323.2 kB / 1.847 GB, free: 97.83 MB / 0.8698 GB Notification: Performance of SimCode: time 1.482e-06/4.52, allocations: 0 / 1.847 GB, free: 97.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07301/4.593, allocations: 27.94 MB / 1.874 GB, free: 70.19 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/4.594, allocations: 211.8 kB / 1.874 GB, free: 69.97 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/8.322, allocations: 0 / 1.874 GB, free: 69.97 MB / 0.8698 GB