Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 252 MB / 267 MB, free: 10.97 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.001066/0.001066, allocations: 179.1 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007417/0.0007418, allocations: 84.27 kB / 0.6822 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 9.719 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2066, allocations: 106.3 MB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.09498/0.3017, allocations: 106.7 MB / 1.005 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03961/0.3413, allocations: 24.66 MB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00592/0.3473, allocations: 115.1 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004618/0.352, allocations: 0.8457 MB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.363, allocations: 2.762 MB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008018/0.3711, allocations: 2.165 MB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01248/0.3836, allocations: 8.08 MB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005721/0.3893, allocations: 2.018 MB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006829/0.3962, allocations: 2.379 MB / 1.047 GB, free: 9.699 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004668/0.4009, allocations: 1.929 MB / 1.048 GB, free: 7.762 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.4021, allocations: 104 kB / 1.049 GB, free: 7.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004682/0.4068, allocations: 1.033 MB / 1.05 GB, free: 6.625 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.4081, allocations: 469.7 kB / 1.05 GB, free: 6.164 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.41, allocations: 0.6213 MB / 1.051 GB, free: 5.535 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006408/0.4164, allocations: 3.873 MB / 1.054 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4165, allocations: 0 / 1.054 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4165, allocations: 0 / 1.054 GB, free: 1.652 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002003/0.4167, allocations: 0 / 1.054 GB, free: 1.652 MB / 0.698 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.4527/0.8694, allocations: 2.86 MB / 1.057 GB, free: 149.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.8695, allocations: 9.625 kB / 1.057 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001086/0.8706, allocations: 266 kB / 1.057 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006409/0.877, allocations: 1.1 MB / 1.059 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006664/0.8837, allocations: 2.37 MB / 1.061 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.8839, allocations: 146.9 kB / 1.061 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/0.8842, allocations: 206.6 kB / 1.061 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006191/0.8904, allocations: 2.507 MB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/0.8905, allocations: 3.938 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.8907, allocations: 79.31 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.8907, allocations: 47.98 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006613/0.8974, allocations: 2.367 MB / 1.066 GB, free: 148.7 MB / 0.698 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.01967/0.9171, allocations: 12.11 MB / 1.078 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006876/0.924, allocations: 2.104 MB / 1.08 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.9265, allocations: 0.938 MB / 1.081 GB, free: 140 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.9277, allocations: 1.373 MB / 1.082 GB, free: 138.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.9277, allocations: 52.73 kB / 1.082 GB, free: 138.4 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002007/0.9297, allocations: 237.5 kB / 1.082 GB, free: 138.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 5.901e-06/0.9297, allocations: 4 kB / 1.082 GB, free: 138.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03476/0.9645, allocations: 8.923 MB / 1.091 GB, free: 133.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.9646, allocations: 171.1 kB / 1.091 GB, free: 133.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.9678, allocations: 2.064 MB / 1.093 GB, free: 132.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.968, allocations: 49.61 kB / 1.093 GB, free: 132.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006966/0.9687, allocations: 1.199 MB / 1.095 GB, free: 131.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.9691, allocations: 382.1 kB / 1.095 GB, free: 131.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/0.9692, allocations: 23.97 kB / 1.095 GB, free: 131.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.9693, allocations: 365.7 kB / 1.095 GB, free: 130.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.9716, allocations: 0.8948 MB / 1.096 GB, free: 130.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.974, allocations: 1.311 MB / 1.097 GB, free: 129.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.9763, allocations: 0.9862 MB / 1.098 GB, free: 128.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.9763, allocations: 7.938 kB / 1.098 GB, free: 128.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007705/0.984, allocations: 2.987 MB / 1.101 GB, free: 125.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.9842, allocations: 377.7 kB / 1.102 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.9843, allocations: 19.55 kB / 1.102 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00556/0.9898, allocations: 1.396 MB / 1.103 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.9915, allocations: 335.5 kB / 1.103 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/1.003, allocations: 6.071 MB / 1.109 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/1.008, allocations: 380.5 kB / 1.11 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/1.008, allocations: 71.95 kB / 1.11 GB, free: 116.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.008, allocations: 0 / 1.11 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00588/1.014, allocations: 2.359 MB / 1.112 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.014, allocations: 8.688 kB / 1.112 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/1.017, allocations: 0.6898 MB / 1.113 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.019, allocations: 395.4 kB / 1.113 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.031, allocations: 6.783 MB / 1.12 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/1.034, allocations: 327.4 kB / 1.12 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/1.034, allocations: 71.95 kB / 1.12 GB, free: 105.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (127): * Single equations (assignments): 125 * 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.00154/1.036, allocations: 0.6178 MB / 1.121 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/1.036, allocations: 233 kB / 1.121 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/1.042, allocations: 2.517 MB / 1.123 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.042, allocations: 15.98 kB / 1.123 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.042, allocations: 0 / 1.123 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004568/1.047, allocations: 2.337 MB / 1.126 GB, free: 99.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.058, allocations: 5.109 MB / 1.131 GB, free: 94.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.058, allocations: 112 / 1.131 GB, free: 94.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.059, allocations: 267.7 kB / 1.131 GB, free: 94.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/1.062, allocations: 0.7902 MB / 1.132 GB, free: 93.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/1.062, allocations: 35.97 kB / 1.132 GB, free: 93.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/1.065, allocations: 1.481 MB / 1.133 GB, free: 91.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.065, allocations: 0 / 1.133 GB, free: 91.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007735/1.072, allocations: 3.528 MB / 1.137 GB, free: 88.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.074, allocations: 0.5251 MB / 1.137 GB, free: 87.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/1.074, allocations: 27.95 kB / 1.137 GB, free: 87.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.077, allocations: 307.5 kB / 1.137 GB, free: 87.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.077, allocations: 76.88 kB / 1.138 GB, free: 87.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.077, allocations: 43.97 kB / 1.138 GB, free: 87.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002037/1.079, allocations: 1.395 MB / 1.139 GB, free: 85.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/1.079, allocations: 0 / 1.139 GB, free: 85.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00395/1.083, allocations: 1.147 MB / 1.14 GB, free: 84.85 MB / 0.698 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 (86): * Single equations (assignments): 78 * 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 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.008467/1.091, allocations: 4.485 MB / 1.144 GB, free: 80.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008187/1.1, allocations: 3.812 MB / 1.148 GB, free: 76.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.1, allocations: 256 / 1.148 GB, free: 76.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002274/1.102, allocations: 0.9947 MB / 1.149 GB, free: 75.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005969/1.108, allocations: 1.144 MB / 1.15 GB, free: 74.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04926/1.157, allocations: 17.04 MB / 1.167 GB, free: 56.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.158, allocations: 1.622 MB / 1.169 GB, free: 54.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00262/1.161, allocations: 488.6 kB / 1.169 GB, free: 54.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/1.162, allocations: 1.046 MB / 1.17 GB, free: 53 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.162, allocations: 0 / 1.17 GB, free: 53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/1.28, allocations: 77.45 MB / 1.246 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.28, allocations: 335.3 kB / 1.246 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.349/5.63, allocations: 4.062 kB / 1.246 GB, free: 7.816 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)