Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_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 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 175.5 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 0.5776 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007763/0.0007767, allocations: 89.36 kB / 0.6822 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 12.66 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2224, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.083/0.3054, allocations: 106.7 MB / 1.004 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0397/0.3452, allocations: 24.65 MB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005597/0.3508, allocations: 115.1 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004416/0.3553, allocations: 0.8497 MB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.3665, allocations: 2.77 MB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007672/0.3742, allocations: 2.165 MB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01109/0.3853, allocations: 8.075 MB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004712/0.39, allocations: 2.038 MB / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006701/0.3968, allocations: 2.379 MB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004219/0.401, allocations: 1.913 MB / 1.048 GB, free: 8.164 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009054/0.4019, allocations: 108 kB / 1.048 GB, free: 8.059 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.4061, allocations: 1.033 MB / 1.049 GB, free: 7.023 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.4072, allocations: 477.7 kB / 1.05 GB, free: 6.555 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.4088, allocations: 0.6213 MB / 1.051 GB, free: 5.926 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005486/0.4143, allocations: 3.873 MB / 1.054 GB, free: 2.047 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4143, allocations: 0 / 1.054 GB, free: 2.047 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.885e-06/0.4144, allocations: 0 / 1.054 GB, free: 2.047 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001868/0.4145, allocations: 0 / 1.054 GB, free: 2.047 MB / 0.698 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.4142/0.8288, allocations: 2.856 MB / 1.057 GB, free: 149.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.8288, allocations: 10.64 kB / 1.057 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007936/0.8296, allocations: 268.2 kB / 1.057 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005737/0.8354, allocations: 1.101 MB / 1.058 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004673/0.8401, allocations: 2.367 MB / 1.061 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/0.8402, allocations: 148.3 kB / 1.061 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.8405, allocations: 199.2 kB / 1.061 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005751/0.8462, allocations: 2.506 MB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.8463, allocations: 5.328 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.8465, allocations: 79 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.8466, allocations: 50.53 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006595/0.8532, allocations: 2.364 MB / 1.066 GB, free: 148.7 MB / 0.698 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.01867/0.8718, allocations: 12.11 MB / 1.078 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008926/0.8808, allocations: 2.331 MB / 1.08 GB, free: 140.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.8833, allocations: 0.9409 MB / 1.081 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.8844, allocations: 1.375 MB / 1.082 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.8844, allocations: 48.23 kB / 1.082 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001937/0.8864, allocations: 233.2 kB / 1.083 GB, free: 138.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 4.529e-06/0.8864, allocations: 0 / 1.083 GB, free: 138.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03474/0.9211, allocations: 8.938 MB / 1.091 GB, free: 134 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.9213, allocations: 167.1 kB / 1.092 GB, free: 133.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.9243, allocations: 2.062 MB / 1.094 GB, free: 132.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.9245, allocations: 49.61 kB / 1.094 GB, free: 132.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007252/0.9252, allocations: 1.2 MB / 1.095 GB, free: 131.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.9255, allocations: 382.5 kB / 1.095 GB, free: 131.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.9256, allocations: 23.97 kB / 1.095 GB, free: 131.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.9257, allocations: 369.8 kB / 1.095 GB, free: 130.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.9279, allocations: 0.8911 MB / 1.096 GB, free: 130.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.9303, allocations: 1.314 MB / 1.098 GB, free: 129.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.9326, allocations: 0.9784 MB / 1.099 GB, free: 128.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.9326, allocations: 7.938 kB / 1.099 GB, free: 128.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007636/0.9402, allocations: 3 MB / 1.102 GB, free: 125.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.9405, allocations: 379.7 kB / 1.102 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.9405, allocations: 8 kB / 1.102 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/0.946, allocations: 1.398 MB / 1.103 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.9475, allocations: 335.5 kB / 1.104 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.9594, allocations: 6.062 MB / 1.109 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/0.9633, allocations: 384.5 kB / 1.11 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/0.9636, allocations: 71.97 kB / 1.11 GB, free: 116.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.9636, allocations: 5.406 kB / 1.11 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005338/0.969, allocations: 2.363 MB / 1.112 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.969, allocations: 8 kB / 1.112 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/0.9715, allocations: 0.685 MB / 1.113 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.9732, allocations: 395.4 kB / 1.113 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.9845, allocations: 6.777 MB / 1.12 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/0.988, allocations: 327.4 kB / 1.12 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.9882, allocations: 71.97 kB / 1.12 GB, free: 105.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (127): * Single equations (assignments): 125 * 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.001479/0.9897, allocations: 0.6179 MB / 1.121 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/0.9901, allocations: 237 kB / 1.121 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/0.9956, allocations: 2.499 MB / 1.124 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.9956, allocations: 23.98 kB / 1.124 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9956, allocations: 0 / 1.124 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004415/1, allocations: 2.341 MB / 1.126 GB, free: 99.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.011, allocations: 5.103 MB / 1.131 GB, free: 94.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.011, allocations: 4.109 kB / 1.131 GB, free: 94.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.013, allocations: 267.7 kB / 1.131 GB, free: 94.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/1.015, allocations: 0.7923 MB / 1.132 GB, free: 93.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.885e-05/1.015, allocations: 39.97 kB / 1.132 GB, free: 93.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/1.018, allocations: 1.473 MB / 1.133 GB, free: 92.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.018, allocations: 0 / 1.133 GB, free: 92.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/1.025, allocations: 3.539 MB / 1.137 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/1.027, allocations: 0.5213 MB / 1.137 GB, free: 87.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/1.027, allocations: 20 kB / 1.137 GB, free: 87.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.029, allocations: 315.5 kB / 1.138 GB, free: 87.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.029, allocations: 68.98 kB / 1.138 GB, free: 87.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.029, allocations: 55.94 kB / 1.138 GB, free: 87.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002015/1.031, allocations: 1.395 MB / 1.139 GB, free: 86.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.8e-07/1.031, allocations: 0 / 1.139 GB, free: 86.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003675/1.035, allocations: 1.142 MB / 1.14 GB, free: 84.93 MB / 0.698 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 (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.008156/1.043, allocations: 4.483 MB / 1.145 GB, free: 80.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0082/1.051, allocations: 3.812 MB / 1.148 GB, free: 76.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.051, allocations: 0 / 1.148 GB, free: 76.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00222/1.054, allocations: 0.9958 MB / 1.149 GB, free: 75.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/1.059, allocations: 1.159 MB / 1.15 GB, free: 74.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04553/1.105, allocations: 17.04 MB / 1.167 GB, free: 56.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009424/1.106, allocations: 1.625 MB / 1.169 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002611/1.108, allocations: 490.6 kB / 1.169 GB, free: 54.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.11, allocations: 1.042 MB / 1.17 GB, free: 53.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.223e-06/1.11, allocations: 3.938 kB / 1.17 GB, free: 53.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.222, allocations: 77.44 MB / 1.246 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.222, allocations: 325.3 kB / 1.246 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.226/5.448, allocations: 4.062 kB / 1.246 GB, free: 7.914 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)