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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009032, allocations: 93.73 kB / 16.02 MB, free: 84 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.0009722/0.0009722, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.29/1.29, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6642/0.6642, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004017, allocations: 8.281 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1395, allocations: 77.53 MB / 0.5601 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001427/0.141, allocations: 0.9779 MB / 0.561 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006871/0.1479, allocations: 4.662 MB / 0.5656 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.148, allocations: 0 / 0.5656 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.148, allocations: 0 / 0.5656 GB, free: 3.258 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.003226/0.1513, allocations: 1.189 MB / 0.5667 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.118e-05/0.1514, allocations: 19.98 kB / 0.5668 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.211e-05/0.1514, allocations: 39.84 kB / 0.5668 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.1515, allocations: 0 / 0.5668 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.1515, allocations: 7.984 kB / 0.5668 GB, free: 2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.1516, allocations: 66.55 kB / 0.5669 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.1516, allocations: 0 / 0.5669 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.1549, allocations: 2.242 MB / 0.5691 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1551, allocations: 242.1 kB / 0.5693 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.1554, allocations: 312.5 kB / 0.5696 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.1587, allocations: 2.269 MB / 0.5718 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1587, allocations: 0 / 0.5718 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1587, allocations: 0 / 0.5718 GB, free: 12.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1587, allocations: 4 kB / 0.5718 GB, free: 12.86 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.002029/0.1607, allocations: 1.211 MB / 0.573 GB, free: 11.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1608, allocations: 11.97 kB / 0.573 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.1608, allocations: 30.75 kB / 0.573 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.161, allocations: 52.22 kB / 0.5731 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.1617, allocations: 0.6247 MB / 0.5737 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1617, allocations: 384 / 0.5737 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1618, allocations: 3.938 kB / 0.5737 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1619, allocations: 177.6 kB / 0.5739 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.162, allocations: 3.938 kB / 0.5739 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.162, allocations: 0 / 0.5739 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.162, allocations: 0 / 0.5739 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.1622, allocations: 283.9 kB / 0.5741 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.1627, allocations: 0.5327 MB / 0.5747 GB, free: 9.785 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1629, allocations: 162.5 kB / 0.5748 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.163, allocations: 148.9 kB / 0.575 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.163, allocations: 4 kB / 0.575 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.163, allocations: 34.56 kB / 0.575 GB, free: 9.422 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.163, allocations: 3.984 kB / 0.575 GB, free: 9.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004856/0.1635, allocations: 0.4892 MB / 0.5755 GB, free: 8.922 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.1636, allocations: 51.41 kB / 0.5755 GB, free: 8.859 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.1644, allocations: 0.6942 MB / 0.5762 GB, free: 8.156 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1645, allocations: 25.7 kB / 0.5762 GB, free: 8.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1646, allocations: 232.2 kB / 0.5764 GB, free: 7.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1646, allocations: 4 kB / 0.5765 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.1647, allocations: 9.719 kB / 0.5765 GB, free: 7.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1648, allocations: 366.8 kB / 0.5768 GB, free: 7.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.1649, allocations: 136 kB / 0.5769 GB, free: 7.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.165, allocations: 139.9 kB / 0.5771 GB, free: 7.238 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.1652, allocations: 292.7 kB / 0.5774 GB, free: 6.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1652, allocations: 0 / 0.5774 GB, free: 6.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003327/0.1655, allocations: 361 kB / 0.5777 GB, free: 6.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1656, allocations: 4 kB / 0.5777 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1656, allocations: 0 / 0.5777 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1656, allocations: 0 / 0.5777 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.1656, allocations: 7.984 kB / 0.5777 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1657, allocations: 0 / 0.5777 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.1659, allocations: 31.91 kB / 0.5777 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1659, allocations: 0 / 0.5777 GB, free: 6.547 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.0001566/0.166, allocations: 209.7 kB / 0.5779 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1662, allocations: 51.41 kB / 0.578 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.1665, allocations: 380.9 kB / 0.5784 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.1665, allocations: 0 / 0.5784 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1665, allocations: 0 / 0.5784 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1665, allocations: 3.938 kB / 0.5784 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.1669, allocations: 441.4 kB / 0.5788 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1669, allocations: 0 / 0.5788 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.1669, allocations: 0 / 0.5788 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.1669, allocations: 0 / 0.5788 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1669, allocations: 0 / 0.5788 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1669, allocations: 8.031 kB / 0.5788 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.167, allocations: 0 / 0.5788 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.1673, allocations: 384.3 kB / 0.5792 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.1677, allocations: 344.2 kB / 0.5795 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.1678, allocations: 0 / 0.5795 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.168, allocations: 28 kB / 0.5795 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.168, allocations: 0 / 0.5795 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.168, allocations: 0 / 0.5795 GB, free: 4.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007195/0.1688, allocations: 0.5378 MB / 0.58 GB, free: 4.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1688, allocations: 4 kB / 0.58 GB, free: 4.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00146/0.1702, allocations: 0.5701 MB / 0.5806 GB, free: 3.523 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.003091/0.1733, allocations: 1.741 MB / 0.5823 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.1736, allocations: 287.8 kB / 0.5826 GB, free: 1.586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1736, allocations: 0 / 0.5826 GB, free: 1.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1737, allocations: 165.7 kB / 0.5827 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1741, allocations: 31.84 kB / 0.5828 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2575/0.4316, allocations: 7.454 MB / 0.59 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.4319, allocations: 0.8184 MB / 0.5908 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00128/0.4332, allocations: 449.6 kB / 0.5913 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.434, allocations: 375.5 kB / 0.5916 GB, free: 27.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.434, allocations: 0 / 0.5916 GB, free: 27.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/0.4811, allocations: 24.93 MB / 0.616 GB, free: 16.65 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.4814, allocations: 323.2 kB / 0.6163 GB, free: 16.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.803, allocations: 0 / 0.6163 GB, free: 16.27 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)