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.196/1.196, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008812/0.0008812, allocations: 179.1 kB / 325.8 MB, free: 2.688 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.228/1.228, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006455/0.0006455, allocations: 86.06 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002613, allocations: 11.97 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.0009195/0.1377, allocations: 0.9589 MB / 0.8972 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.139, allocations: 1.262 MB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.07e-05/0.139, allocations: 0 / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.1391, allocations: 4 kB / 0.8984 GB, free: 65.81 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.0004179/0.1395, allocations: 163.6 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.441e-05/0.1396, allocations: 34.22 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.268e-05/0.1396, allocations: 19.91 kB / 0.8986 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 2.936e-05/0.1396, allocations: 0 / 0.8986 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.739e-05/0.1397, allocations: 4 kB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1398, allocations: 23.92 kB / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.1398, allocations: 0 / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.1401, allocations: 231.7 kB / 0.8988 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.1401, allocations: 11.94 kB / 0.8989 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.1401, allocations: 3.984 kB / 0.8989 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1403, allocations: 219.9 kB / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1403, allocations: 0 / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1403, allocations: 0 / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.1403, allocations: 0 / 0.8991 GB, free: 65.11 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.0002424/0.1406, allocations: 371.5 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1406, allocations: 8.031 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.82e-05/0.1407, allocations: 106 kB / 0.8995 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.1407, allocations: 84.22 kB / 0.8996 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.258e-05/0.1408, allocations: 247.6 kB / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1408, allocations: 150.9 kB / 0.9 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1408, allocations: 150.9 kB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.092e-05/0.1409, allocations: 108.9 kB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1409, allocations: 79.28 kB / 0.9003 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.1409, allocations: 154.6 kB / 0.9005 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.1409, allocations: 150.6 kB / 0.9006 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.744e-05/0.1409, allocations: 158.5 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1411, allocations: 449.9 kB / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.523e-05/0.1411, allocations: 169.1 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.1412, allocations: 80.14 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-06/0.1412, allocations: 79.22 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1412, allocations: 113.8 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.1412, allocations: 0 / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.27e-05/0.1413, allocations: 29.64 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1413, allocations: 211.8 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.1414, allocations: 101.8 kB / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-06/0.1414, allocations: 29.7 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.794e-05/0.1414, allocations: 80.14 kB / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.1414, allocations: 3.938 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.1414, allocations: 9.719 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.179e-05/0.1415, allocations: 310.8 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-06/0.1415, allocations: 0 / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.1415, allocations: 26.56 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-06/0.1415, allocations: 75.28 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.1415, allocations: 75.28 kB / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.44e-05/0.1416, allocations: 45.62 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1416, allocations: 81.78 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1416, allocations: 79.28 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1416, allocations: 158.5 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.717e-06/0.1416, allocations: 79.27 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1417, allocations: 150.6 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1418, allocations: 83.22 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1418, allocations: 75.28 kB / 0.9032 GB, free: 60.57 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 4.998e-05/0.1418, allocations: 264.4 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.1419, allocations: 124.8 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.1419, allocations: 104.1 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.1419, allocations: 176.3 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.1419, allocations: 180.2 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.142, allocations: 184.3 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1421, allocations: 405.2 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.1421, allocations: 104.9 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.1421, allocations: 105 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/0.1421, allocations: 188.2 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.1422, allocations: 176.3 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.651e-05/0.1422, allocations: 184.2 kB / 0.9053 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/0.1422, allocations: 184.3 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.97e-05/0.1423, allocations: 308.1 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.1423, allocations: 182 kB / 0.906 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1423, allocations: 180.2 kB / 0.9061 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.1424, allocations: 113 kB / 0.9063 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.1424, allocations: 188.2 kB / 0.9064 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.1425, allocations: 105 kB / 0.9065 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.724e-05/0.1425, allocations: 75.28 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.61e-07/0.1425, allocations: 0 / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002798/0.1428, allocations: 83.91 kB / 0.9067 GB, free: 56.8 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.0005641/0.1433, allocations: 1.034 MB / 0.9077 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.023e-05/0.1434, allocations: 0 / 0.9077 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1434, allocations: 4 kB / 0.9077 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1434, allocations: 0 / 0.9077 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.1436, allocations: 0.5263 MB / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.1442, allocations: 1.589 MB / 0.9098 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.456e-05/0.1443, allocations: 0.6692 MB / 0.9104 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.1444, allocations: 10.73 kB / 0.9104 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.1444, allocations: 15.44 kB / 0.9104 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1444, allocations: 3.938 kB / 0.9104 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06651/0.2109, allocations: 2.897 MB / 0.9133 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.2111, allocations: 332.9 kB / 0.9136 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.944, allocations: 3.188 kB / 0.9136 GB, free: 49.83 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)