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: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009132/0.0009132, allocations: 183.8 kB / 326.5 MB, free: 2.699 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.547/1.547, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007492/0.0007493, allocations: 86.48 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003247, allocations: 9.375 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2008, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001321/0.2021, allocations: 0.9513 MB / 0.8977 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.2039, allocations: 1.256 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.2039, allocations: 4 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.2039, allocations: 3.938 kB / 0.8989 GB, free: 65.95 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.0006701/0.2046, allocations: 163.5 kB / 0.8991 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.2047, allocations: 37.83 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.707e-05/0.2048, allocations: 8 kB / 0.8991 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.2049, allocations: 0 / 0.8991 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.2049, allocations: 15.91 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.2051, allocations: 8 kB / 0.8992 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2051, allocations: 4 kB / 0.8992 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.2054, allocations: 243.7 kB / 0.8994 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.2054, allocations: 3.984 kB / 0.8994 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.2055, allocations: 7.984 kB / 0.8994 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.2058, allocations: 203.9 kB / 0.8996 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2058, allocations: 0 / 0.8996 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2058, allocations: 0 / 0.8996 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2058, allocations: 0 / 0.8996 GB, free: 65.27 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.0003621/0.2062, allocations: 383.3 kB / 0.9 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2062, allocations: 8.031 kB / 0.9 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.2063, allocations: 80.22 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.2064, allocations: 243.7 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.2064, allocations: 150.9 kB / 0.9004 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.2065, allocations: 150.9 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.838e-05/0.2065, allocations: 117 kB / 0.9007 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.2065, allocations: 75.28 kB / 0.9007 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.2066, allocations: 154.6 kB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.2066, allocations: 150.6 kB / 0.901 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.043e-05/0.2067, allocations: 150.6 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.2069, allocations: 453.9 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.537e-05/0.2069, allocations: 173.1 kB / 0.9018 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.2069, allocations: 80.14 kB / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.207, allocations: 75.28 kB / 0.9019 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.207, allocations: 109.8 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.207, allocations: 4 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.615e-05/0.2071, allocations: 33.69 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.2071, allocations: 132.5 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.2072, allocations: 97.86 kB / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.2072, allocations: 25.7 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.2073, allocations: 84.14 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.2073, allocations: 0 / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.2073, allocations: 13.72 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.2073, allocations: 314.8 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-06/0.2074, allocations: 7.875 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.2074, allocations: 22.58 kB / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.408e-05/0.2074, allocations: 75.28 kB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.2074, allocations: 75.28 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.364e-05/0.2075, allocations: 29.7 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.2075, allocations: 83.22 kB / 0.903 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.2075, allocations: 87.27 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.492e-05/0.2076, allocations: 154.5 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.337e-05/0.2076, allocations: 87.22 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/0.2076, allocations: 150.6 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.2078, allocations: 79.28 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2078, allocations: 79.22 kB / 0.9036 GB, free: 60.9 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 8.578e-05/0.2079, allocations: 264.4 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.2079, allocations: 116.8 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.208, allocations: 112 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/0.208, allocations: 176.3 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.208, allocations: 101 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.2081, allocations: 186 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.2081, allocations: 180.3 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2082, allocations: 116.9 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2083, allocations: 176.3 kB / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.589e-05/0.2083, allocations: 263.5 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.519e-05/0.2084, allocations: 383 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.325e-05/0.2084, allocations: 112.9 kB / 0.9057 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.517e-05/0.2085, allocations: 79.27 kB / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of Backend: time 3.01e-07/0.2085, allocations: 0 / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008691/0.2093, allocations: 313.2 kB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003421/0.2097, allocations: 0.9885 MB / 0.907 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.003971/0.2137, allocations: 1.913 MB / 0.9089 GB, free: 55.39 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)