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.458/1.458, allocations: 251.9 MB / 266.9 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.00114/0.00114, allocations: 175.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009365/0.0009361, allocations: 90.98 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 9.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2725, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001332/0.2739, allocations: 0.9422 MB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.2756, allocations: 1.173 MB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.2756, allocations: 0 / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.2757, allocations: 11.94 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006976/0.2764, allocations: 151.6 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.2765, allocations: 33.64 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.032e-05/0.2766, allocations: 7.984 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.2766, allocations: 4 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.2767, allocations: 7.984 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.2768, allocations: 19.97 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2768, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.2772, allocations: 191.7 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.2772, allocations: 4 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.2773, allocations: 29.7 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.2775, allocations: 135.8 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.2775, allocations: 4 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2776, allocations: 0 / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2776, allocations: 0 / 0.9028 GB, free: 61.07 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.0003634/0.2779, allocations: 375.3 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.278, allocations: 8.031 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.278, allocations: 105.8 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.2781, allocations: 83.28 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.2782, allocations: 246.3 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.2782, allocations: 154.5 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.2783, allocations: 150.6 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.573e-05/0.2783, allocations: 101 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2783, allocations: 75.28 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.2784, allocations: 158.6 kB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.2784, allocations: 154.6 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.2784, allocations: 150.6 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.2786, allocations: 449.8 kB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.612e-05/0.2787, allocations: 177.1 kB / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.2787, allocations: 75.28 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2788, allocations: 105.8 kB / 0.9053 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.2788, allocations: 0 / 0.9053 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.753e-05/0.2789, allocations: 41.56 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.2789, allocations: 203.8 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.279, allocations: 101.9 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.279, allocations: 25.7 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.2791, allocations: 80.14 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.2791, allocations: 3.938 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.2791, allocations: 4 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.2791, allocations: 314.8 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-06/0.2792, allocations: 0 / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.2792, allocations: 22.77 kB / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.2792, allocations: 83.23 kB / 0.9061 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.2792, allocations: 75.28 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.619e-05/0.2793, allocations: 33.64 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.2793, allocations: 79.28 kB / 0.9063 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.2794, allocations: 79.27 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/0.2794, allocations: 158.6 kB / 0.9065 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.464e-05/0.2794, allocations: 87.22 kB / 0.9066 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/0.2795, allocations: 150.6 kB / 0.9067 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.2796, allocations: 87.22 kB / 0.9068 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2796, allocations: 75.33 kB / 0.9069 GB, free: 56.61 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.669e-05/0.2797, allocations: 272.3 kB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.2798, allocations: 108.9 kB / 0.9073 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.2798, allocations: 104.1 kB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-05/0.2799, allocations: 184.3 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-05/0.2799, allocations: 180.2 kB / 0.9077 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/0.2799, allocations: 180.2 kB / 0.9079 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.2801, allocations: 405.2 kB / 0.9083 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.2801, allocations: 112.9 kB / 0.9084 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.2801, allocations: 101 kB / 0.9085 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-05/0.2802, allocations: 180.2 kB / 0.9086 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.2802, allocations: 180.3 kB / 0.9088 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.298e-05/0.2802, allocations: 180.2 kB / 0.909 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.338e-05/0.2803, allocations: 180.6 kB / 0.9092 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.2804, allocations: 315.7 kB / 0.9095 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.2805, allocations: 194 kB / 0.9096 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.2805, allocations: 180.2 kB / 0.9098 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2806, allocations: 109 kB / 0.9099 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.2807, allocations: 180.3 kB / 0.9101 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.2807, allocations: 108.9 kB / 0.9102 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.699e-05/0.2807, allocations: 83.28 kB / 0.9103 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/0.2807, allocations: 0 / 0.9103 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003909/0.2811, allocations: 75.92 kB / 0.9103 GB, free: 52.85 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.0008799/0.282, allocations: 1.041 MB / 0.9114 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.99e-05/0.2821, allocations: 3.938 kB / 0.9114 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2821, allocations: 0 / 0.9114 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.2821, allocations: 0 / 0.9114 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2823, allocations: 0.5224 MB / 0.9119 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.283, allocations: 0.5581 MB / 0.9124 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.2831, allocations: 0.6692 MB / 0.9131 GB, free: 50 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.346e-05/0.2831, allocations: 14.86 kB / 0.9131 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.2832, allocations: 12.47 kB / 0.9131 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2832, allocations: 0 / 0.9131 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.2982, allocations: 2.847 MB / 0.9159 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.2984, allocations: 306 kB / 0.9162 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.865, allocations: 0 / 0.9162 GB, free: 47.02 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)