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: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.754/1.754, allocations: 287.5 MB / 302.6 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.001007/0.001007, allocations: 168.5 kB / 371.2 MB, free: 10.82 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.427/1.427, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008002/0.0008004, allocations: 106.6 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005038, allocations: 10.69 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2113, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.5859/0.7972, allocations: 106.7 MB / 1.083 GB, free: 22.48 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03533/0.8326, allocations: 24.69 MB / 1.107 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006062/0.8387, allocations: 113.1 kB / 1.107 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005102/0.8439, allocations: 0.8608 MB / 1.108 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.8565, allocations: 2.758 MB / 1.111 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00888/0.8654, allocations: 2.2 MB / 1.113 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0151/0.8805, allocations: 8.15 MB / 1.121 GB, free: 17.92 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007325/0.8879, allocations: 2.263 MB / 1.123 GB, free: 17 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008287/0.8962, allocations: 2.385 MB / 1.125 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005298/0.9015, allocations: 1.922 MB / 1.127 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.9029, allocations: 103 kB / 1.127 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005963/0.9089, allocations: 1.047 MB / 1.128 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.9105, allocations: 475.2 kB / 1.129 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.9128, allocations: 0.6202 MB / 1.129 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007099/0.9199, allocations: 3.892 MB / 1.133 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.92, allocations: 0 / 1.133 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/0.92, allocations: 0 / 1.133 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002227/0.9202, allocations: 0.9688 kB / 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.008756/0.929, allocations: 2.838 MB / 1.136 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.929, allocations: 8.219 kB / 1.136 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.9352, allocations: 1.102 MB / 1.137 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006261/0.9415, allocations: 2.454 MB / 1.139 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.9417, allocations: 153.4 kB / 1.14 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007813/0.9425, allocations: 195.6 kB / 1.14 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00798/0.9505, allocations: 2.515 MB / 1.142 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.299e-05/0.9506, allocations: 10 kB / 1.142 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003851/0.951, allocations: 77.56 kB / 1.142 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-05/0.9511, allocations: 51.97 kB / 1.142 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006826/0.9579, allocations: 2.366 MB / 1.145 GB, free: 5.949 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.02081/0.9788, allocations: 12.14 MB / 1.156 GB, free: 11.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008188/0.987, allocations: 2.344 MB / 1.159 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/0.9894, allocations: 0.9409 MB / 1.16 GB, free: 9.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.9908, allocations: 1.381 MB / 1.161 GB, free: 8.273 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.9909, allocations: 48.72 kB / 1.161 GB, free: 8.223 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002132/0.993, allocations: 231.9 kB / 1.161 GB, free: 8.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 1.168e-05/0.9931, allocations: 0 / 1.161 GB, free: 8.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03636/1.029, allocations: 9.206 MB / 1.17 GB, free: 3.566 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.03, allocations: 171.2 kB / 1.17 GB, free: 3.363 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004502/1.034, allocations: 2.058 MB / 1.172 GB, free: 1.285 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003488/1.034, allocations: 53.7 kB / 1.172 GB, free: 1.227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.036, allocations: 1.202 MB / 1.174 GB, free: 16 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006124/1.036, allocations: 384.6 kB / 1.174 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/1.037, allocations: 32 kB / 1.174 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.037, allocations: 361.9 kB / 1.174 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/1.039, allocations: 0.8979 MB / 1.175 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/1.042, allocations: 1.314 MB / 1.177 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/1.047, allocations: 2.024 MB / 1.179 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.047, allocations: 4 kB / 1.179 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008861/1.056, allocations: 3.003 MB / 1.181 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003352/1.056, allocations: 375.4 kB / 1.182 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/1.056, allocations: 12 kB / 1.182 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006141/1.063, allocations: 1.438 MB / 1.183 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.064, allocations: 335.5 kB / 1.184 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.078, allocations: 6.089 MB / 1.19 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/1.082, allocations: 384.1 kB / 1.19 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004604/1.083, allocations: 79.95 kB / 1.19 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.083, allocations: 4 kB / 1.19 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00642/1.089, allocations: 2.363 MB / 1.192 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.089, allocations: 8 kB / 1.192 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/1.092, allocations: 0.6814 MB / 1.193 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/1.094, allocations: 391.5 kB / 1.193 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/1.107, allocations: 6.769 MB / 1.2 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/1.111, allocations: 331.4 kB / 1.2 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004169/1.111, allocations: 71.95 kB / 1.2 GB, free: 3.871 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.00201/1.113, allocations: 0.6179 MB / 1.201 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000841/1.114, allocations: 233 kB / 1.201 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007196/1.122, allocations: 2.506 MB / 1.204 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/1.122, allocations: 16 kB / 1.204 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.122, allocations: 0 / 1.204 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005323/1.127, allocations: 2.351 MB / 1.206 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.141, allocations: 5.131 MB / 1.211 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.141, allocations: 3.938 kB / 1.211 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.142, allocations: 259.8 kB / 1.211 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003346/1.146, allocations: 0.8163 MB / 1.212 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/1.146, allocations: 43.97 kB / 1.212 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/1.148, allocations: 1.476 MB / 1.213 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.148, allocations: 4 kB / 1.213 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008825/1.157, allocations: 3.542 MB / 1.217 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.159, allocations: 0.5409 MB / 1.217 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008563/1.16, allocations: 23.94 kB / 1.217 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00288/1.163, allocations: 308.1 kB / 1.218 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.163, allocations: 72.83 kB / 1.218 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.163, allocations: 47.97 kB / 1.218 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003291/1.167, allocations: 1.399 MB / 1.219 GB, free: 308 kB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.167, allocations: 3.938 kB / 1.219 GB, free: 304 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006403/1.173, allocations: 1.144 MB / 1.22 GB, free: 15.15 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.0015/1.174, allocations: 0.4935 MB / 1.221 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.009915/1.184, allocations: 3.827 MB / 1.225 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.184, allocations: 4 kB / 1.225 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002605/1.187, allocations: 0.9871 MB / 1.226 GB, free: 9.852 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007541/1.195, allocations: 1.147 MB / 1.227 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.209, allocations: 5.774 MB / 1.232 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/1.211, allocations: 1.622 MB / 1.234 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003361/1.214, allocations: 487 kB / 1.234 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007908/1.215, allocations: 175.4 kB / 1.235 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of SimCode: time 8.51e-07/1.215, allocations: 0 / 1.235 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of Templates: time 0.09321/1.309, allocations: 55.37 MB / 1.289 GB, free: 9.688 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile (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 & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)