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 2.879/2.879, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.00136/0.001359, allocations: 182.3 kB / 371 MB, free: 10.86 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.051/2.051, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009527/0.000952, allocations: 90.56 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006473/0.0006476, allocations: 10.83 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2174, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.8049/1.022, allocations: 106.7 MB / 1.083 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04994/1.072, allocations: 24.69 MB / 1.107 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006141/1.079, allocations: 111.8 kB / 1.107 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004633/1.083, allocations: 0.8597 MB / 1.108 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01295/1.096, allocations: 2.759 MB / 1.11 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0109/1.107, allocations: 2.201 MB / 1.112 GB, free: 21.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01561/1.123, allocations: 8.102 MB / 1.12 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005268/1.128, allocations: 2.031 MB / 1.122 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008019/1.136, allocations: 2.381 MB / 1.125 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/1.141, allocations: 1.924 MB / 1.127 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009778/1.142, allocations: 103.4 kB / 1.127 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00595/1.148, allocations: 1.043 MB / 1.128 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001317/1.15, allocations: 469.7 kB / 1.128 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/1.152, allocations: 0.6269 MB / 1.129 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007399/1.159, allocations: 3.881 MB / 1.132 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/1.159, allocations: 1.562 kB / 1.132 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.935e-06/1.159, allocations: 3.938 kB / 1.132 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001593/1.159, allocations: 0 / 1.132 GB, free: 13.44 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.009552/1.169, allocations: 2.87 MB / 1.135 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.169, allocations: 9.75 kB / 1.135 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/1.179, allocations: 1.102 MB / 1.136 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006935/1.186, allocations: 2.382 MB / 1.139 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/1.186, allocations: 147 kB / 1.139 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007003/1.187, allocations: 192.5 kB / 1.139 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009633/1.197, allocations: 2.51 MB / 1.141 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-05/1.197, allocations: 8.609 kB / 1.141 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003361/1.197, allocations: 78.44 kB / 1.142 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/1.197, allocations: 49.77 kB / 1.142 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/1.209, allocations: 2.379 MB / 1.144 GB, free: 6.262 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.02828/1.237, allocations: 12.13 MB / 1.156 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/1.253, allocations: 2.345 MB / 1.158 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004396/1.257, allocations: 0.9402 MB / 1.159 GB, free: 10.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00201/1.259, allocations: 1.374 MB / 1.16 GB, free: 8.609 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.199e-05/1.259, allocations: 53.67 kB / 1.16 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002711/1.262, allocations: 228.5 kB / 1.161 GB, free: 8.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 8.136e-06/1.262, allocations: 0 / 1.161 GB, free: 8.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.06724/1.329, allocations: 9.15 MB / 1.17 GB, free: 3.992 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.33, allocations: 169.3 kB / 1.17 GB, free: 3.801 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005587/1.335, allocations: 2.06 MB / 1.172 GB, free: 1.758 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004426/1.336, allocations: 53.7 kB / 1.172 GB, free: 1.699 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001724/1.337, allocations: 1.196 MB / 1.173 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007978/1.338, allocations: 385.6 kB / 1.173 GB, free: 124 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/1.338, allocations: 39.94 kB / 1.173 GB, free: 84 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000232/1.339, allocations: 357.9 kB / 1.174 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004806/1.343, allocations: 0.894 MB / 1.175 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00539/1.349, allocations: 1.304 MB / 1.176 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005/1.354, allocations: 0.99 MB / 1.177 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/1.354, allocations: 4 kB / 1.177 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01607/1.37, allocations: 3.009 MB / 1.18 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003574/1.371, allocations: 379.8 kB / 1.18 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/1.371, allocations: 8 kB / 1.18 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/1.382, allocations: 1.436 MB / 1.181 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/1.385, allocations: 327.5 kB / 1.182 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/1.41, allocations: 6.087 MB / 1.188 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/1.415, allocations: 384.8 kB / 1.188 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000543/1.416, allocations: 71.95 kB / 1.188 GB, free: 400 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.416, allocations: 4 kB / 1.188 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01154/1.428, allocations: 2.37 MB / 1.191 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/1.428, allocations: 8 kB / 1.191 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005193/1.433, allocations: 0.6817 MB / 1.191 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003528/1.437, allocations: 395.4 kB / 1.192 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/1.46, allocations: 6.762 MB / 1.198 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005282/1.465, allocations: 331.4 kB / 1.198 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005184/1.466, allocations: 67.97 kB / 1.199 GB, free: 5.52 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.002307/1.468, allocations: 0.614 MB / 1.199 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008925/1.469, allocations: 233.1 kB / 1.199 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.481, allocations: 2.507 MB / 1.202 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.167e-05/1.481, allocations: 27.94 kB / 1.202 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.481, allocations: 0 / 1.202 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01045/1.492, allocations: 2.349 MB / 1.204 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/1.514, allocations: 5.123 MB / 1.209 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/1.514, allocations: 4 kB / 1.209 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/1.517, allocations: 259.8 kB / 1.209 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006403/1.524, allocations: 0.8275 MB / 1.21 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003577/1.524, allocations: 35.97 kB / 1.21 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/1.528, allocations: 1.489 MB / 1.212 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.528, allocations: 0 / 1.212 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/1.545, allocations: 3.546 MB / 1.215 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/1.547, allocations: 0.5277 MB / 1.216 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009245/1.548, allocations: 24 kB / 1.216 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004804/1.553, allocations: 314 kB / 1.216 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/1.553, allocations: 80.78 kB / 1.216 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/1.554, allocations: 47.97 kB / 1.216 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004421/1.558, allocations: 1.399 MB / 1.217 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.22e-07/1.558, allocations: 0 / 1.217 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007756/1.566, allocations: 1.14 MB / 1.219 GB, free: 0.7891 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.001744/1.568, allocations: 0.5078 MB / 1.219 GB, free: 332 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01745/1.585, allocations: 3.822 MB / 1.223 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.585, allocations: 0 / 1.223 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004981/1.59, allocations: 0.9919 MB / 1.224 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01081/1.601, allocations: 1.149 MB / 1.225 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/1.624, allocations: 5.77 MB / 1.231 GB, free: 4.566 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/1.626, allocations: 1.622 MB / 1.232 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004263/1.63, allocations: 499.9 kB / 1.233 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.631, allocations: 175.3 kB / 1.233 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of SimCode: time 1.463e-06/1.631, allocations: 0 / 1.233 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of Templates: time 0.1553/1.787, allocations: 55.3 MB / 1.287 GB, free: 11.42 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)