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.546/1.546, allocations: 249.3 MB / 261.8 MB, free: 5.855 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.001141/0.001141, allocations: 180.8 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009766/0.0009768, allocations: 90.53 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.514e-05, allocations: 4 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2263, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7385/0.9649, allocations: 133.7 MB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.9652, allocations: 91.38 kB / 1.023 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.9803, allocations: 5.244 MB / 1.028 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9804, allocations: 0 / 1.028 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.9804, allocations: 3.938 kB / 1.028 GB, free: 12.81 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.0004571/0.9808, allocations: 385.5 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.9809, allocations: 8.031 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.652e-05/0.981, allocations: 105.8 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.9811, allocations: 79.28 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.9813, allocations: 242.3 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.9814, allocations: 157.8 kB / 1.029 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.9814, allocations: 150.6 kB / 1.029 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.135e-05/0.9815, allocations: 109.9 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.9815, allocations: 75.28 kB / 1.029 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.9816, allocations: 150.6 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.9817, allocations: 154.6 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.9818, allocations: 150.6 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.9821, allocations: 453.2 kB / 1.03 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.948e-05/0.9822, allocations: 172.4 kB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.842e-05/0.9822, allocations: 80.14 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.9823, allocations: 79.28 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.9823, allocations: 105.9 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.394e-06/0.9823, allocations: 4 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.908e-05/0.9824, allocations: 37.62 kB / 1.03 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.9826, allocations: 207.7 kB / 1.03 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.9827, allocations: 96.23 kB / 1.031 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.9827, allocations: 29.7 kB / 1.031 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.9828, allocations: 84.14 kB / 1.031 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.9828, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.9828, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9829, allocations: 313.7 kB / 1.031 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.9829, allocations: 0 / 1.031 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.983, allocations: 22.56 kB / 1.031 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.983, allocations: 83.23 kB / 1.031 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.97e-05/0.983, allocations: 75.28 kB / 1.031 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.781e-05/0.9831, allocations: 33.64 kB / 1.031 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.9832, allocations: 79.28 kB / 1.031 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/0.9832, allocations: 81.91 kB / 1.031 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.783e-05/0.9833, allocations: 150.6 kB / 1.031 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.93e-05/0.9833, allocations: 79.22 kB / 1.032 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.548e-05/0.9834, allocations: 158.5 kB / 1.032 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.9835, allocations: 83.22 kB / 1.032 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.9836, allocations: 78.41 kB / 1.032 GB, free: 8.309 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.0001249/0.9837, allocations: 259.5 kB / 1.032 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.9838, allocations: 101 kB / 1.032 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.9839, allocations: 120 kB / 1.032 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.65e-05/0.9839, allocations: 183.1 kB / 1.032 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.699e-05/0.984, allocations: 180.2 kB / 1.033 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.247e-05/0.9841, allocations: 176.3 kB / 1.033 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.9844, allocations: 405.1 kB / 1.033 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.032e-05/0.9844, allocations: 116.9 kB / 1.033 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.9845, allocations: 109 kB / 1.033 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-05/0.9846, allocations: 184.2 kB / 1.034 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.9846, allocations: 179 kB / 1.034 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.997e-05/0.9847, allocations: 176.3 kB / 1.034 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.324e-05/0.9848, allocations: 184.2 kB / 1.034 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.985, allocations: 315.1 kB / 1.034 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-05/0.9851, allocations: 185.5 kB / 1.035 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.66e-05/0.9852, allocations: 184.2 kB / 1.035 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.9853, allocations: 112.9 kB / 1.035 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.9854, allocations: 180.3 kB / 1.035 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.9855, allocations: 108.9 kB / 1.035 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.9855, allocations: 78.78 kB / 1.035 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9855, allocations: 0 / 1.035 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005789/0.9861, allocations: 103 kB / 1.035 GB, free: 4.551 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.001038/0.9872, allocations: 1.048 MB / 1.036 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.008e-05/0.9872, allocations: 3.625 kB / 1.036 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9872, allocations: 0 / 1.036 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.9872, allocations: 0 / 1.036 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.9876, allocations: 0.5279 MB / 1.037 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.9881, allocations: 213.7 kB / 1.037 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.9883, allocations: 0.677 MB / 1.038 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.9884, allocations: 4 kB / 1.038 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.9884, allocations: 15.42 kB / 1.038 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9884, allocations: 0 / 1.038 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/1.004, allocations: 2.866 MB / 1.041 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.004, allocations: 272.2 kB / 1.041 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.569, allocations: 0 / 1.041 GB, free: 15.02 MB / 0.6667 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)