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.601/2.601, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 195 kB / 325.5 MB, free: 2.887 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.502/2.502, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001158/0.001157, allocations: 95.8 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005168/0.0005169, allocations: 14.41 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.447, allocations: 382.2 MB / 1.272 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/1.448, allocations: 99.5 kB / 1.272 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.124/4.572, allocations: 0.5504 GB / 1.823 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.836e-06/4.572, allocations: 0 / 1.823 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000127/4.572, allocations: 26.69 kB / 1.823 GB, free: 202.3 MB / 0.8855 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.004842/4.577, allocations: 1.344 MB / 1.824 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/4.577, allocations: 10.44 kB / 1.824 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003236/4.577, allocations: 104.7 kB / 1.824 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/4.582, allocations: 487.9 kB / 1.824 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02283/4.605, allocations: 7.009 MB / 1.831 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/4.605, allocations: 46.06 kB / 1.831 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/4.605, allocations: 63.44 kB / 1.831 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/4.608, allocations: 0.8583 MB / 1.832 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/4.608, allocations: 7.594 kB / 1.832 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/4.609, allocations: 19.12 kB / 1.832 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/4.609, allocations: 15 kB / 1.832 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004351/4.613, allocations: 0.8489 MB / 1.833 GB, free: 201 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00894/4.622, allocations: 4.63 MB / 1.838 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00705/4.629, allocations: 0.9499 MB / 1.839 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/4.63, allocations: 0.9404 MB / 1.839 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/4.63, allocations: 33.56 kB / 1.839 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=35): time 3.576e-06/4.63, allocations: 0 / 1.839 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.006038/4.636, allocations: 1.124 MB / 1.841 GB, free: 197 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/4.636, allocations: 54.75 kB / 1.841 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/4.638, allocations: 0.6346 MB / 1.841 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/4.638, allocations: 29.52 kB / 1.841 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/4.638, allocations: 443.9 kB / 1.842 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/4.638, allocations: 124.2 kB / 1.842 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/4.638, allocations: 11.03 kB / 1.842 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/4.639, allocations: 320.8 kB / 1.842 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/4.64, allocations: 353.2 kB / 1.842 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/4.642, allocations: 0.5489 MB / 1.843 GB, free: 196 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/4.644, allocations: 363.3 kB / 1.843 GB, free: 196 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/4.644, allocations: 0 / 1.843 GB, free: 196 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0044/4.649, allocations: 0.9319 MB / 1.844 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000415/4.649, allocations: 1.662 MB / 1.846 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/4.649, allocations: 2.25 kB / 1.846 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/4.649, allocations: 8.281 kB / 1.846 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/4.651, allocations: 190.8 kB / 1.846 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/4.651, allocations: 7.406 kB / 1.846 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/4.653, allocations: 169.7 kB / 1.846 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/4.653, allocations: 29.2 kB / 1.846 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/4.653, allocations: 9.641 kB / 1.846 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004188/4.657, allocations: 0.8079 MB / 1.847 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/4.658, allocations: 7.188 kB / 1.847 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/4.658, allocations: 7.438 kB / 1.847 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/4.659, allocations: 190.9 kB / 1.847 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/4.659, allocations: 18.58 kB / 1.847 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/4.661, allocations: 161.8 kB / 1.847 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/4.661, allocations: 28.94 kB / 1.847 GB, free: 194.2 MB / 0.8855 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 () * Number of clocked 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.0006638/4.662, allocations: 304.3 kB / 1.848 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/4.662, allocations: 85.33 kB / 1.848 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004718/4.667, allocations: 0.9967 MB / 1.849 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/4.667, allocations: 7.484 kB / 1.849 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/4.667, allocations: 3.344 kB / 1.849 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/4.667, allocations: 0 / 1.849 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/4.674, allocations: 1.86 MB / 1.851 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/4.674, allocations: 3.812 kB / 1.851 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/4.676, allocations: 147.8 kB / 1.851 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/4.676, allocations: 3.531 kB / 1.851 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/4.676, allocations: 21.17 kB / 1.851 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/4.676, allocations: 0 / 1.851 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/4.676, allocations: 9.781 kB / 1.851 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006497/4.682, allocations: 1.52 MB / 1.852 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/4.683, allocations: 227.4 kB / 1.853 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/4.683, allocations: 18.53 kB / 1.853 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/4.685, allocations: 121.9 kB / 1.853 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/4.685, allocations: 35.06 kB / 1.853 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/4.685, allocations: 10.92 kB / 1.853 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009852/4.686, allocations: 0.4987 MB / 1.853 GB, free: 193 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.71e-07/4.686, allocations: 2.562 kB / 1.853 GB, free: 193 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002075/4.688, allocations: 465.7 kB / 1.854 GB, free: 193 MB / 0.8855 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 () * Number of clocked 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.007643/4.696, allocations: 2.68 MB / 1.856 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006144/4.702, allocations: 1.262 MB / 1.857 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/4.702, allocations: 3.562 kB / 1.857 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002029/4.704, allocations: 441.7 kB / 1.858 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/4.707, allocations: 339.6 kB / 1.858 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02496/4.732, allocations: 8.552 MB / 1.867 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/4.732, allocations: 0.9888 MB / 1.868 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001768/4.734, allocations: 204.5 kB / 1.868 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/4.735, allocations: 341.1 kB / 1.868 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/4.735, allocations: 0 / 1.868 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07565/4.811, allocations: 26.2 MB / 1.894 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/4.811, allocations: 239.9 kB / 1.894 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/8.409, allocations: 2.656 kB / 1.894 GB, free: 183.3 MB / 0.8855 GB