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.004515/0.004515, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001011/0.001011, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.159/1.159, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.339/1.339, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001352/0.001352, allocations: 63.91 kB / 0.7258 GB, free: 9.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1581, allocations: 104.7 MB / 0.828 GB, free: 372 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001802/0.1599, allocations: 1.217 MB / 0.8292 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1614, allocations: 1.251 MB / 0.8304 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.1614, allocations: 0 / 0.8304 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.1615, allocations: 0 / 0.8304 GB, free: 13.88 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.0005653/0.162, allocations: 211.3 kB / 0.8307 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.263e-05/0.1621, allocations: 35.95 kB / 0.8307 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.893e-05/0.1622, allocations: 11.94 kB / 0.8307 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 2.816e-05/0.1622, allocations: 4 kB / 0.8307 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.1622, allocations: 11.97 kB / 0.8307 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1624, allocations: 11.94 kB / 0.8307 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.617e-06/0.1624, allocations: 0 / 0.8307 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.1627, allocations: 271.6 kB / 0.831 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.1627, allocations: 0 / 0.831 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.1627, allocations: 8 kB / 0.831 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.163, allocations: 211.6 kB / 0.8312 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.163, allocations: 3.938 kB / 0.8312 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.92e-07/0.163, allocations: 0 / 0.8312 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.163, allocations: 0 / 0.8312 GB, free: 13.12 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.0002905/0.1633, allocations: 387.3 kB / 0.8316 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.1634, allocations: 8.031 kB / 0.8316 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.1634, allocations: 84.2 kB / 0.8317 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1635, allocations: 239.7 kB / 0.8319 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.1636, allocations: 154.9 kB / 0.832 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.1636, allocations: 150.9 kB / 0.8322 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.032e-05/0.1637, allocations: 109.1 kB / 0.8323 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1637, allocations: 79.28 kB / 0.8324 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.1637, allocations: 154.5 kB / 0.8325 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.1638, allocations: 154.5 kB / 0.8326 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.1638, allocations: 154.6 kB / 0.8328 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.164, allocations: 446 kB / 0.8332 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.804e-05/0.1641, allocations: 169.1 kB / 0.8334 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.1641, allocations: 80.14 kB / 0.8335 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1642, allocations: 79.28 kB / 0.8335 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.1642, allocations: 121.7 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1642, allocations: 0 / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 5.765e-05/0.1643, allocations: 29.7 kB / 0.8337 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.1643, allocations: 207.8 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.1644, allocations: 97.8 kB / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1644, allocations: 29.7 kB / 0.834 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.1645, allocations: 88.12 kB / 0.8341 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.1645, allocations: 0 / 0.8341 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.1645, allocations: 17.72 kB / 0.8341 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.1646, allocations: 310.8 kB / 0.8344 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-06/0.1646, allocations: 0 / 0.8344 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.1646, allocations: 22.52 kB / 0.8344 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.1647, allocations: 79.28 kB / 0.8345 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.1647, allocations: 79.27 kB / 0.8346 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.851e-05/0.1647, allocations: 37.64 kB / 0.8346 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1648, allocations: 79.28 kB / 0.8347 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.1648, allocations: 79.33 kB / 0.8348 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/0.1649, allocations: 158.5 kB / 0.8349 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.091e-05/0.1649, allocations: 75.28 kB / 0.835 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.604e-05/0.1649, allocations: 158.5 kB / 0.8351 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1651, allocations: 83.27 kB / 0.8352 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1651, allocations: 75.28 kB / 0.8353 GB, free: 8.664 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 8.88e-05/0.1652, allocations: 268.3 kB / 0.8355 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.1652, allocations: 108.8 kB / 0.8356 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.1653, allocations: 116 kB / 0.8358 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.576e-05/0.1653, allocations: 184.2 kB / 0.8359 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.486e-05/0.1654, allocations: 176.3 kB / 0.8361 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/0.1654, allocations: 184.2 kB / 0.8363 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.1656, allocations: 401.2 kB / 0.8367 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/0.1656, allocations: 101 kB / 0.8367 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.1657, allocations: 112.9 kB / 0.8369 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-05/0.1657, allocations: 184.3 kB / 0.837 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.1658, allocations: 180.2 kB / 0.8372 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.133e-05/0.1658, allocations: 180.2 kB / 0.8374 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.464e-05/0.1659, allocations: 180.3 kB / 0.8375 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.166, allocations: 311.8 kB / 0.8378 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.166, allocations: 194 kB / 0.838 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.1661, allocations: 176.3 kB / 0.8382 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1662, allocations: 105 kB / 0.8383 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.1663, allocations: 188.2 kB / 0.8385 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.1663, allocations: 108.9 kB / 0.8386 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.1663, allocations: 79.28 kB / 0.8387 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1663, allocations: 0 / 0.8387 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003376/0.1667, allocations: 75.98 kB / 0.8387 GB, free: 4.898 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.0005304/0.1672, allocations: 409.1 kB / 0.8391 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 3.958e-05/0.1673, allocations: 11.94 kB / 0.8391 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1673, allocations: 0 / 0.8391 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.1673, allocations: 4 kB / 0.8391 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1676, allocations: 461.4 kB / 0.8396 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/0.1678, allocations: 156.9 kB / 0.8397 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.1679, allocations: 0.6766 MB / 0.8404 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.168, allocations: 7.984 kB / 0.8404 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.168, allocations: 11.44 kB / 0.8404 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.168, allocations: 0 / 0.8404 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of Templates: time 0.003987/0.172, allocations: 2.091 MB / 0.8424 GB, free: 1.137 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)