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: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.043/2.043, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.001377/0.001377, allocations: 172.5 kB / 372 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.546/1.546, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007869/0.0007869, allocations: 95.47 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004026, allocations: 10.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2084, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.5883/0.7968, allocations: 106.7 MB / 1.084 GB, free: 22.98 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03781/0.8346, allocations: 24.69 MB / 1.108 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005737/0.8404, allocations: 116.7 kB / 1.108 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004728/0.8453, allocations: 0.8504 MB / 1.109 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.8563, allocations: 2.757 MB / 1.111 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008191/0.8645, allocations: 2.201 MB / 1.114 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01301/0.8776, allocations: 8.101 MB / 1.122 GB, free: 18.14 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004597/0.8822, allocations: 2.033 MB / 1.124 GB, free: 17.42 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006344/0.8886, allocations: 2.386 MB / 1.126 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/0.8929, allocations: 1.921 MB / 1.128 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.894, allocations: 113 kB / 1.128 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/0.8988, allocations: 1.034 MB / 1.129 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.9, allocations: 473.2 kB / 1.129 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.9018, allocations: 0.6281 MB / 1.13 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006073/0.9079, allocations: 3.882 MB / 1.134 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.908, allocations: 1.062 kB / 1.134 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.908, allocations: 0 / 1.134 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002038/0.9082, allocations: 0 / 1.134 GB, free: 12.87 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.007629/0.9158, allocations: 2.871 MB / 1.137 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.9159, allocations: 10.22 kB / 1.137 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006195/0.9221, allocations: 1.099 MB / 1.138 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005575/0.9277, allocations: 2.385 MB / 1.14 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.928, allocations: 149.5 kB / 1.14 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006618/0.9286, allocations: 187.9 kB / 1.14 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00627/0.9349, allocations: 2.511 MB / 1.143 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.935, allocations: 6 kB / 1.143 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.9352, allocations: 73.75 kB / 1.143 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.9353, allocations: 51.56 kB / 1.143 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006309/0.9416, allocations: 2.374 MB / 1.145 GB, free: 5.695 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.01974/0.9613, allocations: 12.13 MB / 1.157 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008486/0.9699, allocations: 2.345 MB / 1.159 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.9722, allocations: 0.9488 MB / 1.16 GB, free: 9.602 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.9735, allocations: 1.379 MB / 1.162 GB, free: 8.035 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.9736, allocations: 46.19 kB / 1.162 GB, free: 7.988 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001759/0.9753, allocations: 227.7 kB / 1.162 GB, free: 7.863 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 6.573e-06/0.9753, allocations: 0 / 1.162 GB, free: 7.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03575/1.011, allocations: 9.151 MB / 1.171 GB, free: 3.223 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/1.011, allocations: 173.8 kB / 1.171 GB, free: 3.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/1.015, allocations: 2.054 MB / 1.173 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002312/1.015, allocations: 53.7 kB / 1.173 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.016, allocations: 1.196 MB / 1.174 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004398/1.017, allocations: 387.6 kB / 1.175 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/1.017, allocations: 28 kB / 1.175 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.017, allocations: 369.9 kB / 1.175 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/1.02, allocations: 0.8979 MB / 1.176 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/1.022, allocations: 1.308 MB / 1.177 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/1.025, allocations: 0.9802 MB / 1.178 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.025, allocations: 4 kB / 1.178 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008435/1.033, allocations: 3.01 MB / 1.181 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002539/1.034, allocations: 376 kB / 1.181 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/1.034, allocations: 12 kB / 1.181 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00612/1.04, allocations: 1.434 MB / 1.183 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/1.041, allocations: 331.5 kB / 1.183 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/1.054, allocations: 6.087 MB / 1.189 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/1.058, allocations: 383.3 kB / 1.189 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/1.058, allocations: 75.89 kB / 1.189 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/1.058, allocations: 8 kB / 1.189 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005904/1.064, allocations: 2.358 MB / 1.192 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.064, allocations: 8 kB / 1.192 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/1.067, allocations: 0.6905 MB / 1.192 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.069, allocations: 391.5 kB / 1.193 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/1.081, allocations: 6.766 MB / 1.199 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/1.085, allocations: 331.4 kB / 1.2 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/1.085, allocations: 79.94 kB / 1.2 GB, free: 4.695 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.001581/1.087, allocations: 0.6069 MB / 1.2 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007222/1.087, allocations: 229.1 kB / 1.201 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006461/1.094, allocations: 2.519 MB / 1.203 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/1.094, allocations: 18.69 kB / 1.203 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.094, allocations: 0 / 1.203 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005062/1.099, allocations: 2.349 MB / 1.205 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.111, allocations: 5.131 MB / 1.21 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.111, allocations: 0 / 1.21 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.112, allocations: 263.8 kB / 1.211 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003334/1.115, allocations: 0.8309 MB / 1.211 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.116, allocations: 38.48 kB / 1.211 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/1.118, allocations: 1.481 MB / 1.213 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.118, allocations: 0 / 1.213 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008329/1.126, allocations: 3.55 MB / 1.216 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.128, allocations: 0.5251 MB / 1.217 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005785/1.128, allocations: 24 kB / 1.217 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/1.131, allocations: 309.9 kB / 1.217 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.131, allocations: 88.83 kB / 1.217 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.131, allocations: 51.95 kB / 1.217 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002534/1.134, allocations: 1.388 MB / 1.219 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.134, allocations: 0 / 1.219 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004452/1.138, allocations: 1.148 MB / 1.22 GB, free: 15.96 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.001117/1.139, allocations: 0.506 MB / 1.22 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.008991/1.148, allocations: 3.839 MB / 1.224 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.148, allocations: 0 / 1.224 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002436/1.151, allocations: 0.9884 MB / 1.225 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/1.157, allocations: 1.15 MB / 1.226 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.169, allocations: 5.766 MB / 1.232 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.171, allocations: 1.622 MB / 1.233 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002466/1.173, allocations: 486 kB / 1.234 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/1.174, allocations: 171.4 kB / 1.234 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/1.174, allocations: 0 / 1.234 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of Templates: time 0.08522/1.259, allocations: 55.32 MB / 1.288 GB, free: 10.62 MB / 0.823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)