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.001494/0.001494, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001732/0.001732, allocations: 197.6 kB / 16.14 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 292.5 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 97.42 kB / 0.5945 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1367, allocations: 86.98 MB / 0.6795 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002217/0.139, allocations: 1.296 MB / 0.6807 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006771/0.1458, allocations: 4.783 MB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.1458, allocations: 4 kB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.132e-05/0.1459, allocations: 0 / 0.6854 GB, free: 11.07 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.003075/0.149, allocations: 1.187 MB / 0.6866 GB, free: 9.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.848e-05/0.1491, allocations: 19.92 kB / 0.6866 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.141e-05/0.1492, allocations: 31.97 kB / 0.6866 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.1492, allocations: 11.97 kB / 0.6866 GB, free: 9.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.1493, allocations: 4 kB / 0.6866 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.1494, allocations: 66.56 kB / 0.6867 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1494, allocations: 3.938 kB / 0.6867 GB, free: 9.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.1528, allocations: 2.242 MB / 0.6889 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.153, allocations: 157.2 kB / 0.6891 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.1531, allocations: 25.28 kB / 0.6891 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.1562, allocations: 1.806 MB / 0.6908 GB, free: 5.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1563, allocations: 0 / 0.6908 GB, free: 5.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1563, allocations: 0 / 0.6908 GB, free: 5.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.716e-06/0.1563, allocations: 0 / 0.6908 GB, free: 5.52 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.001035/0.1573, allocations: 0.6165 MB / 0.6914 GB, free: 4.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1574, allocations: 11.97 kB / 0.6915 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.1574, allocations: 4.922 kB / 0.6915 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1575, allocations: 168.4 kB / 0.6916 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1575, allocations: 384 / 0.6916 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.1576, allocations: 4.125 kB / 0.6916 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1577, allocations: 169.6 kB / 0.6918 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.1578, allocations: 0 / 0.6918 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1578, allocations: 4 kB / 0.6918 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1578, allocations: 4 kB / 0.6918 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.158, allocations: 279.9 kB / 0.6921 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1583, allocations: 289.6 kB / 0.6923 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1584, allocations: 158.5 kB / 0.6925 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1585, allocations: 148.8 kB / 0.6926 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.1585, allocations: 0 / 0.6926 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1586, allocations: 34.56 kB / 0.6927 GB, free: 3.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1586, allocations: 4 kB / 0.6927 GB, free: 3.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003979/0.159, allocations: 453.5 kB / 0.6931 GB, free: 3.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.159, allocations: 55.34 kB / 0.6932 GB, free: 2.973 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1591, allocations: 169.8 kB / 0.6933 GB, free: 2.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1592, allocations: 25.7 kB / 0.6933 GB, free: 2.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.1592, allocations: 80.14 kB / 0.6934 GB, free: 2.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1592, allocations: 7.844 kB / 0.6934 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.1593, allocations: 17.97 kB / 0.6934 GB, free: 2.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1594, allocations: 314.8 kB / 0.6937 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-05/0.1595, allocations: 139.9 kB / 0.6939 GB, free: 2.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1596, allocations: 143.9 kB / 0.694 GB, free: 2.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.1598, allocations: 284.8 kB / 0.6943 GB, free: 1.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1598, allocations: 0 / 0.6943 GB, free: 1.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002465/0.1601, allocations: 313.5 kB / 0.6946 GB, free: 1.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1601, allocations: 11.94 kB / 0.6946 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1601, allocations: 4.094 kB / 0.6946 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1601, allocations: 0 / 0.6946 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.1602, allocations: 0 / 0.6946 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1602, allocations: 7.922 kB / 0.6946 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.1602, allocations: 0 / 0.6946 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1603, allocations: 4 kB / 0.6946 GB, free: 1.438 MB / 494.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 9.952e-05/0.1604, allocations: 170.5 kB / 0.6948 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1604, allocations: 7.922 kB / 0.6948 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.1607, allocations: 320.7 kB / 0.6951 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1607, allocations: 0 / 0.6951 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1607, allocations: 8 kB / 0.6951 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1607, allocations: 3.938 kB / 0.6951 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1609, allocations: 289.6 kB / 0.6954 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1609, allocations: 0 / 0.6954 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.1609, allocations: 0 / 0.6954 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.161, allocations: 4 kB / 0.6954 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.161, allocations: 3.938 kB / 0.6954 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.161, allocations: 0 / 0.6954 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.161, allocations: 0 / 0.6954 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.1612, allocations: 341 kB / 0.6957 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.1613, allocations: 81.11 kB / 0.6958 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.1614, allocations: 3.984 kB / 0.6958 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.1614, allocations: 0 / 0.6958 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.1615, allocations: 4 kB / 0.6958 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1615, allocations: 0 / 0.6958 GB, free: 128 kB / 494.1 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.1616, allocations: 151.3 kB / 0.6959 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1616, allocations: 4 kB / 0.6959 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00136/0.1629, allocations: 0.5739 MB / 0.6965 GB, free: 15.4 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.002703/0.1656, allocations: 0.9188 MB / 0.6974 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.1659, allocations: 287.8 kB / 0.6977 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1659, allocations: 0 / 0.6977 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1661, allocations: 169.7 kB / 0.6978 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.1663, allocations: 7.938 kB / 0.6978 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1676, allocations: 1.01 MB / 0.6988 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.168, allocations: 0.8187 MB / 0.6996 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.168, allocations: 4 kB / 0.6996 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.1681, allocations: 11.44 kB / 0.6996 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1681, allocations: 3.938 kB / 0.6996 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.01936/0.1874, allocations: 12.13 MB / 0.7115 GB, free: 140 kB / 0.4981 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)