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.6/1.6, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001187/0.001187, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.805/1.805, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008732/0.0008732, allocations: 92.47 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.745e-05, allocations: 4 kB / 0.8517 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7655, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.915, allocations: 446.3 MB / 1.4 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.916, allocations: 94 kB / 1.4 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.139/6.055, allocations: 1.272 GB / 2.672 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.352e-06/6.055, allocations: 0 / 2.672 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003714/6.055, allocations: 79.97 kB / 2.672 GB, free: 13.63 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.008288/6.064, allocations: 2.727 MB / 2.675 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/6.064, allocations: 12.02 kB / 2.675 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/6.07, allocations: 1.009 MB / 2.676 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008825/6.078, allocations: 2.919 MB / 2.679 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/6.079, allocations: 60 kB / 2.679 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000618/6.079, allocations: 123.8 kB / 2.679 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00379/6.083, allocations: 1.581 MB / 2.681 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/6.087, allocations: 1.872 MB / 2.682 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/6.087, allocations: 4 kB / 2.682 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/6.087, allocations: 4 kB / 2.682 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.571e-05/6.087, allocations: 48 kB / 2.682 GB, free: 3.062 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.01893/6.106, allocations: 11.79 MB / 2.694 GB, free: 6.453 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/6.11, allocations: 1.4 MB / 2.695 GB, free: 5.047 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/6.111, allocations: 0.6613 MB / 2.696 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/6.112, allocations: 1.366 MB / 2.697 GB, free: 2.715 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/6.112, allocations: 49.5 kB / 2.697 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001876/6.114, allocations: 234.9 kB / 2.698 GB, free: 2.43 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 4.228e-06/6.114, allocations: 4 kB / 2.698 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.7661/6.88, allocations: 3.441 MB / 2.701 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/6.88, allocations: 168.6 kB / 2.701 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003705/6.884, allocations: 1.557 MB / 2.703 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00046/6.885, allocations: 31.84 kB / 2.703 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/6.886, allocations: 1.201 MB / 2.704 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004641/6.886, allocations: 364.8 kB / 2.704 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/6.886, allocations: 0.5312 kB / 2.704 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001337/6.886, allocations: 363.2 kB / 2.705 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/6.888, allocations: 0.5381 MB / 2.705 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/6.889, allocations: 1.01 MB / 2.706 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/6.891, allocations: 0.7208 MB / 2.707 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/6.891, allocations: 2.562 kB / 2.707 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00781/6.899, allocations: 2.391 MB / 2.709 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009601/6.9, allocations: 3.709 MB / 2.713 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/6.9, allocations: 11.25 kB / 2.713 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/6.903, allocations: 0.8506 MB / 2.714 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/6.905, allocations: 367.4 kB / 2.714 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009975/6.915, allocations: 5.287 MB / 2.719 GB, free: 98.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004765/6.92, allocations: 372.7 kB / 2.719 GB, free: 98.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/6.92, allocations: 76.83 kB / 2.719 GB, free: 98.82 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/6.92, allocations: 8.297 kB / 2.719 GB, free: 98.82 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007412/6.928, allocations: 2.015 MB / 2.721 GB, free: 98.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/6.928, allocations: 11.41 kB / 2.721 GB, free: 98.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/6.93, allocations: 0.5718 MB / 2.722 GB, free: 98.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/6.932, allocations: 397.5 kB / 2.722 GB, free: 98.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/6.942, allocations: 6.958 MB / 2.729 GB, free: 94.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004242/6.946, allocations: 319.3 kB / 2.73 GB, free: 94.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/6.947, allocations: 72.39 kB / 2.73 GB, free: 94.84 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 (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006579/6.947, allocations: 136.8 kB / 2.73 GB, free: 94.73 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007081/6.948, allocations: 220.6 kB / 2.73 GB, free: 94.62 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/6.952, allocations: 1.778 MB / 2.732 GB, free: 94.49 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/6.952, allocations: 22.08 kB / 2.732 GB, free: 94.49 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/6.952, allocations: 0 / 2.732 GB, free: 94.49 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002443/6.955, allocations: 1.659 MB / 2.733 GB, free: 94 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007095/6.962, allocations: 3.979 MB / 2.737 GB, free: 93.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/6.962, allocations: 3.688 kB / 2.737 GB, free: 93.56 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/6.963, allocations: 296.5 kB / 2.737 GB, free: 93.56 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/6.965, allocations: 404.2 kB / 2.738 GB, free: 93.54 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/6.965, allocations: 26.25 kB / 2.738 GB, free: 93.54 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/6.966, allocations: 1.543 MB / 2.739 GB, free: 92.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/6.966, allocations: 1.969 kB / 2.739 GB, free: 92.49 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/6.97, allocations: 2.501 MB / 2.742 GB, free: 92.06 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/6.972, allocations: 0.5079 MB / 2.742 GB, free: 91.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/6.972, allocations: 2.719 kB / 2.742 GB, free: 91.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/6.974, allocations: 303.2 kB / 2.743 GB, free: 91.85 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/6.974, allocations: 71.27 kB / 2.743 GB, free: 91.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/6.974, allocations: 53.52 kB / 2.743 GB, free: 91.84 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002032/6.976, allocations: 1.159 MB / 2.744 GB, free: 91.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.233e-06/6.976, allocations: 3.438 kB / 2.744 GB, free: 91.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006882/6.983, allocations: 1.274 MB / 2.745 GB, free: 91.7 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 (101): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002596/6.986, allocations: 1.132 MB / 2.746 GB, free: 91.46 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005515/6.991, allocations: 2.898 MB / 2.749 GB, free: 90.97 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/6.992, allocations: 0 / 2.749 GB, free: 90.97 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/6.993, allocations: 0.6755 MB / 2.75 GB, free: 90.97 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/6.999, allocations: 1.039 MB / 2.751 GB, free: 90.96 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/7.01, allocations: 3.635 MB / 2.754 GB, free: 90.09 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/7.011, allocations: 1.679 MB / 2.756 GB, free: 89.36 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003988/7.015, allocations: 0.5784 MB / 2.756 GB, free: 89.34 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/7.016, allocations: 140.3 kB / 2.757 GB, free: 89.33 MB / 0.9792 GB Notification: Performance of SimCode: time 1.553e-06/7.016, allocations: 0 / 2.757 GB, free: 89.33 MB / 0.9792 GB Notification: Performance of Templates: time 0.1033/7.119, allocations: 56.54 MB / 2.812 GB, free: 87.07 MB / 0.9792 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)