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_Cooling.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_Cooling,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_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 8.0.0/package.mo): time 1.441/1.441, allocations: 287.4 MB / 302.5 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.0009791/0.0009792, allocations: 177.8 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.126/1.126, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0006953/0.0006954, allocations: 93.47 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 16 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.3706/0.5142, allocations: 106.7 MB / 1.083 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.54, allocations: 24.69 MB / 1.107 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.5429, allocations: 115.1 kB / 1.107 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.5449, allocations: 0.851 MB / 1.108 GB, free: 22.04 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.5512, allocations: 2.759 MB / 1.111 GB, free: 21.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00535/0.5566, allocations: 2.2 MB / 1.113 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008206/0.5648, allocations: 8.149 MB / 1.121 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.5679, allocations: 2.265 MB / 1.123 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00385/0.5718, allocations: 2.38 MB / 1.125 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.5746, allocations: 1.932 MB / 1.127 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005431/0.5752, allocations: 103.3 kB / 1.127 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.5784, allocations: 1.033 MB / 1.128 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.5789, allocations: 470.9 kB / 1.129 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008272/0.5797, allocations: 0.6263 MB / 1.129 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.583, allocations: 3.893 MB / 1.133 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.583, allocations: 5.344 kB / 1.133 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.843e-06/0.583, allocations: 0 / 1.133 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.2e-05/0.5831, allocations: 0 / 1.133 GB, free: 13.17 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.004165/0.5873, allocations: 2.841 MB / 1.136 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.5873, allocations: 9.875 kB / 1.136 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002428/0.5876, allocations: 258.9 kB / 1.136 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/0.5921, allocations: 1.1 MB / 1.137 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/0.5951, allocations: 2.461 MB / 1.14 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.5952, allocations: 151.2 kB / 1.14 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.5954, allocations: 199.8 kB / 1.14 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/0.5996, allocations: 2.511 MB / 1.143 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.5997, allocations: 6.656 kB / 1.143 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.5999, allocations: 78.28 kB / 1.143 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.5999, allocations: 46.47 kB / 1.143 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004969/0.6049, allocations: 2.371 MB / 1.145 GB, free: 5.703 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.0129/0.6178, allocations: 12.15 MB / 1.157 GB, free: 11.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005671/0.6235, allocations: 2.113 MB / 1.159 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.6254, allocations: 0.9469 MB / 1.16 GB, free: 9.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.6264, allocations: 1.372 MB / 1.161 GB, free: 8.117 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.6265, allocations: 50.09 kB / 1.161 GB, free: 8.066 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00102/0.6275, allocations: 232.5 kB / 1.161 GB, free: 7.938 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 2.965e-06/0.6275, allocations: 0 / 1.161 GB, free: 7.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.0296/0.6571, allocations: 9.205 MB / 1.17 GB, free: 3.477 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.6572, allocations: 167.4 kB / 1.171 GB, free: 3.281 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.6598, allocations: 2.062 MB / 1.173 GB, free: 1.199 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.6599, allocations: 49.7 kB / 1.173 GB, free: 1.145 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007912/0.6607, allocations: 1.201 MB / 1.174 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.661, allocations: 384.3 kB / 1.174 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.6611, allocations: 28 kB / 1.174 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6612, allocations: 361.8 kB / 1.175 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.6633, allocations: 0.9018 MB / 1.175 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.6657, allocations: 1.312 MB / 1.177 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004136/0.6698, allocations: 2.031 MB / 1.179 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6699, allocations: 4 kB / 1.179 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007255/0.6771, allocations: 2.995 MB / 1.182 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.6773, allocations: 375.4 kB / 1.182 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6773, allocations: 8 kB / 1.182 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005457/0.6828, allocations: 1.449 MB / 1.183 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.6841, allocations: 331.5 kB / 1.184 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.6954, allocations: 6.097 MB / 1.19 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/0.6982, allocations: 375.5 kB / 1.19 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.6984, allocations: 71.95 kB / 1.19 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.6984, allocations: 4 kB / 1.19 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005138/0.7035, allocations: 2.367 MB / 1.192 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7035, allocations: 8 kB / 1.192 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.7059, allocations: 0.6894 MB / 1.193 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.7074, allocations: 395.4 kB / 1.193 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.7185, allocations: 6.756 MB / 1.2 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.721, allocations: 327.4 kB / 1.2 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.7211, allocations: 71.97 kB / 1.2 GB, free: 3.797 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.001086/0.7222, allocations: 0.6179 MB / 1.201 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.7227, allocations: 241 kB / 1.201 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00572/0.7284, allocations: 2.5 MB / 1.204 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.7284, allocations: 15.98 kB / 1.204 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.7284, allocations: 0 / 1.204 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004559/0.733, allocations: 2.349 MB / 1.206 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.7431, allocations: 5.139 MB / 1.211 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.7431, allocations: 0 / 1.211 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.7442, allocations: 267.8 kB / 1.211 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/0.7471, allocations: 0.8157 MB / 1.212 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.974e-05/0.7473, allocations: 43.95 kB / 1.212 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.7494, allocations: 1.489 MB / 1.214 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7494, allocations: 0 / 1.214 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007278/0.7567, allocations: 3.55 MB / 1.217 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000941/0.7577, allocations: 0.5251 MB / 1.218 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/0.7581, allocations: 24 kB / 1.218 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/0.7601, allocations: 309.8 kB / 1.218 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.7602, allocations: 76.88 kB / 1.218 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.7603, allocations: 54.09 kB / 1.218 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00204/0.7624, allocations: 1.391 MB / 1.219 GB, free: 220 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7624, allocations: 0 / 1.219 GB, free: 220 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00365/0.766, allocations: 1.144 MB / 1.22 GB, free: 15.07 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.008315/0.7744, allocations: 4.492 MB / 1.225 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.007942/0.7823, allocations: 3.836 MB / 1.229 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7823, allocations: 0 / 1.229 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.7845, allocations: 0.9912 MB / 1.23 GB, free: 5.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/0.7895, allocations: 1.139 MB / 1.231 GB, free: 4.605 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04511/0.8346, allocations: 17.08 MB / 1.247 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.8359, allocations: 1.622 MB / 1.249 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002312/0.8383, allocations: 490.1 kB / 1.249 GB, free: 208 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/0.8397, allocations: 1.052 MB / 1.25 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of SimCode: time 7.21e-07/0.8397, allocations: 0 / 1.25 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.529/2.369, allocations: 77.73 MB / 1.326 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/2.369, allocations: 303.4 kB / 1.327 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.971/6.34, allocations: 4.062 kB / 1.327 GB, free: 1.727 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)