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.535/1.535, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001043/0.001043, allocations: 180.8 kB / 366.7 MB, free: 1.66 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.441/1.441, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008831/0.0008831, allocations: 88.31 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.83e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.6521, allocations: 116.3 MB / 0.9732 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9583/1.61, allocations: 447 MB / 1.41 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.611, allocations: 91.89 kB / 1.41 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.69/5.301, allocations: 1.272 GB / 2.682 GB, free: 35.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/5.301, allocations: 0 / 2.682 GB, free: 35.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002443/5.301, allocations: 80.22 kB / 2.682 GB, free: 35.53 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.004399/5.306, allocations: 2.727 MB / 2.684 GB, free: 32.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/5.306, allocations: 13.89 kB / 2.684 GB, free: 32.76 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/5.31, allocations: 1.007 MB / 2.685 GB, free: 31.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/5.314, allocations: 2.915 MB / 2.688 GB, free: 28.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/5.314, allocations: 59.94 kB / 2.688 GB, free: 28.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/5.315, allocations: 123.9 kB / 2.688 GB, free: 28.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002411/5.317, allocations: 1.585 MB / 2.69 GB, free: 27.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/5.32, allocations: 1.869 MB / 2.692 GB, free: 25.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/5.32, allocations: 3.938 kB / 2.692 GB, free: 25.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/5.32, allocations: 4 kB / 2.692 GB, free: 25.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/5.32, allocations: 55.98 kB / 2.692 GB, free: 25.05 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.01173/5.332, allocations: 11.78 MB / 2.703 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/5.336, allocations: 1.626 MB / 2.705 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008654/5.337, allocations: 0.6635 MB / 2.705 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/5.338, allocations: 1.37 MB / 2.707 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/5.338, allocations: 43.88 kB / 2.707 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001341/5.34, allocations: 230.9 kB / 2.707 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 3.506e-06/5.34, allocations: 3.938 kB / 2.707 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.006953/5.347, allocations: 3.458 MB / 2.71 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/5.347, allocations: 167.5 kB / 2.711 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/5.349, allocations: 1.563 MB / 2.712 GB, free: 3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/5.349, allocations: 25.7 kB / 2.712 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/5.349, allocations: 1.203 MB / 2.713 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/5.35, allocations: 366.5 kB / 2.714 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/5.35, allocations: 0 / 2.714 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/5.35, allocations: 357.9 kB / 2.714 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/5.351, allocations: 0.5429 MB / 2.715 GB, free: 500 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/5.352, allocations: 1.003 MB / 2.716 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/5.353, allocations: 0.7188 MB / 2.716 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/5.353, allocations: 4 kB / 2.716 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006742/5.36, allocations: 2.385 MB / 2.719 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001378/5.361, allocations: 3.699 MB / 2.722 GB, free: 8.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/5.361, allocations: 11.94 kB / 2.722 GB, free: 8.078 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/5.365, allocations: 0.8553 MB / 2.723 GB, free: 7.215 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/5.366, allocations: 367.5 kB / 2.723 GB, free: 6.855 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008928/5.375, allocations: 5.296 MB / 2.729 GB, free: 1.391 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/5.378, allocations: 363.4 kB / 2.729 GB, free: 1.035 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/5.379, allocations: 75.95 kB / 2.729 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/5.379, allocations: 4 kB / 2.729 GB, free: 0.957 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5409/5.919, allocations: 2.014 MB / 2.731 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/5.92, allocations: 9.875 kB / 2.731 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/5.922, allocations: 0.5742 MB / 2.732 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/5.924, allocations: 394.4 kB / 2.732 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/5.934, allocations: 6.964 MB / 2.739 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/5.937, allocations: 323.3 kB / 2.739 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/5.937, allocations: 72.03 kB / 2.739 GB, free: 103 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.0003831/5.938, allocations: 133.5 kB / 2.739 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/5.938, allocations: 219.5 kB / 2.739 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/5.942, allocations: 1.784 MB / 2.741 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/5.942, allocations: 13.84 kB / 2.741 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/5.942, allocations: 0.9375 kB / 2.741 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00248/5.945, allocations: 1.656 MB / 2.743 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006553/5.951, allocations: 3.995 MB / 2.747 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/5.951, allocations: 4.453 kB / 2.747 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/5.953, allocations: 291 kB / 2.747 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/5.954, allocations: 404.3 kB / 2.747 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/5.954, allocations: 25.97 kB / 2.747 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/5.955, allocations: 1.54 MB / 2.749 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/5.955, allocations: 1.312 kB / 2.749 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/5.959, allocations: 2.504 MB / 2.751 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/5.961, allocations: 0.507 MB / 2.752 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/5.961, allocations: 3.969 kB / 2.752 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/5.963, allocations: 301 kB / 2.752 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/5.963, allocations: 74.09 kB / 2.752 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/5.963, allocations: 51.36 kB / 2.752 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002078/5.966, allocations: 1.166 MB / 2.753 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/5.966, allocations: 0 / 2.753 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005187/5.971, allocations: 1.264 MB / 2.755 GB, free: 100.2 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.001549/5.972, allocations: 1.147 MB / 2.756 GB, free: 99.93 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004037/5.976, allocations: 2.895 MB / 2.759 GB, free: 99.44 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/5.976, allocations: 0 / 2.759 GB, free: 99.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009012/5.977, allocations: 0.6725 MB / 2.759 GB, free: 99.44 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004559/5.982, allocations: 1.038 MB / 2.76 GB, free: 99.43 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008423/5.99, allocations: 3.64 MB / 2.764 GB, free: 98.56 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/5.991, allocations: 1.675 MB / 2.765 GB, free: 97.82 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002879/5.994, allocations: 0.5799 MB / 2.766 GB, free: 97.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/5.995, allocations: 137.8 kB / 2.766 GB, free: 97.8 MB / 0.9792 GB Notification: Performance of SimCode: time 4.61e-07/5.995, allocations: 0 / 2.766 GB, free: 97.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.08489/6.08, allocations: 56.54 MB / 2.821 GB, free: 95.64 MB / 0.9792 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)