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: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.764/1.764, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001214/0.001214, allocations: 180.9 kB / 361.4 MB, free: 6.809 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.788/1.788, allocations: 205.2 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.0008285/0.0008285, allocations: 103.1 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/3.03e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9223/0.9223, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.38/2.303, allocations: 446.3 MB / 1.4 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/2.303, allocations: 95.22 kB / 1.4 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.183/7.486, allocations: 1.272 GB / 2.672 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.12e-06/7.486, allocations: 0 / 2.672 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007546/7.487, allocations: 82.27 kB / 2.672 GB, free: 13.87 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.01557/7.503, allocations: 2.733 MB / 2.675 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 8.12e-05/7.503, allocations: 15.97 kB / 2.675 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009279/7.512, allocations: 1.004 MB / 2.676 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/7.523, allocations: 2.919 MB / 2.679 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/7.523, allocations: 63.17 kB / 2.679 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/7.524, allocations: 120 kB / 2.679 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005212/7.529, allocations: 1.577 MB / 2.681 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00615/7.535, allocations: 1.876 MB / 2.682 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/7.536, allocations: 0 / 2.682 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004732/7.536, allocations: 4 kB / 2.682 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-05/7.536, allocations: 51.94 kB / 2.683 GB, free: 3.301 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.02324/7.559, allocations: 11.79 MB / 2.694 GB, free: 6.68 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/7.564, allocations: 1.388 MB / 2.695 GB, free: 5.285 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/7.565, allocations: 0.6613 MB / 2.696 GB, free: 4.617 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/7.566, allocations: 1.37 MB / 2.697 GB, free: 2.949 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/7.567, allocations: 47.88 kB / 2.697 GB, free: 2.895 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002146/7.569, allocations: 234.8 kB / 2.698 GB, free: 2.664 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 5.901e-06/7.569, allocations: 4 kB / 2.698 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.7331/8.302, allocations: 3.445 MB / 2.701 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/8.302, allocations: 174.3 kB / 2.701 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003495/8.305, allocations: 1.551 MB / 2.703 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004125/8.306, allocations: 28.02 kB / 2.703 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/8.307, allocations: 1.206 MB / 2.704 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/8.307, allocations: 370 kB / 2.704 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/8.307, allocations: 3.281 kB / 2.704 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001328/8.308, allocations: 360.5 kB / 2.705 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/8.309, allocations: 0.5427 MB / 2.705 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/8.31, allocations: 1.002 MB / 2.706 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/8.312, allocations: 0.7162 MB / 2.707 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/8.312, allocations: 5.875 kB / 2.707 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007778/8.32, allocations: 2.392 MB / 2.709 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007884/8.32, allocations: 3.705 MB / 2.713 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/8.32, allocations: 9.5 kB / 2.713 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003195/8.324, allocations: 0.8515 MB / 2.714 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/8.325, allocations: 369.8 kB / 2.714 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009107/8.334, allocations: 5.294 MB / 2.719 GB, free: 99.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/8.338, allocations: 367.7 kB / 2.72 GB, free: 99.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/8.339, allocations: 78.22 kB / 2.72 GB, free: 99.13 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/8.339, allocations: 5.344 kB / 2.72 GB, free: 99.13 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007398/8.346, allocations: 2.016 MB / 2.722 GB, free: 99.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/8.346, allocations: 12.25 kB / 2.722 GB, free: 99.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/8.349, allocations: 0.5767 MB / 2.722 GB, free: 99.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/8.351, allocations: 391.6 kB / 2.723 GB, free: 99.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/8.362, allocations: 6.959 MB / 2.729 GB, free: 95.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/8.366, allocations: 322.2 kB / 2.73 GB, free: 95.15 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007297/8.367, allocations: 70.75 kB / 2.73 GB, free: 95.15 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.0008627/8.368, allocations: 143.7 kB / 2.73 GB, free: 95.04 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004396/8.372, allocations: 1.446 MB / 2.731 GB, free: 94.85 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008183/8.373, allocations: 222.4 kB / 2.731 GB, free: 94.73 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/8.377, allocations: 1.776 MB / 2.733 GB, free: 94.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/8.377, allocations: 19.28 kB / 2.733 GB, free: 94.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/8.377, allocations: 3.953 kB / 2.733 GB, free: 94.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002367/8.38, allocations: 1.654 MB / 2.735 GB, free: 94.12 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007572/8.387, allocations: 3.979 MB / 2.739 GB, free: 93.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/8.387, allocations: 1.5 kB / 2.739 GB, free: 93.67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/8.389, allocations: 294 kB / 2.739 GB, free: 93.67 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/8.39, allocations: 402.6 kB / 2.739 GB, free: 93.65 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/8.39, allocations: 19.44 kB / 2.739 GB, free: 93.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/8.391, allocations: 1.543 MB / 2.741 GB, free: 92.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/8.391, allocations: 3.719 kB / 2.741 GB, free: 92.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00452/8.396, allocations: 2.502 MB / 2.743 GB, free: 92.18 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/8.398, allocations: 0.5026 MB / 2.744 GB, free: 91.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/8.398, allocations: 7.25 kB / 2.744 GB, free: 91.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/8.4, allocations: 299.9 kB / 2.744 GB, free: 91.96 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/8.4, allocations: 78.22 kB / 2.744 GB, free: 91.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/8.4, allocations: 55.81 kB / 2.744 GB, free: 91.96 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0019/8.402, allocations: 1.163 MB / 2.745 GB, free: 91.81 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.61e-07/8.402, allocations: 0 / 2.745 GB, free: 91.81 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006319/8.409, allocations: 1.264 MB / 2.747 GB, free: 91.81 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.005963/8.415, allocations: 4.265 MB / 2.751 GB, free: 90.55 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005236/8.42, allocations: 2.903 MB / 2.754 GB, free: 90.06 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/8.42, allocations: 0 / 2.754 GB, free: 90.06 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/8.421, allocations: 0.6705 MB / 2.754 GB, free: 90.05 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005651/8.427, allocations: 1.036 MB / 2.755 GB, free: 90.04 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/8.439, allocations: 4.079 MB / 2.759 GB, free: 89.12 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/8.441, allocations: 1.677 MB / 2.761 GB, free: 88.38 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003546/8.444, allocations: 0.5797 MB / 2.761 GB, free: 88.36 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/8.446, allocations: 1.008 MB / 2.762 GB, free: 88.36 MB / 0.9792 GB Notification: Performance of SimCode: time 1.132e-06/8.446, allocations: 0 / 2.762 GB, free: 88.36 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/8.613, allocations: 77.55 MB / 2.838 GB, free: 85.23 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/8.614, allocations: 235.1 kB / 2.838 GB, free: 84.94 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.873/13.49, allocations: 0 / 2.838 GB, free: 84.94 MB / 0.9792 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)