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.0007832/0.0007832, allocations: 98.42 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008831/0.0008832, allocations: 180 kB / 16.92 MB, free: 6.754 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6907/0.6907, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 8 kB / 495.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 77.53 MB / 0.56 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001214/0.1452, allocations: 0.9752 MB / 0.5609 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006982/0.1522, allocations: 4.658 MB / 0.5655 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.1522, allocations: 4 kB / 0.5655 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.647e-05/0.1523, allocations: 0 / 0.5655 GB, free: 3.344 MB / 430.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‘. Notification: Performance of NFTyping.typeBindings: time 0.003872/0.1562, allocations: 1.174 MB / 0.5666 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.053e-05/0.1563, allocations: 27.91 kB / 0.5667 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.836e-05/0.1564, allocations: 39.89 kB / 0.5667 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.1565, allocations: 0 / 0.5667 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.1565, allocations: 7.938 kB / 0.5667 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1566, allocations: 62.56 kB / 0.5668 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1566, allocations: 0 / 0.5668 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.1603, allocations: 2.254 MB / 0.569 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1604, allocations: 145.2 kB / 0.5691 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.992e-05/0.1605, allocations: 54.98 kB / 0.5692 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.1632, allocations: 1.809 MB / 0.5709 GB, free: 13.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1632, allocations: 0 / 0.5709 GB, free: 13.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1632, allocations: 0 / 0.5709 GB, free: 13.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1632, allocations: 0 / 0.5709 GB, free: 13.76 MB / 446.1 MB 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.0009348/0.1641, allocations: 0.6181 MB / 0.5715 GB, free: 13.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1642, allocations: 8.031 kB / 0.5715 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1642, allocations: 8.938 kB / 0.5715 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1643, allocations: 160.4 kB / 0.5717 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1644, allocations: 384 / 0.5717 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1644, allocations: 8.125 kB / 0.5717 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1646, allocations: 169.6 kB / 0.5719 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.1646, allocations: 0 / 0.5719 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1646, allocations: 0 / 0.5719 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.1646, allocations: 0 / 0.5719 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.1648, allocations: 287.8 kB / 0.5721 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.1651, allocations: 285.6 kB / 0.5724 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1652, allocations: 162.5 kB / 0.5726 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1654, allocations: 152.8 kB / 0.5727 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.1654, allocations: 0 / 0.5727 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.1654, allocations: 34.56 kB / 0.5727 GB, free: 11.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.1654, allocations: 0 / 0.5727 GB, free: 11.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004046/0.1658, allocations: 457.4 kB / 0.5732 GB, free: 11.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.1659, allocations: 55.41 kB / 0.5732 GB, free: 11.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.166, allocations: 162 kB / 0.5734 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.166, allocations: 29.73 kB / 0.5734 GB, free: 11.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.166, allocations: 88.14 kB / 0.5735 GB, free: 10.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.1661, allocations: 0 / 0.5735 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.1661, allocations: 13.7 kB / 0.5735 GB, free: 10.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1662, allocations: 310.8 kB / 0.5738 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1663, allocations: 139.9 kB / 0.5739 GB, free: 10.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1664, allocations: 143.9 kB / 0.5741 GB, free: 10.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1666, allocations: 296.7 kB / 0.5744 GB, free: 10.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1666, allocations: 0 / 0.5744 GB, free: 10.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002349/0.1669, allocations: 317.5 kB / 0.5747 GB, free: 9.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1669, allocations: 8 kB / 0.5747 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1669, allocations: 3.984 kB / 0.5747 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.1669, allocations: 0 / 0.5747 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.917e-05/0.167, allocations: 0 / 0.5747 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.167, allocations: 0 / 0.5747 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.1671, allocations: 0 / 0.5747 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1671, allocations: 4 kB / 0.5747 GB, free: 9.688 MB / 446.1 MB 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 0.0001096/0.1672, allocations: 169.8 kB / 0.5748 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.1672, allocations: 3.938 kB / 0.5748 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.1675, allocations: 324.6 kB / 0.5752 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1675, allocations: 0 / 0.5752 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1675, allocations: 4 kB / 0.5752 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1675, allocations: 3.984 kB / 0.5752 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.1678, allocations: 285.6 kB / 0.5754 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1678, allocations: 0 / 0.5754 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-06/0.1678, allocations: 4 kB / 0.5754 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1678, allocations: 4.031 kB / 0.5754 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1678, allocations: 3.984 kB / 0.5754 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1678, allocations: 0 / 0.5754 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1678, allocations: 0 / 0.5754 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.1681, allocations: 345 kB / 0.5758 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.1681, allocations: 77.11 kB / 0.5758 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.1682, allocations: 0 / 0.5758 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.1683, allocations: 7.969 kB / 0.5759 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.1683, allocations: 4 kB / 0.5759 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1683, allocations: 0 / 0.5759 GB, free: 8.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.1684, allocations: 151.2 kB / 0.576 GB, free: 8.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1684, allocations: 0 / 0.576 GB, free: 8.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00127/0.1697, allocations: 0.5817 MB / 0.5766 GB, free: 7.648 MB / 446.1 MB 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.002162/0.1718, allocations: 0.919 MB / 0.5775 GB, free: 6.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.1721, allocations: 283.9 kB / 0.5777 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1721, allocations: 0 / 0.5777 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1723, allocations: 169.6 kB / 0.5779 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.1725, allocations: 9.469 kB / 0.5779 GB, free: 6.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1736, allocations: 1.028 MB / 0.5789 GB, free: 5.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.174, allocations: 0.8187 MB / 0.5797 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.978e-05/0.174, allocations: 0 / 0.5797 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.1741, allocations: 15.42 kB / 0.5797 GB, free: 4.469 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1741, allocations: 0 / 0.5797 GB, free: 4.469 MB / 446.1 MB Notification: Performance of Templates: time 0.2489/0.4229, allocations: 12.03 MB / 0.5915 GB, free: 29.02 MB / 446.1 MB 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)