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.406/1.406, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 183.3 kB / 316.3 MB, free: 3.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.651/1.651, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.001016/0.001017, allocations: 85.12 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.204e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2225, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6655/0.8881, allocations: 134 MB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.8884, allocations: 97.11 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.014/0.9024, allocations: 5.116 MB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9024, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.9025, allocations: 0.6562 kB / 1.021 GB, free: 15.29 MB / 0.6511 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.0003107/0.9028, allocations: 382.2 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.9028, allocations: 8.031 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.9029, allocations: 79.28 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.9031, allocations: 253.8 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.9031, allocations: 150.6 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.9032, allocations: 150.6 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.687e-05/0.9032, allocations: 162.5 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.846e-05/0.9033, allocations: 101 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.9033, allocations: 75.28 kB / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.9034, allocations: 150.6 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.9034, allocations: 150.6 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.9037, allocations: 439.1 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.708e-05/0.9038, allocations: 169.1 kB / 1.023 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.9038, allocations: 80.14 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.9038, allocations: 75.28 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.9039, allocations: 109.5 kB / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9039, allocations: 8 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.035e-05/0.904, allocations: 25.7 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.904, allocations: 132.5 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.9041, allocations: 96.92 kB / 1.024 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.9041, allocations: 25.7 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.9042, allocations: 83.89 kB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-06/0.9042, allocations: 0 / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.9042, allocations: 4 kB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.9043, allocations: 314.8 kB / 1.024 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-06/0.9043, allocations: 0 / 1.024 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/0.9044, allocations: 18.81 kB / 1.024 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.9044, allocations: 79.28 kB / 1.024 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/0.9044, allocations: 79.27 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.339e-05/0.9045, allocations: 33.66 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.9045, allocations: 79.28 kB / 1.025 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.9046, allocations: 83.22 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.882e-05/0.9046, allocations: 158.2 kB / 1.025 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.336e-05/0.9047, allocations: 79.28 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.098e-05/0.9047, allocations: 154.5 kB / 1.025 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.9048, allocations: 79.27 kB / 1.025 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.9049, allocations: 79.28 kB / 1.025 GB, free: 11.01 MB / 0.6511 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 () * 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 0.0001025/0.905, allocations: 259.5 kB / 1.025 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.728e-05/0.9051, allocations: 134.6 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.9051, allocations: 112.9 kB / 1.026 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.9052, allocations: 108.7 kB / 1.026 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.342e-05/0.9052, allocations: 179.8 kB / 1.026 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.554e-05/0.9053, allocations: 184.3 kB / 1.026 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.769e-05/0.9054, allocations: 185.2 kB / 1.026 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.9055, allocations: 377.8 kB / 1.027 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.942e-05/0.9056, allocations: 105 kB / 1.027 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.9056, allocations: 112.5 kB / 1.027 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.702e-05/0.9057, allocations: 188.2 kB / 1.027 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.9057, allocations: 180.2 kB / 1.027 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.768e-05/0.9058, allocations: 180.2 kB / 1.027 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.624e-05/0.9059, allocations: 176.3 kB / 1.028 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.906, allocations: 307.6 kB / 1.028 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.9061, allocations: 186.1 kB / 1.028 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.9062, allocations: 188.2 kB / 1.028 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.9063, allocations: 108.9 kB / 1.028 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.9063, allocations: 183.9 kB / 1.029 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.9064, allocations: 101 kB / 1.029 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.9064, allocations: 87.22 kB / 1.029 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9064, allocations: 0 / 1.029 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003672/0.9068, allocations: 95.41 kB / 1.029 GB, free: 7.145 MB / 0.6511 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 () * 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.0008776/0.9077, allocations: 1.034 MB / 1.03 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.242e-05/0.9077, allocations: 3.938 kB / 1.03 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.9077, allocations: 0 / 1.03 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.9078, allocations: 4 kB / 1.03 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.908, allocations: 0.5321 MB / 1.03 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.9084, allocations: 208.8 kB / 1.031 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.9086, allocations: 0.6729 MB / 1.031 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.9087, allocations: 7.125 kB / 1.031 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.9087, allocations: 15.42 kB / 1.031 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9087, allocations: 0 / 1.031 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.9283, allocations: 2.535 MB / 1.034 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.9286, allocations: 255.1 kB / 1.034 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.384, allocations: 0 / 1.034 GB, free: 1.867 MB / 0.6511 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)