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.004894/0.004894, allocations: 102 kB / 15.73 MB, free: 6.043 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.001219/0.001219, allocations: 195 kB / 16.67 MB, free: 5.965 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.185/1.185, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.342/1.342, allocations: 251.7 MB / 0.5094 GB, free: 3.098 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.001305/0.001305, allocations: 72.36 kB / 0.7258 GB, free: 9.215 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1632, allocations: 104.7 MB / 0.828 GB, free: 408 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.0021/0.1653, allocations: 1.224 MB / 0.8292 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1671, allocations: 1.248 MB / 0.8304 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.1671, allocations: 0 / 0.8304 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.1671, allocations: 0 / 0.8304 GB, free: 13.92 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/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.0006962/0.1678, allocations: 223.1 kB / 0.8307 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.64e-05/0.1679, allocations: 31.95 kB / 0.8307 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.385e-05/0.168, allocations: 15.94 kB / 0.8307 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.168, allocations: 0 / 0.8307 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.1681, allocations: 11.98 kB / 0.8307 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1682, allocations: 15.92 kB / 0.8307 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.1682, allocations: 0 / 0.8307 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.1686, allocations: 267.7 kB / 0.831 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1686, allocations: 3.938 kB / 0.831 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.1686, allocations: 4 kB / 0.831 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.1689, allocations: 203.7 kB / 0.8312 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1689, allocations: 4 kB / 0.8312 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1689, allocations: 0 / 0.8312 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1689, allocations: 4 kB / 0.8312 GB, free: 13.15 MB / 0.6544 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.0003451/0.1693, allocations: 383.3 kB / 0.8316 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1693, allocations: 12.03 kB / 0.8316 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.1694, allocations: 80.22 kB / 0.8317 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1695, allocations: 243.7 kB / 0.8319 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.1696, allocations: 158.9 kB / 0.832 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.1696, allocations: 154.9 kB / 0.8322 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.159e-05/0.1697, allocations: 105.1 kB / 0.8323 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1697, allocations: 75.28 kB / 0.8324 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.1698, allocations: 150.6 kB / 0.8325 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/0.1698, allocations: 150.6 kB / 0.8326 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.1699, allocations: 150.6 kB / 0.8328 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.1701, allocations: 453.9 kB / 0.8332 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.882e-05/0.1702, allocations: 169.1 kB / 0.8334 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.1702, allocations: 80.14 kB / 0.8335 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1703, allocations: 75.28 kB / 0.8335 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1703, allocations: 121.8 kB / 0.8336 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/0.1703, allocations: 3.984 kB / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.126e-05/0.1704, allocations: 37.62 kB / 0.8337 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.1705, allocations: 211.7 kB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.1706, allocations: 97.86 kB / 0.834 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1706, allocations: 25.7 kB / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.1706, allocations: 80.14 kB / 0.8341 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.1706, allocations: 0 / 0.8341 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1707, allocations: 21.7 kB / 0.8341 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1708, allocations: 314.8 kB / 0.8344 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-06/0.1708, allocations: 0 / 0.8344 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.1708, allocations: 18.58 kB / 0.8344 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.1708, allocations: 75.28 kB / 0.8345 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.1709, allocations: 79.22 kB / 0.8346 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.268e-05/0.1709, allocations: 41.58 kB / 0.8346 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.171, allocations: 87.27 kB / 0.8347 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.171, allocations: 79.33 kB / 0.8348 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.96e-05/0.171, allocations: 150.6 kB / 0.8349 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.985e-05/0.1711, allocations: 79.22 kB / 0.835 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.44e-05/0.1711, allocations: 154.6 kB / 0.8351 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1713, allocations: 87.22 kB / 0.8352 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.1713, allocations: 79.27 kB / 0.8353 GB, free: 8.688 MB / 0.6544 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 9.317e-05/0.1714, allocations: 260.4 kB / 0.8355 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.1715, allocations: 112.8 kB / 0.8356 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.1715, allocations: 112 kB / 0.8358 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.193e-05/0.1716, allocations: 176.3 kB / 0.8359 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.376e-05/0.1716, allocations: 188.2 kB / 0.8361 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.166e-05/0.1717, allocations: 180.3 kB / 0.8363 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.1719, allocations: 401.2 kB / 0.8367 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/0.1719, allocations: 104.9 kB / 0.8368 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.1719, allocations: 108.9 kB / 0.8369 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-05/0.172, allocations: 184.2 kB / 0.837 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.1721, allocations: 176.3 kB / 0.8372 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.137e-05/0.1721, allocations: 180.2 kB / 0.8374 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.205e-05/0.1722, allocations: 192.2 kB / 0.8376 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.1723, allocations: 307.8 kB / 0.8379 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.1724, allocations: 182 kB / 0.838 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.1724, allocations: 192.2 kB / 0.8382 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1725, allocations: 101 kB / 0.8383 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.1726, allocations: 180.2 kB / 0.8385 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.1726, allocations: 108.9 kB / 0.8386 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.1727, allocations: 83.27 kB / 0.8387 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1727, allocations: 0 / 0.8387 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003642/0.1731, allocations: 79.98 kB / 0.8387 GB, free: 4.926 MB / 0.6544 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.0006071/0.1737, allocations: 409.3 kB / 0.8391 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 3.991e-05/0.1737, allocations: 8 kB / 0.8391 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1737, allocations: 0 / 0.8391 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1737, allocations: 0 / 0.8391 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1741, allocations: 463.6 kB / 0.8396 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.1743, allocations: 160.8 kB / 0.8397 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.1745, allocations: 0.6766 MB / 0.8404 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.332e-05/0.1745, allocations: 4 kB / 0.8404 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.1745, allocations: 15.42 kB / 0.8404 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.1745, allocations: 0 / 0.8404 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of Templates: time 0.004345/0.1789, allocations: 2.091 MB / 0.8425 GB, free: 1.16 MB / 0.6544 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)