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.348/1.348, allocations: 252 MB / 267.3 MB, free: 10.8 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.001161/0.001161, allocations: 170.3 kB / 327 MB, free: 2.059 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.655/1.655, allocations: 205.4 MB / 0.578 GB, free: 20.03 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.0007845/0.0007845, allocations: 83.39 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 9.5 kB / 0.7971 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 106.3 MB / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001244/0.186, allocations: 0.9476 MB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1877, allocations: 1.235 MB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.1877, allocations: 4 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.1878, allocations: 3.938 kB / 0.9031 GB, free: 60.96 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.0006397/0.1884, allocations: 163.6 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.1885, allocations: 38.31 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.1886, allocations: 15.98 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.1886, allocations: 0 / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.1887, allocations: 7.938 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1888, allocations: 19.92 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.1889, allocations: 0 / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.1892, allocations: 247.7 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1892, allocations: 4 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.1893, allocations: 25.7 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1896, allocations: 211.6 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1896, allocations: 0 / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1896, allocations: 0 / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1897, allocations: 0 / 0.9038 GB, free: 60.24 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.0003482/0.19, allocations: 375.5 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1901, allocations: 8.031 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.1901, allocations: 110 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.1902, allocations: 80.22 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.441e-05/0.1902, allocations: 239.7 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1903, allocations: 154.9 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1903, allocations: 150.9 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.049e-05/0.1903, allocations: 112.9 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1904, allocations: 79.28 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.1904, allocations: 150.6 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.1904, allocations: 154.5 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.1905, allocations: 150.6 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.1906, allocations: 449.9 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.421e-05/0.1907, allocations: 173.1 kB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.1907, allocations: 80.14 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.1907, allocations: 79.22 kB / 0.9062 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1908, allocations: 113.8 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1908, allocations: 3.938 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.929e-05/0.1908, allocations: 45.53 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1909, allocations: 203.8 kB / 0.9066 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.191, allocations: 97.86 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.191, allocations: 25.7 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.191, allocations: 88.14 kB / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.191, allocations: 0 / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-08/0.191, allocations: 0 / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.1911, allocations: 314.8 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.1911, allocations: 4 kB / 0.9071 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.1911, allocations: 18.58 kB / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.349e-05/0.1911, allocations: 75.28 kB / 0.9071 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.1912, allocations: 75.28 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.957e-05/0.1912, allocations: 37.58 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1912, allocations: 79.28 kB / 0.9073 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.1913, allocations: 79.28 kB / 0.9074 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.1913, allocations: 162.5 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.035e-05/0.1913, allocations: 79.22 kB / 0.9076 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.1913, allocations: 150.6 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1915, allocations: 83.22 kB / 0.9079 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1915, allocations: 75.28 kB / 0.9079 GB, free: 55.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/0.1916, allocations: 264.4 kB / 0.9082 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.1916, allocations: 112.9 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.1916, allocations: 112 kB / 0.9084 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.1917, allocations: 176.3 kB / 0.9086 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.68e-05/0.1917, allocations: 180.2 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.1918, allocations: 180.3 kB / 0.9089 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1919, allocations: 405.2 kB / 0.9093 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.1919, allocations: 108.9 kB / 0.9094 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.1919, allocations: 109 kB / 0.9095 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.579e-05/0.192, allocations: 184.2 kB / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.192, allocations: 176.5 kB / 0.9098 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.659e-05/0.192, allocations: 188.2 kB / 0.91 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.457e-05/0.1921, allocations: 180.3 kB / 0.9102 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.456e-05/0.1921, allocations: 304.1 kB / 0.9105 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.1922, allocations: 197.9 kB / 0.9107 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.1922, allocations: 192.2 kB / 0.9109 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1923, allocations: 105 kB / 0.911 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.1924, allocations: 176.3 kB / 0.9111 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1924, allocations: 112.9 kB / 0.9112 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.1924, allocations: 79.27 kB / 0.9113 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1924, allocations: 0 / 0.9113 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003649/0.1928, allocations: 75.98 kB / 0.9114 GB, free: 51.94 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007817/0.1936, allocations: 1.036 MB / 0.9124 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.285e-05/0.1936, allocations: 7.938 kB / 0.9124 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1937, allocations: 0 / 0.9124 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1937, allocations: 0 / 0.9124 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1939, allocations: 0.5302 MB / 0.9129 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.1948, allocations: 1.599 MB / 0.9145 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.938e-05/0.1949, allocations: 0.6731 MB / 0.9151 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.1949, allocations: 11.38 kB / 0.9152 GB, free: 48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.195, allocations: 11.44 kB / 0.9152 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of SimCode: time 3.8e-07/0.195, allocations: 0 / 0.9152 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.2107, allocations: 2.9 MB / 0.918 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.2109, allocations: 331.8 kB / 0.9183 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.98, allocations: 0 / 0.9183 GB, free: 44.96 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)