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: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.981/1.981, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.00125/0.00125, allocations: 179.2 kB / 371.6 MB, free: 3.371 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.939/1.939, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001021/0.001021, allocations: 86.34 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.632e-05/4.634e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3493, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.884/3.233, allocations: 447.6 MB / 1.417 GB, free: 253.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/3.233, allocations: 93.28 kB / 1.417 GB, free: 253.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.15/8.383, allocations: 1.277 GB / 2.694 GB, free: 92.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.187e-06/8.383, allocations: 1.469 kB / 2.694 GB, free: 92.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007036/8.384, allocations: 76.69 kB / 2.694 GB, free: 92.41 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.01097/8.395, allocations: 2.738 MB / 2.697 GB, free: 90.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/8.395, allocations: 13.44 kB / 2.697 GB, free: 90.84 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00119/8.396, allocations: 260 kB / 2.697 GB, free: 90.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006278/8.403, allocations: 1.003 MB / 2.698 GB, free: 90.51 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00946/8.412, allocations: 2.918 MB / 2.701 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/8.412, allocations: 149.9 kB / 2.701 GB, free: 88.98 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009869/8.413, allocations: 207.5 kB / 2.701 GB, free: 88.91 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/8.418, allocations: 2.134 MB / 2.704 GB, free: 87.85 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.004e-05/8.418, allocations: 10.81 kB / 2.704 GB, free: 87.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/8.418, allocations: 78.34 kB / 2.704 GB, free: 87.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/8.418, allocations: 50.91 kB / 2.704 GB, free: 87.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/8.421, allocations: 1.673 MB / 2.705 GB, free: 87.07 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.01836/8.439, allocations: 12.15 MB / 2.717 GB, free: 78.33 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005361/8.445, allocations: 1.651 MB / 2.719 GB, free: 77.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/8.446, allocations: 0.6562 MB / 2.719 GB, free: 77.47 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/8.448, allocations: 1.373 MB / 2.721 GB, free: 75.94 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/8.448, allocations: 43.47 kB / 2.721 GB, free: 75.89 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002469/8.45, allocations: 281.8 kB / 2.721 GB, free: 75.79 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 5.521e-06/8.45, allocations: 0 / 2.721 GB, free: 75.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.007892/8.458, allocations: 3.332 MB / 2.724 GB, free: 74.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/8.458, allocations: 166.6 kB / 2.725 GB, free: 73.85 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/8.462, allocations: 1.794 MB / 2.726 GB, free: 73.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002694/8.462, allocations: 52.48 kB / 2.726 GB, free: 73.05 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/8.463, allocations: 1.2 MB / 2.727 GB, free: 72.11 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/8.464, allocations: 381.1 kB / 2.728 GB, free: 71.82 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/8.464, allocations: 30.03 kB / 2.728 GB, free: 71.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000125/8.464, allocations: 367.5 kB / 2.728 GB, free: 71.46 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/8.465, allocations: 0.56 MB / 2.729 GB, free: 71.21 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/8.466, allocations: 1.037 MB / 2.73 GB, free: 70.38 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/8.467, allocations: 0.6611 MB / 2.73 GB, free: 70.09 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/8.467, allocations: 3.5 kB / 2.73 GB, free: 70.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007385/8.475, allocations: 2.457 MB / 2.733 GB, free: 69.13 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001206/8.476, allocations: 3.736 MB / 2.736 GB, free: 65.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/8.476, allocations: 15.77 kB / 2.737 GB, free: 65.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004668/8.481, allocations: 1.129 MB / 2.738 GB, free: 64.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/8.483, allocations: 336.7 kB / 2.738 GB, free: 64.47 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009682/8.492, allocations: 5.282 MB / 2.743 GB, free: 60.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/8.497, allocations: 404.5 kB / 2.743 GB, free: 60.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006287/8.498, allocations: 71.8 kB / 2.744 GB, free: 60.41 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/8.498, allocations: 3.531 kB / 2.744 GB, free: 60.41 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006466/8.504, allocations: 2.105 MB / 2.746 GB, free: 59.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/8.504, allocations: 6.562 kB / 2.746 GB, free: 59.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/8.507, allocations: 0.5951 MB / 2.746 GB, free: 59.06 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/8.509, allocations: 392.8 kB / 2.747 GB, free: 58.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/8.519, allocations: 6.21 MB / 2.753 GB, free: 54.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004018/8.523, allocations: 351.1 kB / 2.753 GB, free: 53.95 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/8.523, allocations: 72.03 kB / 2.753 GB, free: 53.92 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.0005707/8.524, allocations: 192.5 kB / 2.753 GB, free: 53.75 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/8.524, allocations: 238.5 kB / 2.753 GB, free: 53.62 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/8.528, allocations: 1.862 MB / 2.755 GB, free: 52.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/8.528, allocations: 11.59 kB / 2.755 GB, free: 52.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/8.528, allocations: 11.56 kB / 2.755 GB, free: 52.58 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002316/8.531, allocations: 1.708 MB / 2.757 GB, free: 51.48 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008902/8.54, allocations: 4.261 MB / 2.761 GB, free: 48.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/8.54, allocations: 7.922 kB / 2.761 GB, free: 48.63 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/8.541, allocations: 263.3 kB / 2.761 GB, free: 48.56 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/8.544, allocations: 0.6434 MB / 2.762 GB, free: 48.29 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/8.544, allocations: 42.25 kB / 2.762 GB, free: 48.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/8.545, allocations: 1.238 MB / 2.763 GB, free: 47.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/8.545, allocations: 0 / 2.763 GB, free: 47.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/8.551, allocations: 2.65 MB / 2.766 GB, free: 44.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00263/8.554, allocations: 0.5174 MB / 2.766 GB, free: 44.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/8.555, allocations: 24 kB / 2.766 GB, free: 44.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/8.558, allocations: 319.4 kB / 2.767 GB, free: 43.72 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/8.558, allocations: 76.17 kB / 2.767 GB, free: 43.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/8.558, allocations: 51.95 kB / 2.767 GB, free: 43.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003547/8.562, allocations: 1.375 MB / 2.768 GB, free: 42.21 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.01e-07/8.562, allocations: 0 / 2.768 GB, free: 42.21 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009252/8.571, allocations: 1.283 MB / 2.769 GB, free: 40.93 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.009555/8.581, allocations: 4.405 MB / 2.774 GB, free: 36.61 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006389/8.587, allocations: 2.978 MB / 2.777 GB, free: 33.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/8.587, allocations: 0 / 2.777 GB, free: 33.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/8.589, allocations: 0.71 MB / 2.777 GB, free: 32.89 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006932/8.596, allocations: 1.134 MB / 2.778 GB, free: 31.82 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/8.612, allocations: 4.203 MB / 2.783 GB, free: 27.56 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/8.613, allocations: 1.681 MB / 2.784 GB, free: 25.84 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004231/8.618, allocations: 0.5918 MB / 2.785 GB, free: 25.29 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/8.619, allocations: 1.007 MB / 2.786 GB, free: 24.29 MB / 0.9636 GB Notification: Performance of SimCode: time 2.344e-06/8.619, allocations: 0 / 2.786 GB, free: 24.29 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.004/9.623, allocations: 91.38 MB / 2.875 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/9.624, allocations: 265 kB / 2.875 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.474/15.1, allocations: 3.094 kB / 2.875 GB, free: 114.3 MB / 0.9948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)