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 1.618/1.618, allocations: 288.4 MB / 303.7 MB, free: 8.094 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.001031/0.001031, allocations: 172.5 kB / 372.3 MB, free: 10.13 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.475/1.475, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0008339/0.000834, allocations: 90.36 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 11.81 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2339, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.6065/0.8405, allocations: 106.7 MB / 1.084 GB, free: 20.59 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04373/0.8843, allocations: 24.7 MB / 1.108 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006588/0.8909, allocations: 114.8 kB / 1.109 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004557/0.8955, allocations: 0.8483 MB / 1.109 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.9091, allocations: 2.948 MB / 1.112 GB, free: 19.53 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009482/0.9186, allocations: 2.233 MB / 1.114 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01517/0.9338, allocations: 8.145 MB / 1.122 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00643/0.9403, allocations: 2.274 MB / 1.125 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00861/0.9489, allocations: 2.508 MB / 1.127 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005475/0.9544, allocations: 1.922 MB / 1.129 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008698/0.9553, allocations: 104 kB / 1.129 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005967/0.9613, allocations: 1.317 MB / 1.13 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000825/0.9622, allocations: 472.8 kB / 1.131 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00342/0.9656, allocations: 1.372 MB / 1.132 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006582/0.9722, allocations: 3.968 MB / 1.136 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.9722, allocations: 0 / 1.136 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.357e-06/0.9722, allocations: 1.562 kB / 1.136 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001213/0.9724, allocations: 0 / 1.136 GB, free: 9.836 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.007318/0.9797, allocations: 2.833 MB / 1.139 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/0.9798, allocations: 9.188 kB / 1.139 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005534/0.9853, allocations: 1.099 MB / 1.14 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00456/0.9899, allocations: 2.471 MB / 1.142 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.9901, allocations: 154.9 kB / 1.142 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.9904, allocations: 195.9 kB / 1.143 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.9956, allocations: 2.517 MB / 1.145 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/0.9957, allocations: 6.094 kB / 1.145 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.9959, allocations: 73.59 kB / 1.145 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/0.9959, allocations: 55.41 kB / 1.145 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006099/1.002, allocations: 2.367 MB / 1.147 GB, free: 2.566 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.02105/1.023, allocations: 12.14 MB / 1.159 GB, free: 7.977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007928/1.031, allocations: 2.336 MB / 1.162 GB, free: 6.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/1.033, allocations: 0.9433 MB / 1.163 GB, free: 6.469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/1.035, allocations: 1.38 MB / 1.164 GB, free: 4.902 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/1.035, allocations: 49.84 kB / 1.164 GB, free: 4.852 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001782/1.037, allocations: 232.8 kB / 1.164 GB, free: 4.723 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 5.14e-06/1.037, allocations: 0 / 1.164 GB, free: 4.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03518/1.072, allocations: 9.2 MB / 1.173 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/1.072, allocations: 171.2 kB / 1.173 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/1.075, allocations: 2.062 MB / 1.175 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002592/1.076, allocations: 57.64 kB / 1.175 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009967/1.077, allocations: 1.194 MB / 1.177 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/1.077, allocations: 386 kB / 1.177 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.365e-05/1.077, allocations: 30.73 kB / 1.177 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.077, allocations: 361.9 kB / 1.177 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/1.08, allocations: 0.9018 MB / 1.178 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/1.082, allocations: 1.308 MB / 1.179 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/1.087, allocations: 2.031 MB / 1.181 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.087, allocations: 4 kB / 1.181 GB, free: 7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008114/1.095, allocations: 3.003 MB / 1.184 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002692/1.095, allocations: 383.3 kB / 1.185 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.095, allocations: 8 kB / 1.185 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005948/1.101, allocations: 1.438 MB / 1.186 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.103, allocations: 331.5 kB / 1.186 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/1.115, allocations: 6.086 MB / 1.192 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/1.119, allocations: 383.4 kB / 1.193 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/1.119, allocations: 75.95 kB / 1.193 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.12, allocations: 4 kB / 1.193 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005753/1.125, allocations: 2.359 MB / 1.195 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.125, allocations: 12 kB / 1.195 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/1.128, allocations: 0.6816 MB / 1.196 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/1.13, allocations: 391.4 kB / 1.196 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/1.142, allocations: 6.762 MB / 1.203 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/1.146, allocations: 327.5 kB / 1.203 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000455/1.147, allocations: 75.95 kB / 1.203 GB, free: 160 kB / 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.00205/1.149, allocations: 0.6216 MB / 1.204 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008621/1.15, allocations: 241 kB / 1.204 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006672/1.156, allocations: 2.503 MB / 1.206 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/1.156, allocations: 20 kB / 1.206 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.156, allocations: 0 / 1.206 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005203/1.162, allocations: 2.353 MB / 1.209 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.175, allocations: 5.138 MB / 1.214 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/1.175, allocations: 11.92 kB / 1.214 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.177, allocations: 255.8 kB / 1.214 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.18, allocations: 0.8126 MB / 1.215 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/1.18, allocations: 35.98 kB / 1.215 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/1.183, allocations: 1.489 MB / 1.216 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.183, allocations: 0 / 1.216 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008729/1.191, allocations: 3.553 MB / 1.22 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.193, allocations: 0.5251 MB / 1.22 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007697/1.194, allocations: 35.98 kB / 1.22 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/1.197, allocations: 312.3 kB / 1.221 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.197, allocations: 76.83 kB / 1.221 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.197, allocations: 47.97 kB / 1.221 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003002/1.2, allocations: 1.399 MB / 1.222 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/1.2, allocations: 0 / 1.222 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005624/1.206, allocations: 1.144 MB / 1.223 GB, free: 11.41 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.001577/1.207, allocations: 0.5205 MB / 1.224 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.009605/1.217, allocations: 3.827 MB / 1.227 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.217, allocations: 0 / 1.227 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002615/1.22, allocations: 0.9919 MB / 1.228 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007347/1.227, allocations: 1.142 MB / 1.23 GB, free: 4.969 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/1.241, allocations: 5.768 MB / 1.235 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/1.243, allocations: 1.626 MB / 1.237 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003362/1.246, allocations: 482.1 kB / 1.237 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007809/1.247, allocations: 183.3 kB / 1.237 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of SimCode: time 1.553e-06/1.247, allocations: 0 / 1.237 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of Templates: time 0.09366/1.341, allocations: 55.97 MB / 1.292 GB, free: 5.406 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)