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.001115/0.001118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00116/0.00116, allocations: 191.6 kB / 16.25 MB, free: 6.617 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 291.1 kB / 290.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9438/0.9438, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 91.8 kB / 0.5947 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1459, allocations: 86.98 MB / 0.6797 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002366/0.1483, allocations: 1.312 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006966/0.1553, allocations: 4.493 MB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.1554, allocations: 4 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.487e-05/0.1556, allocations: 3.938 kB / 0.6853 GB, free: 11.21 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/BuildingSystems 2.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.00385/0.1594, allocations: 1.338 MB / 0.6866 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.81e-05/0.1595, allocations: 31.91 kB / 0.6867 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.1596, allocations: 15.98 kB / 0.6867 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.1596, allocations: 4 kB / 0.6867 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.1596, allocations: 8 kB / 0.6867 GB, free: 9.809 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.1597, allocations: 70.48 kB / 0.6868 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.1597, allocations: 0 / 0.6868 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.1624, allocations: 2.242 MB / 0.689 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1625, allocations: 153.2 kB / 0.6891 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.1626, allocations: 29.22 kB / 0.6891 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.1645, allocations: 1.747 MB / 0.6908 GB, free: 5.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1645, allocations: 0 / 0.6908 GB, free: 5.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.1645, allocations: 0 / 0.6908 GB, free: 5.566 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1645, allocations: 3.938 kB / 0.6908 GB, free: 5.562 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.0007335/0.1653, allocations: 0.6164 MB / 0.6914 GB, free: 4.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1653, allocations: 12.03 kB / 0.6915 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.1653, allocations: 0.9375 kB / 0.6915 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1654, allocations: 160.4 kB / 0.6916 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1655, allocations: 8.359 kB / 0.6916 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1655, allocations: 12.06 kB / 0.6916 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1656, allocations: 165.6 kB / 0.6918 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1656, allocations: 0 / 0.6918 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.1657, allocations: 0 / 0.6918 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1657, allocations: 4 kB / 0.6918 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.1658, allocations: 275.9 kB / 0.6921 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.1661, allocations: 289.6 kB / 0.6923 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.1662, allocations: 162.5 kB / 0.6925 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1664, allocations: 152.8 kB / 0.6926 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.1664, allocations: 0 / 0.6926 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1664, allocations: 30.56 kB / 0.6927 GB, free: 3.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1664, allocations: 0 / 0.6927 GB, free: 3.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003915/0.1668, allocations: 461.4 kB / 0.6931 GB, free: 3.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1668, allocations: 51.41 kB / 0.6932 GB, free: 3.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1669, allocations: 173.9 kB / 0.6933 GB, free: 2.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.167, allocations: 25.7 kB / 0.6933 GB, free: 2.809 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.167, allocations: 84.14 kB / 0.6934 GB, free: 2.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.167, allocations: 0 / 0.6934 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.167, allocations: 13.72 kB / 0.6934 GB, free: 2.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.1671, allocations: 310.8 kB / 0.6937 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.1672, allocations: 139.9 kB / 0.6939 GB, free: 2.254 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.402e-05/0.1673, allocations: 147.9 kB / 0.694 GB, free: 2.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1675, allocations: 288.9 kB / 0.6943 GB, free: 1.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1675, allocations: 0 / 0.6943 GB, free: 1.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002278/0.1678, allocations: 325.4 kB / 0.6946 GB, free: 1.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1678, allocations: 4 kB / 0.6946 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1678, allocations: 7.984 kB / 0.6946 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1678, allocations: 0 / 0.6946 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.1679, allocations: 0 / 0.6946 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1679, allocations: 0 / 0.6946 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.168, allocations: 0 / 0.6946 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.168, allocations: 8.031 kB / 0.6946 GB, free: 1.48 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.25e-05/0.1681, allocations: 170.4 kB / 0.6948 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.1681, allocations: 3.938 kB / 0.6948 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.1684, allocations: 320.7 kB / 0.6951 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1684, allocations: 0 / 0.6951 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1684, allocations: 3.938 kB / 0.6951 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1684, allocations: 4 kB / 0.6951 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.1686, allocations: 289.5 kB / 0.6954 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1686, allocations: 0 / 0.6954 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1686, allocations: 7.969 kB / 0.6954 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1686, allocations: 4 kB / 0.6954 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1686, allocations: 0 / 0.6954 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1686, allocations: 0 / 0.6954 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1686, allocations: 0 / 0.6954 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1689, allocations: 341 kB / 0.6957 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.1689, allocations: 77.11 kB / 0.6958 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.169, allocations: 4.031 kB / 0.6958 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.1691, allocations: 0 / 0.6958 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-06/0.1691, allocations: 0 / 0.6958 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.1691, allocations: 4 kB / 0.6958 GB, free: 180 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.171e-05/0.1692, allocations: 151.2 kB / 0.6959 GB, free: 28 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1692, allocations: 0 / 0.6959 GB, free: 28 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001105/0.1703, allocations: 0.57 MB / 0.6965 GB, free: 15.46 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.002062/0.1723, allocations: 0.9251 MB / 0.6974 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.1726, allocations: 283.8 kB / 0.6977 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1726, allocations: 0 / 0.6977 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1727, allocations: 177.6 kB / 0.6978 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.1729, allocations: 3.938 kB / 0.6978 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.174, allocations: 1.016 MB / 0.6988 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1743, allocations: 0.8146 MB / 0.6996 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.897e-05/0.1743, allocations: 0 / 0.6996 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.1744, allocations: 11.44 kB / 0.6996 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1744, allocations: 4 kB / 0.6996 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.01756/0.1919, allocations: 12.25 MB / 0.7116 GB, free: 72 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)