Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.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.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad",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.502/1.502, allocations: 252 MB / 267 MB, free: 10.98 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.001063/0.001063, allocations: 182.4 kB / 326.6 MB, free: 2.227 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.638/1.638, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007843/0.0007843, allocations: 82.36 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 9.125 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1978, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001166/0.199, allocations: 0.9424 MB / 0.9012 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2005, allocations: 1.183 MB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.2005, allocations: 0 / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.2005, allocations: 4 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/BaseClasses/getPeakLoad.mo:2:1-88:16:writable] Warning: Pure function ‘Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.000502/0.201, allocations: 159.6 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.915e-05/0.2012, allocations: 34.08 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.2012, allocations: 7.938 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.2013, allocations: 0 / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.2013, allocations: 8 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.2015, allocations: 23.95 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2015, allocations: 0 / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.2018, allocations: 219.7 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.2018, allocations: 4 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.2018, allocations: 29.69 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.202, allocations: 131.8 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.202, allocations: 4 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.235e-06/0.202, allocations: 0 / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.202, allocations: 0 / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003424/0.2024, allocations: 375.3 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2024, allocations: 12.03 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.2025, allocations: 121.8 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.2025, allocations: 75.28 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.07e-05/0.2026, allocations: 242.3 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2027, allocations: 150.6 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.2027, allocations: 154.5 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.598e-05/0.2027, allocations: 105 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2028, allocations: 83.2 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.2028, allocations: 158.6 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.2028, allocations: 150.6 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/0.2029, allocations: 154.5 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.203, allocations: 449.9 kB / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.2031, allocations: 173.1 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.2031, allocations: 80.14 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.2031, allocations: 75.28 kB / 0.9054 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2032, allocations: 113.8 kB / 0.9055 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.2032, allocations: 0 / 0.9055 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.352e-05/0.2032, allocations: 29.7 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.2033, allocations: 207.8 kB / 0.9058 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.2034, allocations: 97.84 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.2034, allocations: 25.7 kB / 0.9059 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.2035, allocations: 84.14 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.2035, allocations: 0 / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2035, allocations: 0 / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.2035, allocations: 326.8 kB / 0.9063 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-06/0.2035, allocations: 3.938 kB / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.2036, allocations: 18.58 kB / 0.9063 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.2036, allocations: 79.22 kB / 0.9064 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.2036, allocations: 75.28 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.53e-05/0.2037, allocations: 33.69 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2037, allocations: 83.28 kB / 0.9066 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.2037, allocations: 75.28 kB / 0.9066 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.2038, allocations: 158.5 kB / 0.9068 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.204e-05/0.2038, allocations: 79.28 kB / 0.9069 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/0.2038, allocations: 154.5 kB / 0.907 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.204, allocations: 83.27 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.204, allocations: 79.28 kB / 0.9072 GB, free: 56.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.456e-05/0.2041, allocations: 268.3 kB / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.2041, allocations: 101 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.2041, allocations: 112.1 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/0.2042, allocations: 184.2 kB / 0.9078 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.542e-05/0.2042, allocations: 180.3 kB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/0.2043, allocations: 180.2 kB / 0.9081 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2044, allocations: 409.2 kB / 0.9085 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.2044, allocations: 101 kB / 0.9086 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.2045, allocations: 108.9 kB / 0.9087 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.094e-05/0.2045, allocations: 180.3 kB / 0.9089 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.2045, allocations: 184.2 kB / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.011e-05/0.2046, allocations: 180.2 kB / 0.9093 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-05/0.2046, allocations: 184.5 kB / 0.9094 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.189e-05/0.2047, allocations: 311.7 kB / 0.9097 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2047, allocations: 198 kB / 0.9099 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.2048, allocations: 176.3 kB / 0.9101 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2049, allocations: 113 kB / 0.9102 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.205, allocations: 180.2 kB / 0.9104 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.205, allocations: 105 kB / 0.9105 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.205, allocations: 79.28 kB / 0.9105 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.205, allocations: 4 kB / 0.9105 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003813/0.2054, allocations: 79.91 kB / 0.9106 GB, free: 52.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000757/0.2062, allocations: 1.027 MB / 0.9116 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.273e-05/0.2062, allocations: 4 kB / 0.9116 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2062, allocations: 7.875 kB / 0.9116 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.2063, allocations: 4 kB / 0.9116 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.2065, allocations: 0.5185 MB / 0.9121 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.207, allocations: 0.5581 MB / 0.9127 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.262e-05/0.2071, allocations: 0.6732 MB / 0.9133 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.2072, allocations: 6.625 kB / 0.9134 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.2072, allocations: 11.44 kB / 0.9134 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2072, allocations: 0 / 0.9134 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.2206, allocations: 2.876 MB / 0.9162 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.2208, allocations: 310.7 kB / 0.9165 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/1.877, allocations: 2.578 kB / 0.9165 GB, free: 46.88 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)