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_Cooling.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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.675/2.675, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001355/0.001355, allocations: 178 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.262/2.262, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0008513/0.0008513, allocations: 95.59 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006202/0.0006204, allocations: 10.5 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2023, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.8328/1.035, allocations: 106.7 MB / 1.083 GB, free: 22.32 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06949/1.105, allocations: 24.68 MB / 1.107 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00803/1.113, allocations: 117.1 kB / 1.107 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006984/1.12, allocations: 0.8569 MB / 1.108 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01858/1.138, allocations: 2.758 MB / 1.11 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01614/1.155, allocations: 2.203 MB / 1.112 GB, free: 21.11 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01605/1.171, allocations: 8.095 MB / 1.12 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005003/1.176, allocations: 2.03 MB / 1.122 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008148/1.184, allocations: 2.382 MB / 1.125 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00535/1.189, allocations: 1.928 MB / 1.127 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001049/1.191, allocations: 105.5 kB / 1.127 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00611/1.197, allocations: 1.035 MB / 1.128 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/1.198, allocations: 472.2 kB / 1.128 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001742/1.2, allocations: 0.6281 MB / 1.129 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007656/1.208, allocations: 3.887 MB / 1.133 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.208, allocations: 3.953 kB / 1.133 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.815e-06/1.208, allocations: 0 / 1.133 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000155/1.208, allocations: 0 / 1.133 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.01003/1.218, allocations: 2.865 MB / 1.135 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.218, allocations: 8.906 kB / 1.135 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/1.228, allocations: 1.106 MB / 1.136 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006769/1.235, allocations: 2.38 MB / 1.139 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/1.235, allocations: 150.4 kB / 1.139 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/1.236, allocations: 191.6 kB / 1.139 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009273/1.245, allocations: 2.515 MB / 1.142 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.9e-05/1.245, allocations: 2.031 kB / 1.142 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003283/1.246, allocations: 81.72 kB / 1.142 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-05/1.246, allocations: 53.86 kB / 1.142 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/1.257, allocations: 2.373 MB / 1.144 GB, free: 6.254 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.02954/1.286, allocations: 12.14 MB / 1.156 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/1.303, allocations: 2.108 MB / 1.158 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004347/1.308, allocations: 0.9404 MB / 1.159 GB, free: 10.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002051/1.31, allocations: 1.377 MB / 1.16 GB, free: 8.695 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.134e-05/1.31, allocations: 49.78 kB / 1.16 GB, free: 8.645 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00255/1.313, allocations: 224.3 kB / 1.16 GB, free: 8.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 8.806e-06/1.313, allocations: 0 / 1.16 GB, free: 8.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.06754/1.38, allocations: 9.154 MB / 1.169 GB, free: 4.082 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.38, allocations: 173.6 kB / 1.17 GB, free: 3.887 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005626/1.386, allocations: 2.058 MB / 1.172 GB, free: 1.969 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004568/1.387, allocations: 49.7 kB / 1.172 GB, free: 1.914 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/1.388, allocations: 1.191 MB / 1.173 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008132/1.389, allocations: 393.2 kB / 1.173 GB, free: 340 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/1.389, allocations: 28 kB / 1.173 GB, free: 312 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002352/1.39, allocations: 357.9 kB / 1.173 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004733/1.394, allocations: 0.8979 MB / 1.174 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/1.4, allocations: 1.304 MB / 1.176 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005017/1.405, allocations: 0.99 MB / 1.177 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/1.405, allocations: 4 kB / 1.177 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01631/1.421, allocations: 3.01 MB / 1.18 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000362/1.422, allocations: 376 kB / 1.18 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/1.422, allocations: 8 kB / 1.18 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/1.434, allocations: 1.437 MB / 1.181 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/1.437, allocations: 333.2 kB / 1.182 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/1.461, allocations: 6.096 MB / 1.188 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005809/1.467, allocations: 375.3 kB / 1.188 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000533/1.467, allocations: 75.95 kB / 1.188 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.467, allocations: 8 kB / 1.188 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01146/1.479, allocations: 2.363 MB / 1.19 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/1.479, allocations: 12.09 kB / 1.19 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005149/1.484, allocations: 0.681 MB / 1.191 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/1.488, allocations: 399.4 kB / 1.191 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/1.511, allocations: 6.744 MB / 1.198 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005236/1.516, allocations: 335.4 kB / 1.198 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004766/1.517, allocations: 72.06 kB / 1.198 GB, free: 5.734 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.002177/1.519, allocations: 0.614 MB / 1.199 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008544/1.52, allocations: 229.1 kB / 1.199 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.532, allocations: 2.524 MB / 1.202 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-05/1.532, allocations: 19.94 kB / 1.202 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.532, allocations: 0 / 1.202 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01019/1.542, allocations: 2.353 MB / 1.204 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02215/1.564, allocations: 5.117 MB / 1.209 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/1.565, allocations: 4.094 kB / 1.209 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.567, allocations: 259.7 kB / 1.209 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006494/1.574, allocations: 0.8341 MB / 1.21 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003548/1.574, allocations: 39.92 kB / 1.21 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/1.579, allocations: 1.489 MB / 1.212 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.579, allocations: 0 / 1.212 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.595, allocations: 3.559 MB / 1.215 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/1.597, allocations: 0.5174 MB / 1.216 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008186/1.598, allocations: 28 kB / 1.216 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004671/1.603, allocations: 303.5 kB / 1.216 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/1.603, allocations: 88.83 kB / 1.216 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/1.603, allocations: 47.97 kB / 1.216 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004195/1.608, allocations: 1.384 MB / 1.217 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.11e-07/1.608, allocations: 0 / 1.217 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00742/1.615, allocations: 1.152 MB / 1.218 GB, free: 0.9883 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.001676/1.617, allocations: 0.4986 MB / 1.219 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01828/1.635, allocations: 3.831 MB / 1.223 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.635, allocations: 0 / 1.223 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.005017/1.64, allocations: 0.9958 MB / 1.224 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/1.651, allocations: 1.153 MB / 1.225 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/1.673, allocations: 5.776 MB / 1.23 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/1.675, allocations: 1.618 MB / 1.232 GB, free: 3.098 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0041/1.68, allocations: 486.5 kB / 1.232 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.681, allocations: 171.4 kB / 1.233 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of SimCode: time 1.253e-06/1.681, allocations: 4 kB / 1.233 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of Templates: time 0.1549/1.836, allocations: 55.3 MB / 1.287 GB, free: 11.62 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)