Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001223/0.001223, allocations: 183.9 kB / 371.6 MB, free: 3.41 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.009/2.009, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009991/0.0009992, allocations: 94.88 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.701e-05/4.704e-05, allocations: 8 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3523, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.149/2.502, allocations: 447.6 MB / 1.417 GB, free: 253.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/2.502, allocations: 93.67 kB / 1.417 GB, free: 253.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.842/7.344, allocations: 1.277 GB / 2.694 GB, free: 92.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.585e-06/7.344, allocations: 3.938 kB / 2.694 GB, free: 92.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004265/7.345, allocations: 71.2 kB / 2.694 GB, free: 92.79 MB / 0.9636 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.01025/7.355, allocations: 2.733 MB / 2.697 GB, free: 91.22 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/7.355, allocations: 9.156 kB / 2.697 GB, free: 91.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006433/7.361, allocations: 1.008 MB / 2.698 GB, free: 91.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009324/7.371, allocations: 2.927 MB / 2.701 GB, free: 89.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/7.371, allocations: 150.7 kB / 2.701 GB, free: 89.51 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006845/7.372, allocations: 198.3 kB / 2.701 GB, free: 89.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/7.376, allocations: 2.134 MB / 2.703 GB, free: 88.39 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.427e-05/7.376, allocations: 11.22 kB / 2.703 GB, free: 88.38 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/7.376, allocations: 78.81 kB / 2.703 GB, free: 88.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-05/7.376, allocations: 50.53 kB / 2.703 GB, free: 88.32 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/7.379, allocations: 1.674 MB / 2.705 GB, free: 87.61 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01951/7.399, allocations: 12.15 MB / 2.717 GB, free: 78.87 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005406/7.404, allocations: 1.643 MB / 2.718 GB, free: 78.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/7.406, allocations: 0.6602 MB / 2.719 GB, free: 78.01 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/7.407, allocations: 1.367 MB / 2.72 GB, free: 76.48 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/7.407, allocations: 43.47 kB / 2.72 GB, free: 76.44 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002249/7.409, allocations: 288.1 kB / 2.721 GB, free: 76.33 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 6.011e-06/7.409, allocations: 0 / 2.721 GB, free: 76.33 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.007362/7.417, allocations: 3.327 MB / 2.724 GB, free: 74.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/7.417, allocations: 176.6 kB / 2.724 GB, free: 74.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/7.42, allocations: 1.788 MB / 2.726 GB, free: 73.64 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/7.42, allocations: 52.98 kB / 2.726 GB, free: 73.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008302/7.421, allocations: 1.207 MB / 2.727 GB, free: 72.65 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/7.421, allocations: 381.2 kB / 2.728 GB, free: 72.36 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/7.421, allocations: 27.81 kB / 2.728 GB, free: 72.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001231/7.421, allocations: 363.5 kB / 2.728 GB, free: 72.01 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009623/7.422, allocations: 0.5596 MB / 2.728 GB, free: 71.75 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/7.423, allocations: 1.04 MB / 2.729 GB, free: 70.92 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/7.424, allocations: 0.6606 MB / 2.73 GB, free: 70.62 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/7.424, allocations: 3.125 kB / 2.73 GB, free: 70.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006604/7.431, allocations: 2.462 MB / 2.733 GB, free: 69.65 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009061/7.432, allocations: 3.737 MB / 2.736 GB, free: 65.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/7.432, allocations: 7.688 kB / 2.736 GB, free: 65.58 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004215/7.436, allocations: 1.128 MB / 2.737 GB, free: 65.08 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/7.438, allocations: 333.3 kB / 2.738 GB, free: 64.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008742/7.447, allocations: 5.282 MB / 2.743 GB, free: 61.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/7.451, allocations: 403.1 kB / 2.743 GB, free: 60.95 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/7.451, allocations: 76.05 kB / 2.743 GB, free: 60.93 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/7.451, allocations: 3.938 kB / 2.743 GB, free: 60.93 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005815/7.457, allocations: 2.108 MB / 2.745 GB, free: 59.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/7.457, allocations: 8.156 kB / 2.745 GB, free: 59.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/7.459, allocations: 0.5918 MB / 2.746 GB, free: 59.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/7.461, allocations: 396 kB / 2.746 GB, free: 59.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009773/7.471, allocations: 6.208 MB / 2.752 GB, free: 54.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003849/7.475, allocations: 347.5 kB / 2.753 GB, free: 54.46 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003195/7.475, allocations: 74.58 kB / 2.753 GB, free: 54.44 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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.0005312/7.475, allocations: 199.3 kB / 2.753 GB, free: 54.27 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005762/7.476, allocations: 230.3 kB / 2.753 GB, free: 54.14 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/7.48, allocations: 1.876 MB / 2.755 GB, free: 53.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/7.48, allocations: 11.66 kB / 2.755 GB, free: 53.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/7.48, allocations: 0 / 2.755 GB, free: 53.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002123/7.482, allocations: 1.709 MB / 2.757 GB, free: 51.99 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008255/7.49, allocations: 4.273 MB / 2.761 GB, free: 49.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/7.49, allocations: 7.875 kB / 2.761 GB, free: 49.14 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/7.491, allocations: 263 kB / 2.761 GB, free: 49.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/7.494, allocations: 0.6493 MB / 2.762 GB, free: 48.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/7.494, allocations: 37.88 kB / 2.762 GB, free: 48.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/7.495, allocations: 1.232 MB / 2.763 GB, free: 47.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/7.495, allocations: 4 kB / 2.763 GB, free: 47.72 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/7.499, allocations: 2.66 MB / 2.766 GB, free: 45.01 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/7.501, allocations: 0.5174 MB / 2.766 GB, free: 44.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007983/7.502, allocations: 24 kB / 2.766 GB, free: 44.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/7.504, allocations: 307.5 kB / 2.766 GB, free: 44.15 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/7.505, allocations: 76.89 kB / 2.766 GB, free: 44.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/7.505, allocations: 51.97 kB / 2.766 GB, free: 44.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002123/7.507, allocations: 1.367 MB / 2.768 GB, free: 42.64 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.7e-07/7.507, allocations: 0 / 2.768 GB, free: 42.64 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005506/7.512, allocations: 1.287 MB / 2.769 GB, free: 41.36 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete 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.002017/7.514, allocations: 1.127 MB / 2.77 GB, free: 40.36 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004874/7.519, allocations: 2.98 MB / 2.773 GB, free: 37.34 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/7.519, allocations: 4 kB / 2.773 GB, free: 37.34 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/7.52, allocations: 0.7021 MB / 2.774 GB, free: 36.64 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005698/7.526, allocations: 1.124 MB / 2.775 GB, free: 35.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009251/7.535, allocations: 3.721 MB / 2.778 GB, free: 31.81 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009738/7.536, allocations: 1.681 MB / 2.78 GB, free: 30.09 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003373/7.54, allocations: 0.5928 MB / 2.781 GB, free: 29.55 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/7.54, allocations: 143.4 kB / 2.781 GB, free: 29.41 MB / 0.9636 GB Notification: Performance of SimCode: time 8.72e-07/7.54, allocations: 0 / 2.781 GB, free: 29.41 MB / 0.9636 GB Notification: Performance of Templates: time 0.801/8.341, allocations: 67.68 MB / 2.847 GB, free: 126.5 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)