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/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_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001125/0.001126, allocations: 179.5 kB / 371.6 MB, free: 3.387 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.025/2.025, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001029/0.001029, allocations: 91.47 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.05e-05/4.053e-05, allocations: 0 / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3535, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.15/2.503, allocations: 447.9 MB / 1.417 GB, free: 289.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/2.504, allocations: 96.05 kB / 1.417 GB, free: 289.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.17/7.673, allocations: 1.277 GB / 2.695 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.844e-06/7.673, allocations: 0 / 2.695 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005285/7.674, allocations: 83.94 kB / 2.695 GB, free: 109.2 MB / 0.9792 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.009269/7.683, allocations: 2.726 MB / 2.698 GB, free: 108 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/7.683, allocations: 14.55 kB / 2.698 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/7.689, allocations: 1.007 MB / 2.698 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0094/7.699, allocations: 2.917 MB / 2.701 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/7.699, allocations: 159.1 kB / 2.701 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009171/7.7, allocations: 199.8 kB / 2.702 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006486/7.706, allocations: 2.132 MB / 2.704 GB, free: 107 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/7.706, allocations: 3.938 kB / 2.704 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/7.707, allocations: 79.34 kB / 2.704 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/7.707, allocations: 50.03 kB / 2.704 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/7.71, allocations: 1.673 MB / 2.706 GB, free: 106.9 MB / 0.9792 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.01861/7.729, allocations: 12.15 MB / 2.717 GB, free: 99.99 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003613/7.733, allocations: 1.42 MB / 2.719 GB, free: 99.45 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009921/7.734, allocations: 0.6652 MB / 2.719 GB, free: 99.15 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/7.735, allocations: 1.373 MB / 2.721 GB, free: 97.63 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/7.735, allocations: 43.53 kB / 2.721 GB, free: 97.59 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002072/7.737, allocations: 279.2 kB / 2.721 GB, free: 97.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 3.737e-06/7.737, allocations: 0 / 2.721 GB, free: 97.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.008187/7.745, allocations: 3.336 MB / 2.724 GB, free: 95.75 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/7.745, allocations: 168.3 kB / 2.725 GB, free: 95.56 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004088/7.749, allocations: 1.79 MB / 2.726 GB, free: 94.81 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005767/7.75, allocations: 49.58 kB / 2.726 GB, free: 94.77 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/7.751, allocations: 1.198 MB / 2.727 GB, free: 93.83 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005979/7.752, allocations: 388.8 kB / 2.728 GB, free: 93.53 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/7.752, allocations: 31.19 kB / 2.728 GB, free: 93.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001798/7.752, allocations: 359.6 kB / 2.728 GB, free: 93.18 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/7.753, allocations: 0.5624 MB / 2.729 GB, free: 92.93 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/7.755, allocations: 1.037 MB / 2.73 GB, free: 92.11 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/7.756, allocations: 0.6605 MB / 2.73 GB, free: 91.82 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/7.756, allocations: 6.781 kB / 2.73 GB, free: 91.82 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007539/7.763, allocations: 2.459 MB / 2.733 GB, free: 90.89 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009395/7.764, allocations: 3.736 MB / 2.736 GB, free: 86.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/7.764, allocations: 9.031 kB / 2.736 GB, free: 86.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00432/7.769, allocations: 1.136 MB / 2.738 GB, free: 86.61 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/7.77, allocations: 331 kB / 2.738 GB, free: 86.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008884/7.779, allocations: 5.283 MB / 2.743 GB, free: 83.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004302/7.784, allocations: 410.2 kB / 2.743 GB, free: 83.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/7.784, allocations: 77.94 kB / 2.744 GB, free: 83.19 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/7.784, allocations: 3.938 kB / 2.744 GB, free: 83.19 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005909/7.79, allocations: 2.111 MB / 2.746 GB, free: 82.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/7.79, allocations: 9.531 kB / 2.746 GB, free: 82.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/7.792, allocations: 0.5917 MB / 2.746 GB, free: 82.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/7.794, allocations: 388.5 kB / 2.747 GB, free: 82.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009437/7.803, allocations: 6.205 MB / 2.753 GB, free: 78.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/7.807, allocations: 353.9 kB / 2.753 GB, free: 77.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005281/7.808, allocations: 71.22 kB / 2.753 GB, free: 77.95 MB / 0.9792 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.0008954/7.809, allocations: 186.6 kB / 2.753 GB, free: 77.78 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000944/7.81, allocations: 231.3 kB / 2.753 GB, free: 77.66 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/7.814, allocations: 1.883 MB / 2.755 GB, free: 76.86 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/7.814, allocations: 18.66 kB / 2.755 GB, free: 76.85 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/7.814, allocations: 0 / 2.755 GB, free: 76.85 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002348/7.817, allocations: 1.703 MB / 2.757 GB, free: 75.85 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008958/7.826, allocations: 4.269 MB / 2.761 GB, free: 73.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/7.826, allocations: 3.875 kB / 2.761 GB, free: 73.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/7.827, allocations: 258.1 kB / 2.761 GB, free: 73.83 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/7.829, allocations: 0.653 MB / 2.762 GB, free: 73.68 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/7.829, allocations: 37.88 kB / 2.762 GB, free: 73.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/7.831, allocations: 1.243 MB / 2.763 GB, free: 72.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/7.831, allocations: 0 / 2.763 GB, free: 72.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006289/7.837, allocations: 2.91 MB / 2.766 GB, free: 71.42 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/7.839, allocations: 0.5201 MB / 2.767 GB, free: 71.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009906/7.84, allocations: 25.75 kB / 2.767 GB, free: 71.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/7.843, allocations: 307.5 kB / 2.767 GB, free: 70.98 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/7.844, allocations: 80.95 kB / 2.767 GB, free: 70.97 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/7.844, allocations: 50.48 kB / 2.767 GB, free: 70.96 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003214/7.847, allocations: 1.367 MB / 2.768 GB, free: 70.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.91e-07/7.847, allocations: 0 / 2.768 GB, free: 70.38 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006767/7.854, allocations: 1.278 MB / 2.77 GB, free: 70.18 MB / 0.9792 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.002428/7.856, allocations: 1.135 MB / 2.771 GB, free: 69.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005831/7.862, allocations: 2.974 MB / 2.774 GB, free: 68.25 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/7.862, allocations: 6.828 kB / 2.774 GB, free: 68.25 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/7.863, allocations: 0.7047 MB / 2.774 GB, free: 67.97 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006485/7.87, allocations: 1.138 MB / 2.775 GB, free: 67.71 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/7.882, allocations: 3.713 MB / 2.779 GB, free: 66.23 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/7.884, allocations: 1.68 MB / 2.781 GB, free: 65.43 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004549/7.888, allocations: 0.6029 MB / 2.781 GB, free: 65.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/7.889, allocations: 135.2 kB / 2.781 GB, free: 65.29 MB / 0.9792 GB Notification: Performance of SimCode: time 1.853e-06/7.889, allocations: 0 / 2.781 GB, free: 65.29 MB / 0.9792 GB Notification: Performance of Templates: time 0.1023/7.991, allocations: 67.68 MB / 2.848 GB, free: 8.398 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (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)