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 2.763/2.763, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001271/0.001271, allocations: 187.2 kB / 371 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 2.144/2.144, allocations: 205.4 MB / 0.6297 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.0009761/0.0009756, allocations: 82.41 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.000482, allocations: 13.23 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2324, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.927/1.16, allocations: 106.7 MB / 1.083 GB, free: 22.36 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06706/1.227, allocations: 24.69 MB / 1.107 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006519/1.233, allocations: 112.5 kB / 1.107 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006538/1.24, allocations: 0.853 MB / 1.108 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01759/1.257, allocations: 2.762 MB / 1.11 GB, free: 21.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01448/1.272, allocations: 2.205 MB / 1.113 GB, free: 21.14 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02105/1.293, allocations: 8.097 MB / 1.12 GB, free: 17.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00673/1.3, allocations: 2.026 MB / 1.122 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/1.31, allocations: 2.388 MB / 1.125 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005496/1.316, allocations: 1.926 MB / 1.127 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001201/1.317, allocations: 103.5 kB / 1.127 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006573/1.323, allocations: 1.035 MB / 1.128 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001505/1.325, allocations: 473.5 kB / 1.128 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001997/1.327, allocations: 0.6299 MB / 1.129 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008047/1.335, allocations: 3.891 MB / 1.133 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.335, allocations: 1.125 kB / 1.133 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.135e-06/1.335, allocations: 0 / 1.133 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001744/1.335, allocations: 0 / 1.133 GB, free: 13.39 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.01004/1.345, allocations: 2.864 MB / 1.135 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.345, allocations: 9.531 kB / 1.135 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000979/1.346, allocations: 264.7 kB / 1.136 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009946/1.356, allocations: 1.1 MB / 1.137 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007212/1.364, allocations: 2.38 MB / 1.139 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/1.364, allocations: 153.6 kB / 1.139 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006275/1.365, allocations: 192.9 kB / 1.139 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00953/1.374, allocations: 2.507 MB / 1.142 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.506e-05/1.374, allocations: 9.062 kB / 1.142 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/1.375, allocations: 78.16 kB / 1.142 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.17e-05/1.375, allocations: 51.16 kB / 1.142 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/1.386, allocations: 2.37 MB / 1.144 GB, free: 6.016 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.02919/1.416, allocations: 12.14 MB / 1.156 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/1.428, allocations: 2.109 MB / 1.158 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00418/1.432, allocations: 0.9359 MB / 1.159 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/1.434, allocations: 1.373 MB / 1.161 GB, free: 8.453 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/1.434, allocations: 45.72 kB / 1.161 GB, free: 8.406 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002502/1.437, allocations: 229.4 kB / 1.161 GB, free: 8.281 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 1.023e-05/1.437, allocations: 3.984 kB / 1.161 GB, free: 8.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.07775/1.515, allocations: 9.15 MB / 1.17 GB, free: 3.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/1.515, allocations: 176.5 kB / 1.17 GB, free: 3.645 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008518/1.523, allocations: 2.06 MB / 1.172 GB, free: 1.656 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005975/1.524, allocations: 53.64 kB / 1.172 GB, free: 1.598 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002544/1.527, allocations: 1.193 MB / 1.173 GB, free: 404 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.528, allocations: 387.5 kB / 1.173 GB, free: 20 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/1.528, allocations: 31.88 kB / 1.174 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003098/1.528, allocations: 365.8 kB / 1.174 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007552/1.536, allocations: 0.894 MB / 1.175 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00843/1.544, allocations: 1.304 MB / 1.176 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00801/1.552, allocations: 0.9878 MB / 1.177 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/1.553, allocations: 4 kB / 1.177 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.0243/1.577, allocations: 3.006 MB / 1.18 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003413/1.577, allocations: 372 kB / 1.18 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/1.577, allocations: 12 kB / 1.18 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/1.589, allocations: 1.439 MB / 1.182 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/1.592, allocations: 339.5 kB / 1.182 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02354/1.615, allocations: 6.086 MB / 1.188 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005687/1.621, allocations: 375.3 kB / 1.188 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005194/1.622, allocations: 74.58 kB / 1.188 GB, free: 304 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.622, allocations: 8 kB / 1.188 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01128/1.633, allocations: 2.363 MB / 1.191 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/1.633, allocations: 12.09 kB / 1.191 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005169/1.638, allocations: 0.6866 MB / 1.191 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/1.642, allocations: 391.5 kB / 1.192 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/1.665, allocations: 6.764 MB / 1.198 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005182/1.67, allocations: 327.4 kB / 1.199 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005015/1.671, allocations: 75.95 kB / 1.199 GB, free: 5.422 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.002317/1.673, allocations: 0.6101 MB / 1.199 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009105/1.674, allocations: 233.1 kB / 1.2 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/1.686, allocations: 2.513 MB / 1.202 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-05/1.686, allocations: 15.98 kB / 1.202 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.686, allocations: 4 kB / 1.202 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0103/1.696, allocations: 2.349 MB / 1.204 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/1.718, allocations: 5.131 MB / 1.209 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/1.718, allocations: 8.094 kB / 1.209 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.72, allocations: 255.7 kB / 1.21 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006231/1.727, allocations: 0.8239 MB / 1.21 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003506/1.727, allocations: 39.97 kB / 1.21 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004462/1.731, allocations: 1.489 MB / 1.212 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.732, allocations: 0 / 1.212 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/1.747, allocations: 3.549 MB / 1.215 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/1.75, allocations: 0.5213 MB / 1.216 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008677/1.751, allocations: 24 kB / 1.216 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004692/1.755, allocations: 320.2 kB / 1.216 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/1.756, allocations: 76.89 kB / 1.216 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000278/1.756, allocations: 55.95 kB / 1.216 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004383/1.76, allocations: 1.388 MB / 1.218 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.21e-07/1.76, allocations: 0 / 1.218 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007833/1.768, allocations: 1.152 MB / 1.219 GB, free: 0.6797 MB / 0.7448 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.01847/1.787, allocations: 4.507 MB / 1.223 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01889/1.806, allocations: 3.823 MB / 1.227 GB, free: 8.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.806, allocations: 9.062 kB / 1.227 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00476/1.811, allocations: 0.9909 MB / 1.228 GB, free: 7.34 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/1.821, allocations: 1.144 MB / 1.229 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08408/1.905, allocations: 17.06 MB / 1.246 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/1.907, allocations: 1.622 MB / 1.247 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004157/1.911, allocations: 490.1 kB / 1.248 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00275/1.914, allocations: 1.042 MB / 1.249 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/1.914, allocations: 1.422 kB / 1.249 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2059/2.12, allocations: 77.69 MB / 1.325 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/2.12, allocations: 328 kB / 1.325 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.884/8.005, allocations: 0 / 1.325 GB, free: 3.387 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)