Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 1.413/1.413, allocations: 287.4 MB / 302.6 MB, free: 8.266 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.0008299/0.0008297, allocations: 195 kB / 371.1 MB, free: 10.85 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.109/1.109, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0006444/0.0006444, allocations: 99.47 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 10.28 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.3869/0.5304, allocations: 106.7 MB / 1.083 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02546/0.5559, allocations: 24.69 MB / 1.107 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.5586, allocations: 115.5 kB / 1.107 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.5607, allocations: 0.8519 MB / 1.108 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006756/0.5675, allocations: 2.763 MB / 1.111 GB, free: 21.49 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005795/0.5733, allocations: 2.214 MB / 1.113 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008962/0.5823, allocations: 8.146 MB / 1.121 GB, free: 17.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002783/0.5851, allocations: 2.268 MB / 1.123 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004109/0.5892, allocations: 2.381 MB / 1.125 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.5915, allocations: 1.925 MB / 1.127 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.5917, allocations: 104.8 kB / 1.127 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.5944, allocations: 1.04 MB / 1.128 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.5948, allocations: 469.8 kB / 1.129 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006122/0.5954, allocations: 0.6273 MB / 1.129 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.5983, allocations: 3.892 MB / 1.133 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5983, allocations: 1.031 kB / 1.133 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5983, allocations: 0 / 1.133 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.826e-05/0.5983, allocations: 0 / 1.133 GB, free: 13.21 MB / 0.6823 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.003943/0.6023, allocations: 2.84 MB / 1.136 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.6023, allocations: 12.5 kB / 1.136 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/0.6026, allocations: 263.2 kB / 1.136 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/0.6071, allocations: 1.101 MB / 1.137 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.61, allocations: 2.465 MB / 1.14 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.6101, allocations: 146 kB / 1.14 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.6104, allocations: 196.8 kB / 1.14 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004127/0.6145, allocations: 2.511 MB / 1.142 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.6145, allocations: 1.219 kB / 1.142 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.6147, allocations: 78.31 kB / 1.143 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.6147, allocations: 51.16 kB / 1.143 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004981/0.6197, allocations: 2.376 MB / 1.145 GB, free: 5.742 MB / 0.6823 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.01253/0.6323, allocations: 12.13 MB / 1.157 GB, free: 11.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007041/0.6393, allocations: 2.345 MB / 1.159 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.6413, allocations: 0.9489 MB / 1.16 GB, free: 9.637 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.6423, allocations: 1.38 MB / 1.161 GB, free: 8.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.6424, allocations: 50.19 kB / 1.161 GB, free: 8.02 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001061/0.6434, allocations: 231.7 kB / 1.162 GB, free: 7.891 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 2.645e-06/0.6434, allocations: 0 / 1.162 GB, free: 7.891 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.02949/0.6729, allocations: 9.203 MB / 1.171 GB, free: 3.301 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.673, allocations: 167.2 kB / 1.171 GB, free: 3.102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.676, allocations: 2.058 MB / 1.173 GB, free: 1.023 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.6761, allocations: 57.64 kB / 1.173 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000883/0.677, allocations: 1.198 MB / 1.174 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.6773, allocations: 383.7 kB / 1.174 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.631e-05/0.6774, allocations: 32 kB / 1.174 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6776, allocations: 361.9 kB / 1.175 GB, free: 15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.6798, allocations: 0.9017 MB / 1.176 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/0.6823, allocations: 1.308 MB / 1.177 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004321/0.6866, allocations: 2.027 MB / 1.179 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.6866, allocations: 8 kB / 1.179 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007312/0.694, allocations: 3.007 MB / 1.182 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.6942, allocations: 375.4 kB / 1.182 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.6942, allocations: 12 kB / 1.182 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005465/0.6997, allocations: 1.433 MB / 1.184 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.701, allocations: 331.5 kB / 1.184 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.7125, allocations: 6.087 MB / 1.19 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.7153, allocations: 379.4 kB / 1.19 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.7155, allocations: 75.95 kB / 1.19 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.7155, allocations: 4 kB / 1.19 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005259/0.7208, allocations: 2.359 MB / 1.193 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.7208, allocations: 11.98 kB / 1.193 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.7232, allocations: 0.679 MB / 1.193 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.7247, allocations: 398.1 kB / 1.194 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.7359, allocations: 6.771 MB / 1.2 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.7385, allocations: 323.5 kB / 1.201 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.7387, allocations: 71.95 kB / 1.201 GB, free: 3.617 MB / 0.7292 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.001125/0.7398, allocations: 0.6179 MB / 1.201 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/0.7403, allocations: 233 kB / 1.201 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005599/0.7459, allocations: 2.511 MB / 1.204 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.7459, allocations: 15.98 kB / 1.204 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.7459, allocations: 0 / 1.204 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004505/0.7504, allocations: 2.341 MB / 1.206 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.7606, allocations: 5.14 MB / 1.211 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.7606, allocations: 0 / 1.211 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7617, allocations: 267.8 kB / 1.211 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002984/0.7647, allocations: 0.8239 MB / 1.212 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.7649, allocations: 39.97 kB / 1.212 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.7671, allocations: 1.473 MB / 1.214 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7671, allocations: 4 kB / 1.214 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007562/0.7747, allocations: 3.548 MB / 1.217 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.7758, allocations: 0.5329 MB / 1.218 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/0.7763, allocations: 20 kB / 1.218 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/0.7785, allocations: 311.5 kB / 1.218 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.7786, allocations: 72.89 kB / 1.218 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.7788, allocations: 51.95 kB / 1.218 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002187/0.781, allocations: 1.395 MB / 1.22 GB, free: 44 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.781, allocations: 0 / 1.22 GB, free: 44 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003781/0.7847, allocations: 1.152 MB / 1.221 GB, free: 14.89 MB / 0.7605 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.008436/0.7932, allocations: 4.511 MB / 1.225 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.008122/0.8013, allocations: 3.826 MB / 1.229 GB, free: 6.539 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8013, allocations: 0 / 1.229 GB, free: 6.539 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.8035, allocations: 0.9938 MB / 1.23 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005122/0.8087, allocations: 1.131 MB / 1.231 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04642/0.8551, allocations: 17.07 MB / 1.248 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.8566, allocations: 1.622 MB / 1.249 GB, free: 0.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002499/0.8591, allocations: 485.8 kB / 1.25 GB, free: 44 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/0.8606, allocations: 1.046 MB / 1.251 GB, free: 15 MB / 0.7917 GB Notification: Performance of SimCode: time 5.21e-07/0.8606, allocations: 0 / 1.251 GB, free: 15 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.198/2.059, allocations: 77.74 MB / 1.327 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/2.059, allocations: 301.5 kB / 1.327 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.116/6.175, allocations: 7.938 kB / 1.327 GB, free: 1.527 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)