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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_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.001003/0.001003, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001047/0.001047, allocations: 191.2 kB / 16.25 MB, free: 6.641 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 290.7 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 95.39 kB / 0.5948 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.148, allocations: 86.98 MB / 0.6798 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002549/0.1506, allocations: 1.311 MB / 0.6811 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006856/0.1575, allocations: 4.507 MB / 0.6855 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.1576, allocations: 0 / 0.6855 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.146e-05/0.1577, allocations: 0 / 0.6855 GB, free: 11.12 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.0044/0.1621, allocations: 1.337 MB / 0.6868 GB, free: 9.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.509e-05/0.1622, allocations: 39.89 kB / 0.6868 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.45e-05/0.1623, allocations: 8 kB / 0.6868 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.1623, allocations: 0 / 0.6868 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.1624, allocations: 4 kB / 0.6868 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1625, allocations: 70.55 kB / 0.6869 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1625, allocations: 0 / 0.6869 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.1663, allocations: 2.246 MB / 0.6891 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.1665, allocations: 250.1 kB / 0.6893 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.1669, allocations: 290.7 kB / 0.6896 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.1707, allocations: 2.203 MB / 0.6917 GB, free: 4.676 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1707, allocations: 0 / 0.6917 GB, free: 4.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1707, allocations: 4 kB / 0.6917 GB, free: 4.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1707, allocations: 0 / 0.6917 GB, free: 4.672 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.002351/0.1731, allocations: 1.495 MB / 0.6932 GB, free: 3.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1732, allocations: 8.031 kB / 0.6932 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.1732, allocations: 34.69 kB / 0.6932 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.1734, allocations: 44.38 kB / 0.6933 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.1741, allocations: 0.6364 MB / 0.6939 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1741, allocations: 384 / 0.6939 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1742, allocations: 3.938 kB / 0.6939 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1744, allocations: 173.6 kB / 0.6941 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1744, allocations: 0 / 0.6941 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1744, allocations: 0 / 0.6941 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1744, allocations: 0 / 0.6941 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.1746, allocations: 279.9 kB / 0.6943 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.1752, allocations: 0.5365 MB / 0.6949 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1753, allocations: 158.4 kB / 0.695 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1755, allocations: 156.9 kB / 0.6952 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.1755, allocations: 0 / 0.6952 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1755, allocations: 30.56 kB / 0.6952 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1755, allocations: 0 / 0.6952 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000613/0.1761, allocations: 493 kB / 0.6957 GB, free: 484 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.1762, allocations: 59.34 kB / 0.6957 GB, free: 412 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009088/0.1771, allocations: 0.6981 MB / 0.6964 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1772, allocations: 29.7 kB / 0.6964 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1773, allocations: 224.2 kB / 0.6966 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.1774, allocations: 0 / 0.6966 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1774, allocations: 13.72 kB / 0.6967 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1775, allocations: 366.8 kB / 0.697 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1777, allocations: 139.9 kB / 0.6971 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.1778, allocations: 143.9 kB / 0.6973 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.178, allocations: 288.8 kB / 0.6976 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.178, allocations: 4.062 kB / 0.6976 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004288/0.1784, allocations: 364.8 kB / 0.6979 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1784, allocations: 4 kB / 0.6979 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1785, allocations: 0 / 0.6979 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1785, allocations: 0 / 0.6979 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.1785, allocations: 4 kB / 0.6979 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1785, allocations: 0 / 0.6979 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.1788, allocations: 32 kB / 0.6979 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1788, allocations: 3.938 kB / 0.6979 GB, free: 14.08 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.0001665/0.1789, allocations: 218.4 kB / 0.6982 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.1791, allocations: 47.42 kB / 0.6982 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.1795, allocations: 373 kB / 0.6986 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1795, allocations: 0 / 0.6986 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1795, allocations: 0 / 0.6986 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1795, allocations: 0 / 0.6986 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1799, allocations: 441.5 kB / 0.699 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1799, allocations: 0 / 0.699 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.18, allocations: 0 / 0.699 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.18, allocations: 7.938 kB / 0.699 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.18, allocations: 4.031 kB / 0.699 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.18, allocations: 0 / 0.699 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.18, allocations: 0 / 0.699 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.1805, allocations: 388.4 kB / 0.6994 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.1809, allocations: 340.3 kB / 0.6997 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.181, allocations: 0 / 0.6997 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.1812, allocations: 28 kB / 0.6997 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.1812, allocations: 4.031 kB / 0.6997 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1813, allocations: 7.938 kB / 0.6997 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007221/0.182, allocations: 0.53 MB / 0.7002 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.182, allocations: 0 / 0.7002 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00182/0.1838, allocations: 0.5622 MB / 0.7008 GB, free: 11.07 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.003064/0.1869, allocations: 1.756 MB / 0.7025 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.1872, allocations: 279.9 kB / 0.7028 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1872, allocations: 3.938 kB / 0.7028 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1873, allocations: 169.6 kB / 0.7029 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1877, allocations: 34.31 kB / 0.703 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009275/0.197, allocations: 7.46 MB / 0.7103 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.1974, allocations: 0.8197 MB / 0.7111 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001273/0.1987, allocations: 443 kB / 0.7115 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/0.1994, allocations: 379.2 kB / 0.7118 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.1994, allocations: 3.938 kB / 0.7118 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.2425, allocations: 25.54 MB / 0.7368 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.2428, allocations: 335.3 kB / 0.7371 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/2.657, allocations: 0 / 0.7371 GB, free: 6.07 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)