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.354/1.354, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009236/0.0009237, allocations: 173.6 kB / 326.5 MB, free: 2.672 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.826/1.826, allocations: 205 MB / 0.5766 GB, free: 20.94 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.000752/0.0007518, allocations: 98.14 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 8.062 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2404, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001558/0.242, allocations: 0.9499 MB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.2442, allocations: 1.268 MB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.2443, allocations: 0 / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.2443, allocations: 3.938 kB / 0.8989 GB, free: 65.9 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.0008817/0.2452, allocations: 163.6 kB / 0.8991 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.2453, allocations: 34.83 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.468e-05/0.2454, allocations: 12 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.2455, allocations: 0 / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.2455, allocations: 11.92 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2457, allocations: 15.92 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.2457, allocations: 4 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.2462, allocations: 231.7 kB / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.2462, allocations: 11.92 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.2463, allocations: 4 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.2467, allocations: 140 kB / 0.8995 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2467, allocations: 0 / 0.8995 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2467, allocations: 0 / 0.8995 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.2467, allocations: 0 / 0.8995 GB, free: 65.29 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.000396/0.2471, allocations: 387.3 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.2472, allocations: 8.031 kB / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.2472, allocations: 80.22 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2474, allocations: 243.7 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.2474, allocations: 154.9 kB / 0.9004 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.2474, allocations: 154.9 kB / 0.9005 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.231e-05/0.2475, allocations: 105.1 kB / 0.9006 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.2475, allocations: 75.28 kB / 0.9007 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.2476, allocations: 150.6 kB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.2476, allocations: 154.6 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.2477, allocations: 154.5 kB / 0.9011 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.2479, allocations: 449.9 kB / 0.9015 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.248, allocations: 165.1 kB / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.248, allocations: 84.14 kB / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.248, allocations: 79.28 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.2481, allocations: 117.7 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.2481, allocations: 0 / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.162e-05/0.2482, allocations: 25.7 kB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.2483, allocations: 203.8 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2484, allocations: 105.8 kB / 0.9023 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2484, allocations: 33.7 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.2484, allocations: 80.14 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2484, allocations: 0 / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.2485, allocations: 9.719 kB / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.2485, allocations: 310.8 kB / 0.9027 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-06/0.2485, allocations: 0 / 0.9027 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.2486, allocations: 22.56 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.873e-05/0.2486, allocations: 79.28 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.2486, allocations: 83.22 kB / 0.9029 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.561e-05/0.2487, allocations: 33.64 kB / 0.9029 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.2487, allocations: 79.28 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.2487, allocations: 83.33 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-05/0.2488, allocations: 158.4 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.305e-05/0.2488, allocations: 75.28 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/0.2488, allocations: 162.5 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.249, allocations: 83.22 kB / 0.9035 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.249, allocations: 75.28 kB / 0.9036 GB, free: 60.84 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.43e-05/0.2491, allocations: 264.4 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.2492, allocations: 116.8 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.2492, allocations: 116.1 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.365e-05/0.2492, allocations: 180.2 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.173e-05/0.2493, allocations: 180.3 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-05/0.2493, allocations: 180.3 kB / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.2495, allocations: 401.2 kB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.2495, allocations: 101 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.2495, allocations: 120.9 kB / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.119e-05/0.2496, allocations: 180.2 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.2496, allocations: 176.3 kB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.239e-05/0.2496, allocations: 184.2 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-05/0.2497, allocations: 180.3 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.2498, allocations: 312.1 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.2498, allocations: 182 kB / 0.9063 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.2499, allocations: 180.2 kB / 0.9065 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.25, allocations: 113 kB / 0.9066 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.2501, allocations: 188.2 kB / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.2501, allocations: 105 kB / 0.9069 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.957e-05/0.2501, allocations: 75.28 kB / 0.907 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2501, allocations: 0 / 0.907 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004085/0.2505, allocations: 71.98 kB / 0.907 GB, free: 57.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007116/0.2513, allocations: 401.8 kB / 0.9074 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.137e-05/0.2513, allocations: 7.984 kB / 0.9074 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2513, allocations: 7.938 kB / 0.9074 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.2513, allocations: 0 / 0.9074 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.2517, allocations: 0.5262 MB / 0.908 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.252, allocations: 192.2 kB / 0.9081 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.2521, allocations: 0.677 MB / 0.9088 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.2521, allocations: 11.44 kB / 0.9088 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.2521, allocations: 0 / 0.9088 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.004367/0.2565, allocations: 2.019 MB / 0.9108 GB, free: 53.24 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)