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.0006865/0.0006865, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004255/0.004255, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.144/1.144, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.315/1.315, allocations: 252 MB / 0.5105 GB, free: 4.691 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.0004375/0.0004375, allocations: 12 kB / 0.6249 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3575, allocations: 106.3 MB / 0.7287 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001126/0.3587, allocations: 0.9487 MB / 0.7297 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3603, allocations: 1.239 MB / 0.7309 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.3604, allocations: 0 / 0.7309 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.3604, allocations: 3.938 kB / 0.7309 GB, free: 9.125 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.0005037/0.3609, allocations: 163.6 kB / 0.731 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.361, allocations: 30.84 kB / 0.7311 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.481e-05/0.3611, allocations: 23.91 kB / 0.7311 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.3611, allocations: 4 kB / 0.7311 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.3611, allocations: 4 kB / 0.7311 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3613, allocations: 16.67 kB / 0.7311 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.3613, allocations: 0 / 0.7311 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.3616, allocations: 239.7 kB / 0.7313 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.3616, allocations: 4 kB / 0.7313 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.3616, allocations: 33.7 kB / 0.7314 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.3619, allocations: 211.6 kB / 0.7316 GB, free: 8.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3619, allocations: 0 / 0.7316 GB, free: 8.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3619, allocations: 0 / 0.7316 GB, free: 8.406 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.3619, allocations: 0 / 0.7316 GB, free: 8.406 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.0003441/0.3623, allocations: 377.4 kB / 0.7319 GB, free: 7.992 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3623, allocations: 8.031 kB / 0.7319 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.3624, allocations: 76.22 kB / 0.732 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3625, allocations: 243.7 kB / 0.7322 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.3626, allocations: 158.9 kB / 0.7324 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.3626, allocations: 154.9 kB / 0.7325 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.479e-05/0.3627, allocations: 105.1 kB / 0.7326 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3627, allocations: 75.28 kB / 0.7327 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.3628, allocations: 154.6 kB / 0.7329 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.3628, allocations: 154.5 kB / 0.733 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.3629, allocations: 158.6 kB / 0.7332 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.3632, allocations: 441.9 kB / 0.7336 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.3632, allocations: 173.1 kB / 0.7338 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.3633, allocations: 84.14 kB / 0.7338 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.3633, allocations: 79.28 kB / 0.7339 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.3634, allocations: 113.7 kB / 0.734 GB, free: 5.734 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3634, allocations: 0 / 0.734 GB, free: 5.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.344e-05/0.3634, allocations: 29.7 kB / 0.734 GB, free: 5.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.3635, allocations: 203.8 kB / 0.7342 GB, free: 5.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.3636, allocations: 101.8 kB / 0.7343 GB, free: 5.359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3636, allocations: 25.7 kB / 0.7344 GB, free: 5.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.3637, allocations: 88.08 kB / 0.7344 GB, free: 5.238 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-06/0.3637, allocations: 4 kB / 0.7344 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.3637, allocations: 9.719 kB / 0.7345 GB, free: 5.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3638, allocations: 314.8 kB / 0.7348 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-06/0.3638, allocations: 0 / 0.7348 GB, free: 4.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.3639, allocations: 26.52 kB / 0.7348 GB, free: 4.867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/0.3639, allocations: 75.28 kB / 0.7349 GB, free: 4.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/0.3639, allocations: 79.28 kB / 0.7349 GB, free: 4.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.396e-05/0.364, allocations: 37.62 kB / 0.735 GB, free: 4.672 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.364, allocations: 79.28 kB / 0.735 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.364, allocations: 75.28 kB / 0.7351 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.004e-05/0.3641, allocations: 158.5 kB / 0.7353 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-05/0.3641, allocations: 75.28 kB / 0.7353 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.394e-05/0.3642, allocations: 158.5 kB / 0.7355 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.3644, allocations: 91.27 kB / 0.7356 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3644, allocations: 75.28 kB / 0.7356 GB, free: 3.969 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 0.0001169/0.3645, allocations: 264.3 kB / 0.7359 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.3646, allocations: 108.8 kB / 0.736 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.3646, allocations: 104.1 kB / 0.7361 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.876e-05/0.3647, allocations: 196.2 kB / 0.7363 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-05/0.3647, allocations: 176.3 kB / 0.7365 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-05/0.3648, allocations: 180.2 kB / 0.7366 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.365, allocations: 405.2 kB / 0.737 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/0.365, allocations: 101 kB / 0.7371 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.3651, allocations: 112.9 kB / 0.7372 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.534e-05/0.3651, allocations: 180.3 kB / 0.7374 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.3652, allocations: 180.2 kB / 0.7376 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.983e-05/0.3653, allocations: 180.2 kB / 0.7377 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-05/0.3653, allocations: 176.3 kB / 0.7379 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.3654, allocations: 311.8 kB / 0.7382 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.3655, allocations: 198 kB / 0.7384 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.3655, allocations: 176.7 kB / 0.7386 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3657, allocations: 109 kB / 0.7387 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.3657, allocations: 180.2 kB / 0.7388 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.3658, allocations: 105 kB / 0.7389 GB, free: 384 kB / 0.545 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.3658, allocations: 83.5 kB / 0.739 GB, free: 300 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3658, allocations: 3.938 kB / 0.739 GB, free: 296 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003357/0.3661, allocations: 79.98 kB / 0.7391 GB, free: 216 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 (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.0006114/0.3668, allocations: 409.4 kB / 0.7395 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 3.342e-05/0.3668, allocations: 3.938 kB / 0.7395 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3668, allocations: 4 kB / 0.7395 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3668, allocations: 0 / 0.7395 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.3672, allocations: 0.5312 MB / 0.74 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.3674, allocations: 164 kB / 0.7402 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.3676, allocations: 0.677 MB / 0.7408 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.3676, allocations: 7.984 kB / 0.7408 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.3676, allocations: 11.44 kB / 0.7408 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.3676, allocations: 0 / 0.7408 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.004053/0.3717, allocations: 2.07 MB / 0.7429 GB, free: 12.38 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: