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.001023/0.001023, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.000936/0.000936, allocations: 193.9 kB / 16.13 MB, free: 6.652 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.115/1.115, allocations: 205.1 MB / 222 MB, free: 4.746 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.294/1.294, allocations: 251.6 MB / 0.5088 GB, free: 3.371 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.001167/0.001167, allocations: 67.91 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3377, allocations: 104.7 MB / 0.7238 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001943/0.3396, allocations: 1.268 MB / 0.7251 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3411, allocations: 1.274 MB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.054e-05/0.3412, allocations: 0 / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.3412, allocations: 0 / 0.7263 GB, free: 10.71 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.0004308/0.3416, allocations: 159.6 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.933e-05/0.3417, allocations: 31.33 kB / 0.7265 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.084e-05/0.3418, allocations: 15.92 kB / 0.7265 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3e-05/0.3418, allocations: 8 kB / 0.7265 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.661e-05/0.3418, allocations: 4 kB / 0.7265 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.3419, allocations: 24.66 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.342, allocations: 0 / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.3422, allocations: 239.7 kB / 0.7268 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.3422, allocations: 0 / 0.7268 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.3423, allocations: 8 kB / 0.7268 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.3425, allocations: 207.6 kB / 0.727 GB, free: 10.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.3425, allocations: 0 / 0.727 GB, free: 10.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.52e-07/0.3425, allocations: 0 / 0.727 GB, free: 10.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.3425, allocations: 0 / 0.727 GB, free: 10.03 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.0002727/0.3428, allocations: 389.5 kB / 0.7273 GB, free: 9.605 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.611e-05/0.3429, allocations: 12.03 kB / 0.7274 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.3429, allocations: 84.16 kB / 0.7274 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.329e-05/0.343, allocations: 239.7 kB / 0.7277 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.3431, allocations: 150.9 kB / 0.7278 GB, free: 9.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.3431, allocations: 150.9 kB / 0.728 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.131e-05/0.3431, allocations: 109.1 kB / 0.7281 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.3432, allocations: 83.28 kB / 0.7281 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.3432, allocations: 158.5 kB / 0.7283 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.3433, allocations: 150.6 kB / 0.7284 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.3433, allocations: 150.6 kB / 0.7286 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.3435, allocations: 442 kB / 0.729 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.668e-05/0.3436, allocations: 173.1 kB / 0.7292 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.3436, allocations: 84.08 kB / 0.7292 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3436, allocations: 79.27 kB / 0.7293 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3437, allocations: 109.8 kB / 0.7294 GB, free: 7.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.3437, allocations: 0 / 0.7294 GB, free: 7.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 5.685e-05/0.3437, allocations: 33.7 kB / 0.7295 GB, free: 7.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.3438, allocations: 211.7 kB / 0.7297 GB, free: 7.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.3439, allocations: 97.84 kB / 0.7298 GB, free: 6.969 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.3439, allocations: 25.7 kB / 0.7298 GB, free: 6.938 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.3439, allocations: 84.14 kB / 0.7299 GB, free: 6.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-06/0.3439, allocations: 0 / 0.7299 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.344, allocations: 13.72 kB / 0.7299 GB, free: 6.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.344, allocations: 314.8 kB / 0.7302 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.3441, allocations: 4 kB / 0.7302 GB, free: 6.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.3441, allocations: 26.5 kB / 0.7302 GB, free: 6.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.077e-05/0.3441, allocations: 75.28 kB / 0.7303 GB, free: 6.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.851e-05/0.3441, allocations: 75.28 kB / 0.7303 GB, free: 6.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.429e-05/0.3442, allocations: 41.55 kB / 0.7304 GB, free: 6.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3442, allocations: 79.28 kB / 0.7305 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.3442, allocations: 79.22 kB / 0.7305 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.29e-05/0.3443, allocations: 154.6 kB / 0.7307 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-05/0.3443, allocations: 83.33 kB / 0.7308 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.669e-05/0.3444, allocations: 154.5 kB / 0.7309 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.3445, allocations: 83.27 kB / 0.731 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.3445, allocations: 79.22 kB / 0.7311 GB, free: 5.578 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.848e-05/0.3446, allocations: 269.3 kB / 0.7313 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.3447, allocations: 104.9 kB / 0.7314 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.3447, allocations: 108.1 kB / 0.7315 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/0.3448, allocations: 184.2 kB / 0.7317 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.35e-05/0.3448, allocations: 176.3 kB / 0.7319 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-05/0.3449, allocations: 188.2 kB / 0.732 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.345, allocations: 401.5 kB / 0.7324 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/0.3451, allocations: 104.9 kB / 0.7325 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.3451, allocations: 108.9 kB / 0.7326 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.143e-05/0.3451, allocations: 180.3 kB / 0.7328 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.3452, allocations: 192.2 kB / 0.733 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.375e-05/0.3452, allocations: 180.3 kB / 0.7332 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.424e-05/0.3453, allocations: 176.3 kB / 0.7333 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.743e-05/0.3454, allocations: 307.8 kB / 0.7336 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.3455, allocations: 198 kB / 0.7338 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.3455, allocations: 180.7 kB / 0.734 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3456, allocations: 105 kB / 0.7341 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.3457, allocations: 188.1 kB / 0.7343 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.3457, allocations: 105 kB / 0.7344 GB, free: 1.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.3458, allocations: 79.28 kB / 0.7344 GB, free: 1.895 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3458, allocations: 0 / 0.7344 GB, free: 1.895 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003285/0.3461, allocations: 75.98 kB / 0.7345 GB, free: 1.82 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.00058/0.3467, allocations: 409.8 kB / 0.7349 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 3.537e-05/0.3467, allocations: 3.938 kB / 0.7349 GB, free: 1.453 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3467, allocations: 0 / 0.7349 GB, free: 1.453 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.3468, allocations: 3.984 kB / 0.7349 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3471, allocations: 0.5302 MB / 0.7354 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.3473, allocations: 158.5 kB / 0.7356 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.3474, allocations: 0.677 MB / 0.7362 GB, free: 28 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.3475, allocations: 4 kB / 0.7362 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.3475, allocations: 11.44 kB / 0.7363 GB, free: 12 kB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.3475, allocations: 4 kB / 0.7363 GB, free: 8 kB / 0.545 GB Notification: Performance of Templates: time 0.003817/0.3513, allocations: 2.068 MB / 0.7383 GB, free: 14 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)