Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.296/2.296, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001391/0.001391, allocations: 181.4 kB / 326.3 MB, free: 2.859 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.36/2.36, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.0009288/0.0009285, allocations: 81.31 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 12.47 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2143, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001528/0.2159, allocations: 0.9349 MB / 0.9004 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.2181, allocations: 1.178 MB / 0.9016 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.2181, allocations: 4 kB / 0.9016 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.2182, allocations: 4 kB / 0.9016 GB, free: 63.38 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0007175/0.2189, allocations: 163.5 kB / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.2191, allocations: 33.45 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.728e-05/0.2191, allocations: 7.938 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.555e-05/0.2192, allocations: 3.984 kB / 0.9018 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.2192, allocations: 11.98 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.2195, allocations: 13.17 kB / 0.9018 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2195, allocations: 0 / 0.9018 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.2199, allocations: 219.7 kB / 0.902 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.2199, allocations: 3.984 kB / 0.902 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.22, allocations: 29.7 kB / 0.9021 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2202, allocations: 139.8 kB / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2203, allocations: 0 / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2203, allocations: 0 / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2203, allocations: 0 / 0.9022 GB, free: 62.76 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.0003264/0.2206, allocations: 379.4 kB / 0.9026 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.939e-05/0.2207, allocations: 8.031 kB / 0.9026 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.2208, allocations: 88.16 kB / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2209, allocations: 235.7 kB / 0.9029 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.2209, allocations: 150.9 kB / 0.903 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.2209, allocations: 150.9 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.9e-05/0.221, allocations: 109.1 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.221, allocations: 79.28 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.2211, allocations: 158.6 kB / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.2211, allocations: 150.6 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.2212, allocations: 154.5 kB / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.2214, allocations: 442 kB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.2214, allocations: 177.1 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.2215, allocations: 80.14 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.2215, allocations: 75.28 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2215, allocations: 109.8 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.2215, allocations: 0 / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.605e-05/0.2216, allocations: 33.64 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.2217, allocations: 136.5 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.2218, allocations: 101.8 kB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2218, allocations: 25.7 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.2218, allocations: 80.14 kB / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.2219, allocations: 4 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/0.2219, allocations: 0 / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.2219, allocations: 314.8 kB / 0.9053 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-06/0.2219, allocations: 3.938 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/0.222, allocations: 22.58 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.222, allocations: 79.33 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.2221, allocations: 79.22 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.43e-05/0.2221, allocations: 37.69 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.2222, allocations: 87.16 kB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.2222, allocations: 75.28 kB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.894e-05/0.2222, allocations: 162.5 kB / 0.9058 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-05/0.2223, allocations: 79.28 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.86e-05/0.2223, allocations: 154.5 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.2225, allocations: 83.27 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.2225, allocations: 75.28 kB / 0.9062 GB, free: 58.41 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 8.535e-05/0.2226, allocations: 264.4 kB / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.2227, allocations: 112.9 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.2227, allocations: 104.1 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/0.2228, allocations: 188.2 kB / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.2228, allocations: 101 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.2229, allocations: 178.1 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.2229, allocations: 192.2 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.2231, allocations: 105 kB / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.2232, allocations: 184.2 kB / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.52e-05/0.2232, allocations: 251.5 kB / 0.9078 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001094/0.2233, allocations: 399.2 kB / 0.9082 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.647e-05/0.2234, allocations: 105 kB / 0.9083 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.2234, allocations: 75.28 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of Backend: time 7.52e-07/0.2234, allocations: 0 / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.2246, allocations: 314.6 kB / 0.9086 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004151/0.225, allocations: 0.9899 MB / 0.9096 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.005925/0.2309, allocations: 1.889 MB / 0.9115 GB, free: 52.93 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)