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.001165/0.001164, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001348/0.001348, allocations: 177.3 kB / 15.94 MB, free: 228 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.925/1.925, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.745/1.745, allocations: 251.9 MB / 0.51 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.0006159/0.0006162, allocations: 12 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6903/0.6909, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001394/0.6923, allocations: 0.9364 MB / 0.7289 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.6943, allocations: 1.186 MB / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.6943, allocations: 0 / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.6944, allocations: 0 / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005755/0.6949, allocations: 155.5 kB / 0.7302 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.6951, allocations: 27.95 kB / 0.7302 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.6951, allocations: 7.984 kB / 0.7302 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.6952, allocations: 4 kB / 0.7302 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.6952, allocations: 12 kB / 0.7303 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.6954, allocations: 20.66 kB / 0.7303 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.6954, allocations: 0 / 0.7303 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.6957, allocations: 187.8 kB / 0.7305 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.6958, allocations: 0 / 0.7305 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.6958, allocations: 29.64 kB / 0.7305 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.696, allocations: 143.8 kB / 0.7306 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.696, allocations: 0 / 0.7306 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.696, allocations: 0 / 0.7306 GB, free: 8.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5e-06/0.6961, allocations: 0 / 0.7306 GB, free: 8.711 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.0004051/0.6965, allocations: 388.3 kB / 0.731 GB, free: 8.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6965, allocations: 8.031 kB / 0.731 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.6966, allocations: 83.22 kB / 0.7311 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.6968, allocations: 246.3 kB / 0.7313 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.714e-05/0.6968, allocations: 150.6 kB / 0.7315 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.6969, allocations: 150.6 kB / 0.7316 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.434e-05/0.697, allocations: 113 kB / 0.7317 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.437e-05/0.697, allocations: 75.28 kB / 0.7318 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/0.6971, allocations: 154.6 kB / 0.7319 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.914e-05/0.6972, allocations: 154.5 kB / 0.7321 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.6973, allocations: 150.6 kB / 0.7322 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.6976, allocations: 453.9 kB / 0.7327 GB, free: 6.484 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.6977, allocations: 169.1 kB / 0.7328 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.6977, allocations: 75.28 kB / 0.7329 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.6978, allocations: 109.8 kB / 0.733 GB, free: 6.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6978, allocations: 0 / 0.733 GB, free: 6.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.768e-05/0.6979, allocations: 29.7 kB / 0.733 GB, free: 6.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.698, allocations: 211.8 kB / 0.7332 GB, free: 5.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.6981, allocations: 97.86 kB / 0.7333 GB, free: 5.738 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.6982, allocations: 25.7 kB / 0.7333 GB, free: 5.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.6982, allocations: 84.14 kB / 0.7334 GB, free: 5.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.6982, allocations: 0 / 0.7334 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-07/0.6982, allocations: 0 / 0.7334 GB, free: 5.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6984, allocations: 310.8 kB / 0.7337 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-06/0.6984, allocations: 0 / 0.7337 GB, free: 5.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.6984, allocations: 30.56 kB / 0.7337 GB, free: 5.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.269e-05/0.6985, allocations: 79.22 kB / 0.7338 GB, free: 5.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.993e-05/0.6985, allocations: 79.23 kB / 0.7339 GB, free: 5.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.639e-05/0.6986, allocations: 29.7 kB / 0.7339 GB, free: 5.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.6986, allocations: 79.28 kB / 0.734 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.6987, allocations: 79.22 kB / 0.7341 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.535e-05/0.6987, allocations: 162.5 kB / 0.7342 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.229e-05/0.6988, allocations: 79.27 kB / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.584e-05/0.6989, allocations: 158.5 kB / 0.7345 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.699, allocations: 79.28 kB / 0.7345 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.6991, allocations: 75.28 kB / 0.7346 GB, free: 4.375 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.0001419/0.6992, allocations: 268.3 kB / 0.7349 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.6993, allocations: 112.9 kB / 0.735 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.6994, allocations: 112.1 kB / 0.7351 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-05/0.6994, allocations: 180.2 kB / 0.7352 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.917e-05/0.6995, allocations: 180.3 kB / 0.7354 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.625e-05/0.6996, allocations: 180.2 kB / 0.7356 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.6999, allocations: 409.2 kB / 0.736 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.933e-05/0.6999, allocations: 101 kB / 0.7361 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.6999, allocations: 112.8 kB / 0.7362 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.061e-05/0.7, allocations: 184.2 kB / 0.7364 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.7001, allocations: 180.2 kB / 0.7365 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.202e-05/0.7002, allocations: 180.3 kB / 0.7367 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.666e-05/0.7003, allocations: 180.2 kB / 0.7369 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.7004, allocations: 315.7 kB / 0.7372 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.7005, allocations: 186.4 kB / 0.7374 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.7006, allocations: 184.2 kB / 0.7375 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.7008, allocations: 109.2 kB / 0.7376 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.7009, allocations: 180.2 kB / 0.7378 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.7009, allocations: 109 kB / 0.7379 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.701, allocations: 87.25 kB / 0.738 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.701, allocations: 0 / 0.738 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004018/0.7014, allocations: 79.92 kB / 0.7381 GB, free: 0.5977 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 (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.0007472/0.7021, allocations: 398.9 kB / 0.7385 GB, free: 252 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.466e-05/0.7022, allocations: 7.938 kB / 0.7385 GB, free: 244 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7022, allocations: 0 / 0.7385 GB, free: 244 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-06/0.7022, allocations: 4 kB / 0.7385 GB, free: 240 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.7026, allocations: 0.5276 MB / 0.739 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.7029, allocations: 160.2 kB / 0.7391 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.7032, allocations: 0.677 MB / 0.7398 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.7033, allocations: 4 kB / 0.7398 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.7033, allocations: 15.42 kB / 0.7398 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.7033, allocations: 0 / 0.7398 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.005176/0.7085, allocations: 2.025 MB / 0.7418 GB, free: 12.82 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: