Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007664/0.0007664, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00462/0.00462, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 282.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9221/0.9221, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.000413, allocations: 18.41 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 88.55 MB / 0.6852 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001286/0.1545, allocations: 0.9687 MB / 0.6861 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006541/0.1611, allocations: 4.666 MB / 0.6907 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.1611, allocations: 0.7812 kB / 0.6907 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.1612, allocations: 4 kB / 0.6907 GB, free: 9.383 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‘. Notification: Performance of NFTyping.typeBindings: time 0.002958/0.1642, allocations: 1.183 MB / 0.6918 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.733e-05/0.1642, allocations: 27.95 kB / 0.6919 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.078e-05/0.1643, allocations: 31.91 kB / 0.6919 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.1644, allocations: 4 kB / 0.6919 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.998e-05/0.1644, allocations: 4 kB / 0.6919 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.1645, allocations: 66.55 kB / 0.692 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.1645, allocations: 0 / 0.692 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.1675, allocations: 2.246 MB / 0.6942 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1676, allocations: 145.2 kB / 0.6943 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.1677, allocations: 59.48 kB / 0.6944 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.1699, allocations: 1.807 MB / 0.6961 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1699, allocations: 1 kB / 0.6961 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1699, allocations: 0 / 0.6961 GB, free: 3.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1699, allocations: 0 / 0.6961 GB, free: 3.82 MB / 494.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.0007916/0.1707, allocations: 0.6131 MB / 0.6967 GB, free: 3.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1708, allocations: 12.03 kB / 0.6967 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.1708, allocations: 0.9375 kB / 0.6967 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1709, allocations: 164.4 kB / 0.6969 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1709, allocations: 384 / 0.6969 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1709, allocations: 4.125 kB / 0.6969 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1711, allocations: 169.6 kB / 0.6971 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1711, allocations: 7.875 kB / 0.6971 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1712, allocations: 0 / 0.6971 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1712, allocations: 3.984 kB / 0.6971 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.1714, allocations: 283.9 kB / 0.6973 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.1716, allocations: 289.6 kB / 0.6976 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1718, allocations: 158.5 kB / 0.6978 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1719, allocations: 148.8 kB / 0.6979 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.1719, allocations: 0 / 0.6979 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.1719, allocations: 30.56 kB / 0.6979 GB, free: 1.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1719, allocations: 4 kB / 0.6979 GB, free: 1.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003874/0.1723, allocations: 457.5 kB / 0.6984 GB, free: 1.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1723, allocations: 51.41 kB / 0.6984 GB, free: 1.281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1725, allocations: 169.8 kB / 0.6986 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1725, allocations: 25.7 kB / 0.6986 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.1725, allocations: 80.14 kB / 0.6987 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1726, allocations: 11.84 kB / 0.6987 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.1726, allocations: 13.7 kB / 0.6987 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.1727, allocations: 323.1 kB / 0.699 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.1728, allocations: 136 kB / 0.6991 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/0.1729, allocations: 139.9 kB / 0.6993 GB, free: 376 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.1731, allocations: 292.7 kB / 0.6996 GB, free: 80 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1731, allocations: 0 / 0.6996 GB, free: 80 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002412/0.1733, allocations: 317.5 kB / 0.6999 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1734, allocations: 4 kB / 0.6999 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1734, allocations: 3.984 kB / 0.6999 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1734, allocations: 4.094 kB / 0.6999 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.1735, allocations: 8 kB / 0.6999 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1735, allocations: 0 / 0.6999 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.1735, allocations: 0 / 0.6999 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1735, allocations: 0 / 0.6999 GB, free: 15.74 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 0.0001103/0.1737, allocations: 170.5 kB / 0.7 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.1737, allocations: 3.938 kB / 0.7 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.174, allocations: 320.6 kB / 0.7004 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.174, allocations: 4.031 kB / 0.7004 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.174, allocations: 0 / 0.7004 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.174, allocations: 0 / 0.7004 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1742, allocations: 297.5 kB / 0.7006 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1742, allocations: 0 / 0.7006 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1742, allocations: 0 / 0.7006 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1742, allocations: 0 / 0.7006 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1742, allocations: 3.984 kB / 0.7006 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1742, allocations: 4 kB / 0.7006 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1743, allocations: 0 / 0.7006 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1745, allocations: 348.9 kB / 0.701 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.1746, allocations: 77.11 kB / 0.7011 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.1746, allocations: 0 / 0.7011 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.1747, allocations: 0 / 0.7011 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.1747, allocations: 0 / 0.7011 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1747, allocations: 4 kB / 0.7011 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.302e-05/0.1748, allocations: 147.2 kB / 0.7012 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1748, allocations: 128 / 0.7012 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001153/0.176, allocations: 0.5818 MB / 0.7018 GB, free: 13.71 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.002061/0.178, allocations: 0.918 MB / 0.7027 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.1783, allocations: 283.9 kB / 0.7029 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1783, allocations: 0 / 0.7029 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1784, allocations: 169.6 kB / 0.7031 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1786, allocations: 10.73 kB / 0.7031 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1797, allocations: 1.018 MB / 0.7041 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1801, allocations: 0.8148 MB / 0.7049 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.1801, allocations: 4 kB / 0.7049 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.1801, allocations: 15.42 kB / 0.7049 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1801, allocations: 0 / 0.7049 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.01767/0.1978, allocations: 12.06 MB / 0.7167 GB, free: 14.5 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)