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.166/2.166, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001475/0.001474, allocations: 178.4 kB / 315.4 MB, free: 4.02 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.063/2.063, allocations: 205.3 MB / 0.5662 GB, free: 0.625 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.001035/0.001034, allocations: 86.8 kB / 0.6704 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.32e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2018, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.413, allocations: 382.3 MB / 1.257 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.413, allocations: 93.34 kB / 1.258 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.11/4.523, allocations: 0.546 GB / 1.804 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.843e-06/4.523, allocations: 4 kB / 1.804 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001143/4.523, allocations: 23.75 kB / 1.804 GB, free: 145.1 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.003138/4.526, allocations: 1.177 MB / 1.805 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/4.526, allocations: 8.562 kB / 1.805 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004696/4.531, allocations: 0.4892 MB / 1.805 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/4.553, allocations: 6.92 MB / 1.812 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/4.553, allocations: 16 kB / 1.812 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/4.553, allocations: 41.5 kB / 1.812 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001347/4.554, allocations: 486.6 kB / 1.813 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/4.556, allocations: 0.605 MB / 1.813 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/4.556, allocations: 7.938 kB / 1.813 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/4.556, allocations: 0 / 1.813 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/4.556, allocations: 19.95 kB / 1.813 GB, free: 135.3 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.008037/4.564, allocations: 4.513 MB / 1.818 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/4.568, allocations: 0.6179 MB / 1.818 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/4.569, allocations: 219.3 kB / 1.818 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009456/4.57, allocations: 0.9289 MB / 1.819 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/4.57, allocations: 38.56 kB / 1.819 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 4.418e-06/4.57, allocations: 4 kB / 1.819 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001734/4.571, allocations: 496.8 kB / 1.82 GB, free: 128 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/4.571, allocations: 55.41 kB / 1.82 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/4.572, allocations: 0.5393 MB / 1.82 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/4.572, allocations: 25.7 kB / 1.82 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/4.573, allocations: 443.7 kB / 1.821 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/4.573, allocations: 122.2 kB / 1.821 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/4.573, allocations: 0 / 1.821 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/4.573, allocations: 326 kB / 1.821 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/4.573, allocations: 181.1 kB / 1.821 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/4.574, allocations: 381.1 kB / 1.822 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008886/4.575, allocations: 237.7 kB / 1.822 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/4.575, allocations: 0 / 1.822 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001706/4.577, allocations: 0.5984 MB / 1.823 GB, free: 125 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003365/4.577, allocations: 1.656 MB / 1.824 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/4.577, allocations: 12 kB / 1.824 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/4.577, allocations: 4 kB / 1.824 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/4.579, allocations: 187.7 kB / 1.824 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/4.579, allocations: 15.92 kB / 1.824 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/4.581, allocations: 155.4 kB / 1.825 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.902e-05/4.581, allocations: 27.98 kB / 1.825 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/4.581, allocations: 4 kB / 1.825 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00157/4.582, allocations: 499.5 kB / 1.825 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/4.582, allocations: 7.953 kB / 1.825 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/4.582, allocations: 8 kB / 1.825 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/4.584, allocations: 183.8 kB / 1.825 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/4.584, allocations: 7.938 kB / 1.825 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/4.586, allocations: 143.6 kB / 1.825 GB, free: 122 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/4.586, allocations: 31.97 kB / 1.825 GB, free: 122 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.0001969/4.586, allocations: 120.1 kB / 1.826 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001541/4.587, allocations: 492.3 kB / 1.826 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/4.588, allocations: 79.02 kB / 1.826 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/4.59, allocations: 0.6613 MB / 1.827 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/4.59, allocations: 4 kB / 1.827 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/4.59, allocations: 0 / 1.827 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/4.59, allocations: 3.984 kB / 1.827 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/4.594, allocations: 1.464 MB / 1.828 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/4.594, allocations: 3.984 kB / 1.828 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/4.595, allocations: 151.8 kB / 1.828 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/4.595, allocations: 0 / 1.828 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/4.595, allocations: 11.98 kB / 1.828 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/4.595, allocations: 11.98 kB / 1.828 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/4.595, allocations: 0 / 1.828 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/4.597, allocations: 1.025 MB / 1.829 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/4.598, allocations: 216 kB / 1.83 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/4.598, allocations: 11.39 kB / 1.83 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/4.6, allocations: 119.8 kB / 1.83 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/4.6, allocations: 35.7 kB / 1.83 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/4.6, allocations: 15.98 kB / 1.83 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006893/4.6, allocations: 423.2 kB / 1.83 GB, free: 117 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.3e-07/4.6, allocations: 4 kB / 1.83 GB, free: 117 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001964/4.602, allocations: 447.1 kB / 1.831 GB, free: 116.6 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.00357/4.606, allocations: 2.192 MB / 1.833 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001855/4.608, allocations: 0.773 MB / 1.833 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/4.608, allocations: 0 / 1.833 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005932/4.609, allocations: 267.8 kB / 1.834 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/4.611, allocations: 314.9 kB / 1.834 GB, free: 113 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/4.621, allocations: 1.771 MB / 1.836 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/4.622, allocations: 0.9881 MB / 1.837 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001982/4.624, allocations: 236.7 kB / 1.837 GB, free: 110 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/4.624, allocations: 315.2 kB / 1.837 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/4.624, allocations: 4 kB / 1.837 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07844/4.703, allocations: 23.36 MB / 1.86 GB, free: 86.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/4.703, allocations: 209.7 kB / 1.86 GB, free: 86.36 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.364/8.067, allocations: 2.812 kB / 1.86 GB, free: 86.36 MB / 0.8698 GB