Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005792/0.0005796, allocations: 11.94 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2187, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1011/0.3198, allocations: 106.7 MB / 0.8915 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.6325/0.9524, allocations: 24.69 MB / 0.9156 GB, free: 28.65 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005952/0.9584, allocations: 111.5 kB / 0.9157 GB, free: 28.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004238/0.9627, allocations: 0.854 MB / 0.9166 GB, free: 28.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.9753, allocations: 2.766 MB / 0.9193 GB, free: 28.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009145/0.9844, allocations: 2.197 MB / 0.9214 GB, free: 28.51 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01572/1, allocations: 8.095 MB / 0.9293 GB, free: 28.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007577/1.008, allocations: 2.04 MB / 0.9313 GB, free: 28.24 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01/1.018, allocations: 2.381 MB / 0.9336 GB, free: 28.22 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00725/1.025, allocations: 1.925 MB / 0.9355 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/1.026, allocations: 103.3 kB / 0.9356 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005829/1.032, allocations: 1.034 MB / 0.9366 GB, free: 27.74 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/1.033, allocations: 470.2 kB / 0.9371 GB, free: 27.62 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002159/1.035, allocations: 0.628 MB / 0.9377 GB, free: 27.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006334/1.042, allocations: 3.891 MB / 0.9415 GB, free: 27.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/1.042, allocations: 4 kB / 0.9415 GB, free: 27.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.786e-06/1.042, allocations: 0 / 0.9415 GB, free: 27.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001305/1.042, allocations: 0 / 0.9415 GB, free: 27.23 MB / 0.7169 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.006927/1.049, allocations: 2.861 MB / 0.9443 GB, free: 25.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.049, allocations: 9.719 kB / 0.9443 GB, free: 25.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/1.054, allocations: 1.1 MB / 0.9454 GB, free: 25.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/1.059, allocations: 2.381 MB / 0.9477 GB, free: 25.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/1.059, allocations: 146.7 kB / 0.9478 GB, free: 25.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/1.059, allocations: 194.6 kB / 0.948 GB, free: 25.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005686/1.065, allocations: 2.514 MB / 0.9505 GB, free: 24.69 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/1.065, allocations: 6.688 kB / 0.9505 GB, free: 24.69 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/1.065, allocations: 84.61 kB / 0.9506 GB, free: 24.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/1.065, allocations: 47.62 kB / 0.9506 GB, free: 24.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005944/1.071, allocations: 2.369 MB / 0.9529 GB, free: 24.61 MB / 0.7169 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.01949/1.091, allocations: 12.14 MB / 0.9648 GB, free: 17.01 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005757/1.097, allocations: 2.112 MB / 0.9668 GB, free: 16.55 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/1.099, allocations: 0.9424 MB / 0.9678 GB, free: 16.38 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/1.1, allocations: 1.38 MB / 0.9691 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/1.1, allocations: 41.78 kB / 0.9691 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00209/1.102, allocations: 232.1 kB / 0.9694 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 4.438e-06/1.102, allocations: 0 / 0.9694 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.0321/1.134, allocations: 9.155 MB / 0.9783 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.134, allocations: 169.2 kB / 0.9785 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003608/1.138, allocations: 2.062 MB / 0.9805 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003392/1.138, allocations: 49.14 kB / 0.9805 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000876/1.139, allocations: 1.192 MB / 0.9817 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/1.139, allocations: 394.3 kB / 0.9821 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/1.14, allocations: 24.28 kB / 0.9821 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.14, allocations: 362.7 kB / 0.9824 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/1.142, allocations: 0.8977 MB / 0.9833 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/1.144, allocations: 1.31 MB / 0.9846 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/1.146, allocations: 0.9874 MB / 0.9856 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.146, allocations: 3.312 kB / 0.9856 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008578/1.155, allocations: 2.999 MB / 0.9885 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/1.155, allocations: 372.2 kB / 0.9888 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.155, allocations: 14.31 kB / 0.9889 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005387/1.161, allocations: 1.437 MB / 0.9903 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.162, allocations: 331.8 kB / 0.9906 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.174, allocations: 6.079 MB / 0.9965 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003928/1.178, allocations: 381.3 kB / 0.9969 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/1.178, allocations: 76.08 kB / 0.9969 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.178, allocations: 4 kB / 0.9969 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005163/1.183, allocations: 2.366 MB / 0.9993 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.183, allocations: 8 kB / 0.9993 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/1.186, allocations: 0.6886 MB / 0.9999 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/1.187, allocations: 396 kB / 1 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.2, allocations: 6.771 MB / 1.007 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003916/1.204, allocations: 339.3 kB / 1.007 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004931/1.205, allocations: 75.92 kB / 1.007 GB, free: 9.754 MB / 0.7325 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.002239/1.207, allocations: 0.6186 MB / 1.008 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009093/1.208, allocations: 229.1 kB / 1.008 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006787/1.215, allocations: 2.515 MB / 1.011 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/1.215, allocations: 15.98 kB / 1.011 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.215, allocations: 3.953 kB / 1.011 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004938/1.22, allocations: 2.345 MB / 1.013 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.234, allocations: 5.132 MB / 1.018 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.234, allocations: 0 / 1.018 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.235, allocations: 267.8 kB / 1.018 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/1.238, allocations: 0.8217 MB / 1.019 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/1.239, allocations: 35.97 kB / 1.019 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/1.241, allocations: 1.49 MB / 1.02 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.241, allocations: 7.938 kB / 1.02 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00872/1.25, allocations: 3.542 MB / 1.024 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.252, allocations: 0.5291 MB / 1.024 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008802/1.253, allocations: 20 kB / 1.024 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.255, allocations: 314.6 kB / 1.025 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/1.255, allocations: 76.84 kB / 1.025 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.256, allocations: 47.97 kB / 1.025 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003227/1.259, allocations: 1.395 MB / 1.026 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.259, allocations: 2.516 kB / 1.026 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006095/1.265, allocations: 1.144 MB / 1.027 GB, free: 5.031 MB / 0.7481 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.001369/1.266, allocations: 0.5028 MB / 1.028 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009579/1.276, allocations: 3.823 MB / 1.032 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.276, allocations: 0 / 1.032 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002475/1.278, allocations: 0.9945 MB / 1.033 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006908/1.285, allocations: 1.158 MB / 1.034 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/1.3, allocations: 5.76 MB / 1.039 GB, free: 8.82 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/1.302, allocations: 1.622 MB / 1.041 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003696/1.305, allocations: 491.1 kB / 1.041 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008162/1.306, allocations: 171.4 kB / 1.042 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of SimCode: time 1.623e-06/1.306, allocations: 0 / 1.042 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of Templates: time 0.09013/1.396, allocations: 55.32 MB / 1.096 GB, free: 15.98 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1) Environment - environmentSimulation: