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.522/1.522, allocations: 252 MB / 267.6 MB, free: 10.93 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.001106/0.001106, allocations: 174.8 kB / 327.3 MB, free: 2.234 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.883/1.883, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0008933/0.0008931, allocations: 90.3 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004518, allocations: 13.48 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2277, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001183/0.2289, allocations: 0.9465 MB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2304, allocations: 1.175 MB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.2305, allocations: 0 / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.2305, allocations: 7.938 kB / 0.9029 GB, free: 61.76 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.0004912/0.231, allocations: 159.6 kB / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.2311, allocations: 34.2 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.765e-05/0.2312, allocations: 8 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.2312, allocations: 0 / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.2312, allocations: 15.91 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.2314, allocations: 12 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.2314, allocations: 0 / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.2317, allocations: 211.7 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.2317, allocations: 15.97 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.2317, allocations: 25.7 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2319, allocations: 135.8 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2319, allocations: 0 / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2319, allocations: 4 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2319, allocations: 0 / 0.9035 GB, free: 61.14 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.0002857/0.2322, allocations: 375.9 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2322, allocations: 12.03 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.2323, allocations: 75.28 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2324, allocations: 246.3 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.2324, allocations: 154.5 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2325, allocations: 158.6 kB / 0.9045 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.365e-05/0.2325, allocations: 104.9 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2325, allocations: 79.22 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.2326, allocations: 154.6 kB / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.2326, allocations: 154.6 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.2326, allocations: 154.5 kB / 0.9051 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.2328, allocations: 449.9 kB / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.2329, allocations: 169.1 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.2329, allocations: 84.14 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2329, allocations: 75.28 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.233, allocations: 113.8 kB / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.233, allocations: 0 / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.287e-05/0.233, allocations: 29.7 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.2331, allocations: 211.7 kB / 0.9062 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.2332, allocations: 93.86 kB / 0.9063 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2332, allocations: 29.7 kB / 0.9063 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.2332, allocations: 84.14 kB / 0.9064 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-06/0.2332, allocations: 0 / 0.9064 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.2332, allocations: 0 / 0.9064 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.2333, allocations: 314.8 kB / 0.9067 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/0.2333, allocations: 0 / 0.9067 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.2333, allocations: 26.62 kB / 0.9067 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.809e-05/0.2333, allocations: 83.17 kB / 0.9068 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.2334, allocations: 79.28 kB / 0.9069 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.531e-05/0.2334, allocations: 29.64 kB / 0.9069 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2334, allocations: 83.28 kB / 0.907 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2335, allocations: 79.27 kB / 0.9071 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.2335, allocations: 154.6 kB / 0.9072 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.185e-05/0.2335, allocations: 83.22 kB / 0.9073 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.2335, allocations: 154.6 kB / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.2337, allocations: 79.22 kB / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.2337, allocations: 79.28 kB / 0.9076 GB, free: 56.72 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 7.067e-05/0.2338, allocations: 268.3 kB / 0.9078 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.2338, allocations: 109 kB / 0.9079 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.2339, allocations: 108 kB / 0.908 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.2339, allocations: 176.3 kB / 0.9082 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-05/0.2339, allocations: 184.2 kB / 0.9084 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.234, allocations: 180.2 kB / 0.9086 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.2341, allocations: 405.2 kB / 0.9089 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.2341, allocations: 112.9 kB / 0.9091 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.2341, allocations: 101 kB / 0.9092 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.799e-05/0.2342, allocations: 184.2 kB / 0.9093 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.2342, allocations: 180.3 kB / 0.9095 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.77e-05/0.2342, allocations: 184.2 kB / 0.9097 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.882e-05/0.2343, allocations: 188.5 kB / 0.9099 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.402e-05/0.2344, allocations: 311.7 kB / 0.9102 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.2344, allocations: 186 kB / 0.9103 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.2344, allocations: 184.2 kB / 0.9105 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2346, allocations: 105 kB / 0.9106 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.2346, allocations: 184.3 kB / 0.9108 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.2346, allocations: 108.9 kB / 0.9109 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.275e-05/0.2347, allocations: 83.5 kB / 0.911 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2347, allocations: 0 / 0.911 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003722/0.235, allocations: 79.92 kB / 0.911 GB, free: 52.95 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 (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.000647/0.2357, allocations: 388.9 kB / 0.9114 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.272e-05/0.2358, allocations: 4 kB / 0.9114 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2358, allocations: 0 / 0.9114 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.2358, allocations: 0 / 0.9114 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.236, allocations: 0.5378 MB / 0.9119 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.2363, allocations: 193.7 kB / 0.9121 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.2364, allocations: 0.6692 MB / 0.9128 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.2364, allocations: 15.42 kB / 0.9128 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2364, allocations: 0 / 0.9128 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.003219/0.2396, allocations: 2.019 MB / 0.9148 GB, free: 49.12 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)