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.0009578/0.0009577, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001048/0.001048, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.555/1.555, allocations: 252 MB / 0.5102 GB, free: 4.852 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.001046/0.001046, allocations: 16 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6703/0.6714, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001259/0.6727, allocations: 0.9409 MB / 0.7291 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.6744, allocations: 1.178 MB / 0.7302 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.6745, allocations: 0 / 0.7302 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.6745, allocations: 4 kB / 0.7302 GB, free: 9.305 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.0005226/0.675, allocations: 159.6 kB / 0.7304 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.6751, allocations: 38.2 kB / 0.7304 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.191e-05/0.6752, allocations: 11.94 kB / 0.7304 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.6752, allocations: 0 / 0.7304 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.6752, allocations: 11.98 kB / 0.7304 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.6754, allocations: 16.67 kB / 0.7304 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.6754, allocations: 0 / 0.7304 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.6757, allocations: 211.8 kB / 0.7306 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.6758, allocations: 11.91 kB / 0.7307 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.6758, allocations: 29.7 kB / 0.7307 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.676, allocations: 135.8 kB / 0.7308 GB, free: 8.688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.676, allocations: 4 kB / 0.7308 GB, free: 8.684 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.676, allocations: 0 / 0.7308 GB, free: 8.684 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.676, allocations: 0 / 0.7308 GB, free: 8.684 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.000302/0.6764, allocations: 377.2 kB / 0.7312 GB, free: 8.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.6764, allocations: 8.031 kB / 0.7312 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.6764, allocations: 79.28 kB / 0.7313 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6766, allocations: 250.3 kB / 0.7315 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/0.6766, allocations: 154.6 kB / 0.7316 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.6767, allocations: 150.6 kB / 0.7318 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.942e-05/0.6768, allocations: 101 kB / 0.7319 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.6768, allocations: 79.22 kB / 0.732 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.6769, allocations: 154.6 kB / 0.7321 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.6769, allocations: 150.6 kB / 0.7323 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.407e-05/0.677, allocations: 158.6 kB / 0.7324 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.6772, allocations: 449.9 kB / 0.7328 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.976e-05/0.6773, allocations: 169.1 kB / 0.733 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.6773, allocations: 88.02 kB / 0.7331 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.6774, allocations: 79.28 kB / 0.7332 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.6774, allocations: 105.8 kB / 0.7333 GB, free: 6.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.6774, allocations: 0 / 0.7333 GB, free: 6.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.301e-05/0.6775, allocations: 33.69 kB / 0.7333 GB, free: 5.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.6776, allocations: 203.8 kB / 0.7335 GB, free: 5.742 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.6777, allocations: 97.86 kB / 0.7336 GB, free: 5.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6777, allocations: 25.7 kB / 0.7336 GB, free: 5.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.6777, allocations: 88.14 kB / 0.7337 GB, free: 5.516 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.6777, allocations: 3.938 kB / 0.7337 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.6777, allocations: 0 / 0.7337 GB, free: 5.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.6778, allocations: 314.8 kB / 0.734 GB, free: 5.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.6779, allocations: 3.938 kB / 0.734 GB, free: 5.191 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/0.6779, allocations: 22.58 kB / 0.734 GB, free: 5.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.6779, allocations: 79.23 kB / 0.7341 GB, free: 5.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/0.678, allocations: 79.28 kB / 0.7342 GB, free: 5.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.057e-05/0.678, allocations: 29.7 kB / 0.7342 GB, free: 4.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.6781, allocations: 79.28 kB / 0.7343 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/0.6781, allocations: 79.22 kB / 0.7343 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.898e-05/0.6781, allocations: 158.5 kB / 0.7345 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.428e-05/0.6782, allocations: 83.27 kB / 0.7346 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.661e-05/0.6782, allocations: 154.6 kB / 0.7347 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.6784, allocations: 87.28 kB / 0.7348 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.6784, allocations: 79.22 kB / 0.7349 GB, free: 4.258 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.6785, allocations: 268.3 kB / 0.7351 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.6786, allocations: 101 kB / 0.7352 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.6786, allocations: 112 kB / 0.7353 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.378e-05/0.6787, allocations: 184.3 kB / 0.7355 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-05/0.6788, allocations: 176.3 kB / 0.7357 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.823e-05/0.6788, allocations: 184.2 kB / 0.7359 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.679, allocations: 401.2 kB / 0.7362 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.515e-05/0.6791, allocations: 112.9 kB / 0.7363 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.6791, allocations: 105 kB / 0.7364 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.577e-05/0.6792, allocations: 180.3 kB / 0.7366 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.6792, allocations: 180.2 kB / 0.7368 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.742e-05/0.6793, allocations: 176.3 kB / 0.737 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.577e-05/0.6793, allocations: 180.2 kB / 0.7371 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.6794, allocations: 320.1 kB / 0.7374 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.6795, allocations: 194.2 kB / 0.7376 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.6796, allocations: 176.3 kB / 0.7378 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.6797, allocations: 109 kB / 0.7379 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.6798, allocations: 184.3 kB / 0.7381 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.6798, allocations: 112.9 kB / 0.7382 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.6799, allocations: 83.2 kB / 0.7383 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.273e-06/0.6799, allocations: 0 / 0.7383 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003684/0.6803, allocations: 83.92 kB / 0.7383 GB, free: 500 kB / 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 (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.0006368/0.6809, allocations: 398.8 kB / 0.7387 GB, free: 140 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.396e-05/0.681, allocations: 0 / 0.7387 GB, free: 140 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.681, allocations: 4 kB / 0.7387 GB, free: 136 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.681, allocations: 4 kB / 0.7387 GB, free: 132 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.6813, allocations: 0.5237 MB / 0.7392 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.6816, allocations: 164.2 kB / 0.7394 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.6818, allocations: 0.677 MB / 0.7401 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.6818, allocations: 4 kB / 0.7401 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.6819, allocations: 19.36 kB / 0.7401 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6819, allocations: 0 / 0.7401 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.004461/0.6863, allocations: 2.039 MB / 0.7421 GB, free: 12.7 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: