Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001224, allocations: 105.2 kB / 16.4 MB, free: 6.473 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.00102/0.00102, allocations: 196 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7268/0.7268, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 66.62 kB / 0.5685 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1422, allocations: 77.93 MB / 0.6446 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001994/0.1443, allocations: 1.234 MB / 0.6458 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006072/0.1503, allocations: 4.485 MB / 0.6502 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.1504, allocations: 0 / 0.6502 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.1505, allocations: 0 / 0.6502 GB, free: 3.23 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.003693/0.1542, allocations: 1.517 MB / 0.6517 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.184e-05/0.1543, allocations: 39.89 kB / 0.6517 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.371e-05/0.1543, allocations: 11.94 kB / 0.6517 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1544, allocations: 0 / 0.6517 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.131e-05/0.1544, allocations: 7.984 kB / 0.6517 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.235e-05/0.1545, allocations: 25.27 kB / 0.6518 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1545, allocations: 0 / 0.6518 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.1578, allocations: 2.27 MB / 0.654 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.158, allocations: 157.2 kB / 0.6541 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.158, allocations: 7.922 kB / 0.6541 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.1606, allocations: 1.73 MB / 0.6558 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1607, allocations: 3.984 kB / 0.6558 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1607, allocations: 0 / 0.6558 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1607, allocations: 0 / 0.6558 GB, free: 13.46 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0009777/0.1617, allocations: 0.6447 MB / 0.6565 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1617, allocations: 12.62 kB / 0.6565 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.1618, allocations: 0.9375 kB / 0.6565 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1619, allocations: 168.4 kB / 0.6566 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.1619, allocations: 384 / 0.6566 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1619, allocations: 8.062 kB / 0.6566 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1621, allocations: 173.6 kB / 0.6568 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1621, allocations: 0 / 0.6568 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1621, allocations: 3.938 kB / 0.6568 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1621, allocations: 0 / 0.6568 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.1623, allocations: 275.9 kB / 0.6571 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.1626, allocations: 297.6 kB / 0.6573 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1627, allocations: 154.6 kB / 0.6575 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1628, allocations: 148.8 kB / 0.6576 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.1629, allocations: 7.922 kB / 0.6576 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.1629, allocations: 30.56 kB / 0.6577 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1629, allocations: 0 / 0.6577 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0004119/0.1633, allocations: 465.5 kB / 0.6581 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.1634, allocations: 51.41 kB / 0.6582 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1635, allocations: 165.8 kB / 0.6583 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1635, allocations: 25.7 kB / 0.6584 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.1635, allocations: 80.14 kB / 0.6584 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.1636, allocations: 4 kB / 0.6584 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.1636, allocations: 13.72 kB / 0.6584 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1637, allocations: 315.1 kB / 0.6587 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.955e-05/0.1638, allocations: 139.9 kB / 0.6589 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.1639, allocations: 143.9 kB / 0.659 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.1641, allocations: 288.7 kB / 0.6593 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1641, allocations: 0 / 0.6593 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002687/0.1644, allocations: 317.5 kB / 0.6596 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1644, allocations: 8 kB / 0.6596 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.1644, allocations: 0 / 0.6596 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1644, allocations: 4.094 kB / 0.6596 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.1645, allocations: 0 / 0.6596 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1645, allocations: 4 kB / 0.6596 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.1646, allocations: 0 / 0.6596 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1646, allocations: 0 / 0.6596 GB, free: 9.352 MB / 0.4981 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 (1): * Single equations (assignments): 1 * 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.949e-05/0.1647, allocations: 166.7 kB / 0.6598 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.1647, allocations: 11.88 kB / 0.6598 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.165, allocations: 328.6 kB / 0.6601 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.165, allocations: 0 / 0.6601 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.165, allocations: 4.031 kB / 0.6601 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.165, allocations: 0 / 0.6601 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1653, allocations: 289.5 kB / 0.6604 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.1653, allocations: 4 kB / 0.6604 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1653, allocations: 0 / 0.6604 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1653, allocations: 0 / 0.6604 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1653, allocations: 3.938 kB / 0.6604 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1653, allocations: 0 / 0.6604 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1653, allocations: 4 kB / 0.6604 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1656, allocations: 348.9 kB / 0.6607 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.1656, allocations: 81.05 kB / 0.6608 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.1657, allocations: 0 / 0.6608 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.1657, allocations: 4 kB / 0.6608 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.1657, allocations: 3.984 kB / 0.6608 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1658, allocations: 0 / 0.6608 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.496e-05/0.1658, allocations: 151.2 kB / 0.6609 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1658, allocations: 0 / 0.6609 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001224/0.1671, allocations: 0.5805 MB / 0.6615 GB, free: 7.297 MB / 0.4981 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002762/0.1698, allocations: 0.9188 MB / 0.6624 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.1702, allocations: 279.9 kB / 0.6627 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1702, allocations: 0 / 0.6627 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1704, allocations: 173.7 kB / 0.6628 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1706, allocations: 7.938 kB / 0.6628 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1718, allocations: 0.9414 MB / 0.6638 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.1722, allocations: 0.8107 MB / 0.6646 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.1723, allocations: 11.98 kB / 0.6646 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.1723, allocations: 11.44 kB / 0.6646 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1723, allocations: 0 / 0.6646 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.01968/0.192, allocations: 12.23 MB / 0.6765 GB, free: 7.988 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)