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_Cooling.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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.796/1.796, allocations: 288.4 MB / 303.4 MB, free: 8.191 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.001126/0.001127, allocations: 191.2 kB / 372 MB, free: 10.28 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.711/1.711, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007682/0.0007683, allocations: 90.41 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004029, allocations: 15 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.5403/0.7491, allocations: 106.7 MB / 1.084 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0362/0.7854, allocations: 24.69 MB / 1.108 GB, free: 22.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004519/0.7899, allocations: 114 kB / 1.108 GB, free: 22.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.7932, allocations: 0.8574 MB / 1.109 GB, free: 22.67 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.8035, allocations: 2.759 MB / 1.112 GB, free: 22.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.8137, allocations: 2.209 MB / 1.114 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01741/0.8312, allocations: 8.09 MB / 1.122 GB, free: 18.14 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005153/0.8364, allocations: 2.035 MB / 1.124 GB, free: 17.42 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007183/0.8436, allocations: 2.381 MB / 1.126 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004408/0.8481, allocations: 1.925 MB / 1.128 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.8487, allocations: 107.2 kB / 1.128 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.8527, allocations: 1.039 MB / 1.129 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005497/0.8533, allocations: 467.5 kB / 1.129 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.8546, allocations: 0.6273 MB / 1.13 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.8595, allocations: 3.888 MB / 1.134 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8595, allocations: 0 / 1.134 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.8595, allocations: 0 / 1.134 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.743e-05/0.8596, allocations: 0 / 1.134 GB, free: 12.83 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.006032/0.8657, allocations: 2.871 MB / 1.137 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.8657, allocations: 10.56 kB / 1.137 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/0.8715, allocations: 1.101 MB / 1.138 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.8759, allocations: 2.378 MB / 1.14 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.8761, allocations: 145.4 kB / 1.14 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/0.8764, allocations: 192.7 kB / 1.14 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/0.882, allocations: 2.512 MB / 1.143 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.202e-05/0.8821, allocations: 6.25 kB / 1.143 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.8823, allocations: 81.05 kB / 1.143 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.86e-05/0.8824, allocations: 47.12 kB / 1.143 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006818/0.8893, allocations: 2.382 MB / 1.145 GB, free: 5.648 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.02287/0.9122, allocations: 12.13 MB / 1.157 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006801/0.919, allocations: 2.105 MB / 1.159 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/0.9214, allocations: 0.9395 MB / 1.16 GB, free: 9.656 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.9227, allocations: 1.381 MB / 1.161 GB, free: 8.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.9228, allocations: 48.75 kB / 1.161 GB, free: 8.039 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001846/0.9247, allocations: 227.7 kB / 1.162 GB, free: 7.914 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 9.608e-06/0.9247, allocations: 0 / 1.162 GB, free: 7.914 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03852/0.9632, allocations: 9.156 MB / 1.171 GB, free: 3.453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.621e-05/0.9634, allocations: 171.2 kB / 1.171 GB, free: 3.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003974/0.9674, allocations: 2.058 MB / 1.173 GB, free: 1.172 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.9676, allocations: 53.7 kB / 1.173 GB, free: 1.113 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.9687, allocations: 1.189 MB / 1.174 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004514/0.9691, allocations: 390.5 kB / 1.174 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.9693, allocations: 32 kB / 1.174 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9695, allocations: 357.9 kB / 1.175 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/0.9721, allocations: 0.8979 MB / 1.176 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/0.9751, allocations: 1.304 MB / 1.177 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/0.9778, allocations: 0.9861 MB / 1.178 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.9779, allocations: 4 kB / 1.178 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008899/0.9868, allocations: 3.006 MB / 1.181 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002912/0.9871, allocations: 381.1 kB / 1.181 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.9871, allocations: 8 kB / 1.181 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006424/0.9936, allocations: 1.44 MB / 1.183 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.9952, allocations: 331.5 kB / 1.183 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.01, allocations: 6.088 MB / 1.189 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/1.014, allocations: 383.3 kB / 1.189 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/1.014, allocations: 75.95 kB / 1.189 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.014, allocations: 6.625 kB / 1.189 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006771/1.021, allocations: 2.359 MB / 1.192 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/1.021, allocations: 12 kB / 1.192 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002888/1.024, allocations: 0.6747 MB / 1.192 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.026, allocations: 395.5 kB / 1.193 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.039, allocations: 6.772 MB / 1.199 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/1.043, allocations: 331.4 kB / 1.2 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/1.043, allocations: 74.7 kB / 1.2 GB, free: 4.938 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.001689/1.045, allocations: 0.6147 MB / 1.2 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007724/1.046, allocations: 233.1 kB / 1.2 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007204/1.053, allocations: 2.513 MB / 1.203 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.919e-05/1.053, allocations: 23.94 kB / 1.203 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.053, allocations: 4 kB / 1.203 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005408/1.059, allocations: 2.349 MB / 1.205 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/1.074, allocations: 5.124 MB / 1.21 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.074, allocations: 4 kB / 1.21 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/1.075, allocations: 259.8 kB / 1.21 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/1.079, allocations: 0.8283 MB / 1.211 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/1.079, allocations: 35.92 kB / 1.211 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/1.082, allocations: 1.493 MB / 1.213 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.082, allocations: 0 / 1.213 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009447/1.091, allocations: 3.548 MB / 1.216 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/1.093, allocations: 0.5174 MB / 1.217 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009138/1.094, allocations: 32.06 kB / 1.217 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.097, allocations: 303.4 kB / 1.217 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/1.098, allocations: 84.83 kB / 1.217 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/1.098, allocations: 47.97 kB / 1.217 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003468/1.101, allocations: 1.391 MB / 1.219 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.11e-07/1.101, allocations: 0 / 1.219 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006813/1.108, allocations: 1.148 MB / 1.22 GB, free: 204 kB / 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.001488/1.11, allocations: 0.5128 MB / 1.22 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.121, allocations: 3.822 MB / 1.224 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/1.121, allocations: 4.25 kB / 1.224 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002948/1.124, allocations: 0.9909 MB / 1.225 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008593/1.132, allocations: 1.155 MB / 1.226 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.148, allocations: 5.766 MB / 1.232 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/1.151, allocations: 1.618 MB / 1.233 GB, free: 2.324 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003631/1.154, allocations: 0.4887 MB / 1.234 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008382/1.155, allocations: 178.1 kB / 1.234 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of SimCode: time 1.072e-06/1.155, allocations: 0 / 1.234 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of Templates: time 0.1016/1.257, allocations: 55.31 MB / 1.288 GB, free: 10.86 MB / 0.823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)