Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.808/1.808, allocations: 288.2 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 178.6 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009523/0.0009523, allocations: 94.92 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004136, allocations: 9.844 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2508, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.34, allocations: 446.7 MB / 1.416 GB, free: 14.94 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/1.341, allocations: 106.3 kB / 1.416 GB, free: 14.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.097/6.437, allocations: 1.281 GB / 2.697 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.174e-06/6.438, allocations: 0 / 2.697 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003717/6.438, allocations: 85.14 kB / 2.697 GB, free: 106.4 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.009739/6.448, allocations: 3.231 MB / 2.7 GB, free: 105 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/6.448, allocations: 7.406 kB / 2.7 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009351/6.449, allocations: 262.8 kB / 2.7 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00547/6.454, allocations: 1.006 MB / 2.701 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007597/6.462, allocations: 2.956 MB / 2.704 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/6.462, allocations: 151.2 kB / 2.705 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003803/6.462, allocations: 200 kB / 2.705 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005082/6.467, allocations: 2.484 MB / 2.707 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/6.467, allocations: 2.156 kB / 2.707 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/6.468, allocations: 79.09 kB / 2.707 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/6.468, allocations: 46.62 kB / 2.707 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005302/6.473, allocations: 2.357 MB / 2.71 GB, free: 103.9 MB / 0.9636 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.01781/6.491, allocations: 12.15 MB / 2.721 GB, free: 97.92 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007677/6.499, allocations: 2.338 MB / 2.724 GB, free: 97.89 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/6.5, allocations: 1.368 MB / 2.725 GB, free: 96.39 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/6.5, allocations: 46.81 kB / 2.725 GB, free: 96.35 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002316/6.502, allocations: 284.3 kB / 2.725 GB, free: 96.29 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 4.779e-06/6.502, allocations: 0 / 2.725 GB, free: 96.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.03266/6.535, allocations: 8.298 MB / 2.733 GB, free: 95.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/6.535, allocations: 169 kB / 2.734 GB, free: 95.21 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/6.541, allocations: 1.866 MB / 2.735 GB, free: 94.99 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004685/6.541, allocations: 49.45 kB / 2.735 GB, free: 94.96 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/6.543, allocations: 1.205 MB / 2.737 GB, free: 94.55 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006744/6.543, allocations: 383.6 kB / 2.737 GB, free: 94.31 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/6.544, allocations: 27.81 kB / 2.737 GB, free: 94.31 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002037/6.544, allocations: 358.9 kB / 2.737 GB, free: 94 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/6.546, allocations: 0.8914 MB / 2.738 GB, free: 94 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002911/6.549, allocations: 1.374 MB / 2.74 GB, free: 93.46 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002717/6.552, allocations: 0.988 MB / 2.741 GB, free: 93.41 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/6.552, allocations: 0 / 2.741 GB, free: 93.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008839/6.561, allocations: 2.986 MB / 2.743 GB, free: 93.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000881/6.562, allocations: 3.74 MB / 2.747 GB, free: 89.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/6.562, allocations: 11.38 kB / 2.747 GB, free: 89.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005484/6.567, allocations: 1.364 MB / 2.748 GB, free: 89.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/6.569, allocations: 336.3 kB / 2.749 GB, free: 89.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/6.583, allocations: 6.226 MB / 2.755 GB, free: 87.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/6.587, allocations: 388.6 kB / 2.755 GB, free: 87.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005555/6.587, allocations: 82.56 kB / 2.755 GB, free: 87.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/6.588, allocations: 5.125 kB / 2.755 GB, free: 87.07 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006598/6.594, allocations: 2.323 MB / 2.758 GB, free: 86.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/6.594, allocations: 10.31 kB / 2.758 GB, free: 86.97 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/6.597, allocations: 0.6606 MB / 2.758 GB, free: 86.94 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/6.599, allocations: 393.2 kB / 2.759 GB, free: 86.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/6.613, allocations: 6.86 MB / 2.765 GB, free: 84.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/6.617, allocations: 341.6 kB / 2.766 GB, free: 84.13 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005314/6.618, allocations: 76.33 kB / 2.766 GB, free: 84.13 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (126): * Single equations (assignments): 124 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 16,3 35} Notification: Performance of prepare postOptimizeDAE: time 0.002526/6.62, allocations: 0.6193 MB / 2.766 GB, free: 83.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/6.621, allocations: 239.3 kB / 2.767 GB, free: 83.81 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007379/6.629, allocations: 2.491 MB / 2.769 GB, free: 83.63 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.772e-05/6.629, allocations: 18.11 kB / 2.769 GB, free: 83.63 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/6.629, allocations: 9.266 kB / 2.769 GB, free: 83.62 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004805/6.634, allocations: 2.338 MB / 2.771 GB, free: 83.12 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/6.646, allocations: 4.872 MB / 2.776 GB, free: 81.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/6.646, allocations: 7.172 kB / 2.776 GB, free: 81.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/6.647, allocations: 265.2 kB / 2.776 GB, free: 81.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003064/6.65, allocations: 0.8046 MB / 2.777 GB, free: 80.89 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/6.651, allocations: 38.64 kB / 2.777 GB, free: 80.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/6.653, allocations: 1.473 MB / 2.779 GB, free: 80 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/6.653, allocations: 8.281 kB / 2.779 GB, free: 80 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008647/6.662, allocations: 3.599 MB / 2.782 GB, free: 78.54 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002341/6.664, allocations: 0.5149 MB / 2.783 GB, free: 78.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/6.665, allocations: 27.59 kB / 2.783 GB, free: 78.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003345/6.669, allocations: 308.9 kB / 2.783 GB, free: 78.11 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/6.669, allocations: 76.56 kB / 2.783 GB, free: 78.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/6.669, allocations: 53.14 kB / 2.783 GB, free: 78.08 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004425/6.673, allocations: 1.435 MB / 2.784 GB, free: 77.51 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.934e-06/6.673, allocations: 0 / 2.784 GB, free: 77.51 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009335/6.683, allocations: 1.295 MB / 2.786 GB, free: 77.31 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * 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 (87): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.01276/6.696, allocations: 5.366 MB / 2.791 GB, free: 74.81 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01017/6.706, allocations: 3.803 MB / 2.795 GB, free: 73.36 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/6.706, allocations: 4 kB / 2.795 GB, free: 73.36 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002523/6.708, allocations: 0.9835 MB / 2.796 GB, free: 73.06 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006288/6.715, allocations: 1.13 MB / 2.797 GB, free: 72.82 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/6.736, allocations: 13.77 MB / 2.81 GB, free: 61.89 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/6.738, allocations: 1.678 MB / 2.812 GB, free: 61.09 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0041/6.743, allocations: 489.9 kB / 2.812 GB, free: 60.99 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002398/6.745, allocations: 1.04 MB / 2.813 GB, free: 60.18 MB / 0.9636 GB Notification: Performance of SimCode: time 1.583e-06/6.745, allocations: 0 / 2.813 GB, free: 60.18 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/6.891, allocations: 85.41 MB / 2.897 GB, free: 1.023 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/6.891, allocations: 310.7 kB / 2.897 GB, free: 0.6641 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.375/12.27, allocations: 0 / 2.897 GB, free: 0.6641 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)