Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.691/2.691, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001599/0.001599, allocations: 186.8 kB / 370.8 MB, free: 10.85 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.174/2.174, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 84.55 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005119, allocations: 11.33 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2373, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.475/1.712, allocations: 446.9 MB / 1.415 GB, free: 15.65 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/1.713, allocations: 101.8 kB / 1.415 GB, free: 15.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.615/9.328, allocations: 1.281 GB / 2.696 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.605e-06/9.328, allocations: 0 / 2.696 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005948/9.329, allocations: 76.3 kB / 2.696 GB, free: 104.8 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.01375/9.342, allocations: 3.244 MB / 2.699 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/9.342, allocations: 7.688 kB / 2.699 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001247/9.344, allocations: 261.6 kB / 2.7 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009746/9.353, allocations: 1.006 MB / 2.701 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/9.365, allocations: 2.952 MB / 2.704 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/9.365, allocations: 157.5 kB / 2.704 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009512/9.366, allocations: 204.6 kB / 2.704 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/9.377, allocations: 2.485 MB / 2.706 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.9e-05/9.377, allocations: 8.531 kB / 2.706 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/9.377, allocations: 77.55 kB / 2.706 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-05/9.377, allocations: 45.19 kB / 2.706 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/9.389, allocations: 2.357 MB / 2.709 GB, free: 102.4 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03011/9.419, allocations: 12.15 MB / 2.721 GB, free: 96.38 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/9.432, allocations: 2.104 MB / 2.723 GB, free: 96.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/9.434, allocations: 1.372 MB / 2.724 GB, free: 94.84 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/9.434, allocations: 50.47 kB / 2.724 GB, free: 94.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003103/9.437, allocations: 276.3 kB / 2.724 GB, free: 94.74 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 1.052e-05/9.437, allocations: 0 / 2.724 GB, free: 94.74 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.0594/9.496, allocations: 8.291 MB / 2.732 GB, free: 93.85 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/9.496, allocations: 165.6 kB / 2.733 GB, free: 93.66 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005507/9.502, allocations: 1.871 MB / 2.734 GB, free: 93.45 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005181/9.502, allocations: 53.23 kB / 2.734 GB, free: 93.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/9.504, allocations: 1.204 MB / 2.736 GB, free: 93.01 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007292/9.505, allocations: 381.1 kB / 2.736 GB, free: 92.77 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/9.505, allocations: 28 kB / 2.736 GB, free: 92.77 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001419/9.505, allocations: 357.1 kB / 2.736 GB, free: 92.46 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00463/9.51, allocations: 0.8904 MB / 2.737 GB, free: 92.46 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005249/9.515, allocations: 1.371 MB / 2.739 GB, free: 91.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004929/9.52, allocations: 0.9967 MB / 2.74 GB, free: 91.92 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/9.52, allocations: 7.797 kB / 2.74 GB, free: 91.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01603/9.536, allocations: 2.988 MB / 2.742 GB, free: 91.66 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009208/9.537, allocations: 3.738 MB / 2.746 GB, free: 87.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/9.537, allocations: 11.19 kB / 2.746 GB, free: 87.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/9.549, allocations: 1.355 MB / 2.747 GB, free: 87.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/9.552, allocations: 334.1 kB / 2.748 GB, free: 87.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02367/9.576, allocations: 6.231 MB / 2.754 GB, free: 85.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00605/9.582, allocations: 392.9 kB / 2.754 GB, free: 85.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005664/9.583, allocations: 70.73 kB / 2.754 GB, free: 85.58 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/9.583, allocations: 3.094 kB / 2.754 GB, free: 85.58 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01109/9.594, allocations: 2.323 MB / 2.757 GB, free: 85.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/9.594, allocations: 7.094 kB / 2.757 GB, free: 85.49 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004913/9.599, allocations: 0.6756 MB / 2.757 GB, free: 85.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/9.602, allocations: 390.4 kB / 2.758 GB, free: 85.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/9.625, allocations: 6.851 MB / 2.764 GB, free: 82.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00541/9.631, allocations: 343.3 kB / 2.765 GB, free: 82.63 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004891/9.631, allocations: 76.91 kB / 2.765 GB, free: 82.63 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * 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 35} Notification: Performance of prepare postOptimizeDAE: time 0.002145/9.633, allocations: 0.6248 MB / 2.765 GB, free: 82.43 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008401/9.634, allocations: 228.9 kB / 2.766 GB, free: 82.31 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/9.646, allocations: 2.501 MB / 2.768 GB, free: 82.14 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/9.646, allocations: 20 kB / 2.768 GB, free: 82.14 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/9.646, allocations: 4 kB / 2.768 GB, free: 82.13 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009606/9.655, allocations: 2.334 MB / 2.77 GB, free: 81.62 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/9.674, allocations: 4.872 MB / 2.775 GB, free: 80.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/9.674, allocations: 0 / 2.775 GB, free: 80.06 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/9.676, allocations: 270.1 kB / 2.775 GB, free: 80.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00579/9.682, allocations: 0.8133 MB / 2.776 GB, free: 79.88 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003743/9.682, allocations: 33.27 kB / 2.776 GB, free: 79.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00411/9.687, allocations: 1.475 MB / 2.778 GB, free: 78.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/9.687, allocations: 0 / 2.778 GB, free: 78.99 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/9.702, allocations: 3.6 MB / 2.781 GB, free: 77.54 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/9.704, allocations: 0.5185 MB / 2.782 GB, free: 77.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009328/9.705, allocations: 19.88 kB / 2.782 GB, free: 77.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005029/9.711, allocations: 314.8 kB / 2.782 GB, free: 77.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/9.711, allocations: 79.17 kB / 2.782 GB, free: 77.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002776/9.711, allocations: 50.75 kB / 2.782 GB, free: 77.08 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004947/9.716, allocations: 1.438 MB / 2.783 GB, free: 76.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.172e-06/9.716, allocations: 0 / 2.783 GB, free: 76.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009518/9.726, allocations: 1.29 MB / 2.785 GB, free: 76.31 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 79 * 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 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.01877/9.745, allocations: 5.359 MB / 2.79 GB, free: 73.81 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01615/9.761, allocations: 3.806 MB / 2.794 GB, free: 72.41 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/9.761, allocations: 0 / 2.794 GB, free: 72.41 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004587/9.766, allocations: 0.983 MB / 2.795 GB, free: 72.13 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009739/9.775, allocations: 1.137 MB / 2.796 GB, free: 71.89 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02722/9.803, allocations: 13.78 MB / 2.809 GB, free: 60.98 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/9.804, allocations: 1.675 MB / 2.811 GB, free: 60.18 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003917/9.808, allocations: 473.8 kB / 2.811 GB, free: 60.09 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002548/9.811, allocations: 1.048 MB / 2.812 GB, free: 59.27 MB / 0.9636 GB Notification: Performance of SimCode: time 1.883e-06/9.811, allocations: 0 / 2.812 GB, free: 59.27 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2148/10.03, allocations: 85.38 MB / 2.896 GB, free: 3.281 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/10.03, allocations: 300 kB / 2.896 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.251/16.28, allocations: 0 / 2.896 GB, free: 2.922 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)