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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 189.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 251.6 MB / 0.5089 GB, free: 3.344 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 0.6218 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3439, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001885/0.3458, allocations: 1.284 MB / 0.7253 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3472, allocations: 1.236 MB / 0.7265 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.527e-05/0.3472, allocations: 3.938 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.3473, allocations: 0 / 0.7265 GB, free: 10.55 MB / 0.545 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.0005327/0.3478, allocations: 179.6 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.723e-05/0.3479, allocations: 42.77 kB / 0.7267 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.401e-05/0.3479, allocations: 23.91 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.868e-05/0.348, allocations: 0 / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.075e-05/0.348, allocations: 8 kB / 0.7267 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3481, allocations: 16.67 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.3481, allocations: 0 / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.3484, allocations: 243.7 kB / 0.727 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.3484, allocations: 0 / 0.727 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.3484, allocations: 4 kB / 0.727 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.3487, allocations: 203.7 kB / 0.7272 GB, free: 9.852 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3487, allocations: 4 kB / 0.7272 GB, free: 9.848 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3487, allocations: 4 kB / 0.7272 GB, free: 9.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3487, allocations: 0 / 0.7272 GB, free: 9.844 MB / 0.545 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.0002796/0.349, allocations: 389.3 kB / 0.7275 GB, free: 9.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.349, allocations: 8.031 kB / 0.7275 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.3491, allocations: 80.22 kB / 0.7276 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.3492, allocations: 243.7 kB / 0.7279 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.3492, allocations: 150.9 kB / 0.728 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.3493, allocations: 154.9 kB / 0.7281 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.281e-05/0.3493, allocations: 105.1 kB / 0.7282 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.3494, allocations: 75.28 kB / 0.7283 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.3494, allocations: 154.6 kB / 0.7285 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.3494, allocations: 150.6 kB / 0.7286 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.3495, allocations: 154.5 kB / 0.7288 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.3497, allocations: 449.9 kB / 0.7292 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.87e-05/0.3498, allocations: 169.1 kB / 0.7293 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.3498, allocations: 84.14 kB / 0.7294 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.3498, allocations: 75.28 kB / 0.7295 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.3499, allocations: 117.7 kB / 0.7296 GB, free: 7.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.3499, allocations: 0 / 0.7296 GB, free: 7.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 5.916e-05/0.3499, allocations: 33.69 kB / 0.7296 GB, free: 7.129 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.35, allocations: 203.8 kB / 0.7298 GB, free: 6.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.3501, allocations: 97.86 kB / 0.7299 GB, free: 6.793 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3501, allocations: 29.64 kB / 0.73 GB, free: 6.758 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.3501, allocations: 84.14 kB / 0.73 GB, free: 6.672 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.3501, allocations: 4 kB / 0.73 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.3502, allocations: 21.64 kB / 0.7301 GB, free: 6.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.3503, allocations: 314.8 kB / 0.7304 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-06/0.3503, allocations: 0 / 0.7304 GB, free: 6.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.3503, allocations: 18.58 kB / 0.7304 GB, free: 6.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.3503, allocations: 75.28 kB / 0.7305 GB, free: 6.223 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/0.3503, allocations: 79.22 kB / 0.7305 GB, free: 6.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.983e-05/0.3504, allocations: 45.53 kB / 0.7306 GB, free: 6.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.3504, allocations: 79.28 kB / 0.7307 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3505, allocations: 75.28 kB / 0.7307 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.404e-05/0.3505, allocations: 154.5 kB / 0.7309 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.043e-05/0.3505, allocations: 79.28 kB / 0.7309 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.143e-05/0.3506, allocations: 166.5 kB / 0.7311 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3507, allocations: 87.28 kB / 0.7312 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3507, allocations: 79.27 kB / 0.7313 GB, free: 5.383 MB / 0.545 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.704e-05/0.3508, allocations: 260.4 kB / 0.7315 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.3509, allocations: 108.9 kB / 0.7316 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.3509, allocations: 108.1 kB / 0.7317 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.546e-05/0.351, allocations: 188.2 kB / 0.7319 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-05/0.351, allocations: 180.2 kB / 0.7321 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.497e-05/0.3511, allocations: 176.3 kB / 0.7322 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3513, allocations: 413.1 kB / 0.7326 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.3513, allocations: 101 kB / 0.7327 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.3513, allocations: 108.9 kB / 0.7328 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.427e-05/0.3514, allocations: 180.3 kB / 0.733 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.3514, allocations: 180.3 kB / 0.7332 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.406e-05/0.3515, allocations: 180.2 kB / 0.7333 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.421e-05/0.3515, allocations: 184.2 kB / 0.7335 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.808e-05/0.3516, allocations: 308.4 kB / 0.7338 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.3517, allocations: 186 kB / 0.734 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.3517, allocations: 192.2 kB / 0.7342 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3519, allocations: 109 kB / 0.7343 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.3519, allocations: 180.2 kB / 0.7345 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.3519, allocations: 101 kB / 0.7346 GB, free: 1.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.352, allocations: 91.2 kB / 0.7346 GB, free: 1.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.352, allocations: 0 / 0.7346 GB, free: 1.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003432/0.3523, allocations: 75.98 kB / 0.7347 GB, free: 1.625 MB / 0.545 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.0005446/0.3529, allocations: 392 kB / 0.7351 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 3.539e-05/0.3529, allocations: 0 / 0.7351 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3529, allocations: 3.938 kB / 0.7351 GB, free: 1.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.3529, allocations: 4 kB / 0.7351 GB, free: 1.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3532, allocations: 461 kB / 0.7355 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/0.3534, allocations: 176.7 kB / 0.7357 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.3536, allocations: 0.6729 MB / 0.7364 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.3536, allocations: 8 kB / 0.7364 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.3537, allocations: 15.42 kB / 0.7364 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.3537, allocations: 0 / 0.7364 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.00371/0.3574, allocations: 2.092 MB / 0.7384 GB, free: 13.87 MB / 0.5606 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)