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.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001325/0.001325, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 291 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8982/0.8982, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 90.73 kB / 0.5946 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1336, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002047/0.1356, allocations: 1.31 MB / 0.6809 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006079/0.1417, allocations: 4.766 MB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-06/0.1418, allocations: 0 / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.1418, allocations: 0 / 0.6855 GB, free: 10.96 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.002491/0.1443, allocations: 1.18 MB / 0.6867 GB, free: 9.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.919e-05/0.1444, allocations: 31.89 kB / 0.6867 GB, free: 9.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.043e-05/0.1444, allocations: 31.97 kB / 0.6867 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.433e-05/0.1444, allocations: 3.984 kB / 0.6867 GB, free: 9.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.1445, allocations: 7.938 kB / 0.6867 GB, free: 9.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.714e-05/0.1445, allocations: 66.55 kB / 0.6868 GB, free: 9.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-06/0.1446, allocations: 8 kB / 0.6868 GB, free: 9.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.1472, allocations: 2.238 MB / 0.689 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.1474, allocations: 242.1 kB / 0.6892 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.1477, allocations: 286.8 kB / 0.6895 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.15, allocations: 2.277 MB / 0.6917 GB, free: 4.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1501, allocations: 0 / 0.6917 GB, free: 4.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1501, allocations: 0 / 0.6917 GB, free: 4.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1501, allocations: 0 / 0.6917 GB, free: 4.594 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.0019/0.152, allocations: 1.488 MB / 0.6932 GB, free: 3.055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.152, allocations: 8.031 kB / 0.6932 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.457e-05/0.152, allocations: 34.73 kB / 0.6932 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.1522, allocations: 44.38 kB / 0.6933 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.1529, allocations: 0.6363 MB / 0.6939 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-06/0.1529, allocations: 4.375 kB / 0.6939 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1529, allocations: 3.938 kB / 0.6939 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1531, allocations: 169.6 kB / 0.6941 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-06/0.1531, allocations: 3.938 kB / 0.6941 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.1531, allocations: 0 / 0.6941 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-06/0.1531, allocations: 0 / 0.6941 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.1533, allocations: 283.9 kB / 0.6943 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.1538, allocations: 0.5365 MB / 0.6949 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.154, allocations: 166.4 kB / 0.695 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.1541, allocations: 148.9 kB / 0.6952 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.1541, allocations: 0 / 0.6952 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1541, allocations: 34.55 kB / 0.6952 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1541, allocations: 0 / 0.6952 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005192/0.1546, allocations: 493 kB / 0.6957 GB, free: 400 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1547, allocations: 59.53 kB / 0.6957 GB, free: 328 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/0.1555, allocations: 0.6903 MB / 0.6964 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.1555, allocations: 29.64 kB / 0.6964 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1557, allocations: 228.1 kB / 0.6966 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1557, allocations: 7.922 kB / 0.6966 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.1557, allocations: 13.72 kB / 0.6967 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1558, allocations: 362.8 kB / 0.697 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-05/0.1559, allocations: 139.9 kB / 0.6971 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.156, allocations: 147.9 kB / 0.6973 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1562, allocations: 280.8 kB / 0.6975 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1562, allocations: 4 kB / 0.6975 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003797/0.1566, allocations: 361 kB / 0.6979 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1566, allocations: 4 kB / 0.6979 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1566, allocations: 0 / 0.6979 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.1566, allocations: 0 / 0.6979 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.1567, allocations: 7.938 kB / 0.6979 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1567, allocations: 0 / 0.6979 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.1569, allocations: 36.08 kB / 0.6979 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1569, allocations: 0 / 0.6979 GB, free: 14 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.0001411/0.1571, allocations: 210.4 kB / 0.6981 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.1572, allocations: 47.34 kB / 0.6982 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.1575, allocations: 377 kB / 0.6985 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1575, allocations: 0 / 0.6985 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1576, allocations: 0 / 0.6985 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1576, allocations: 0 / 0.6985 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.1579, allocations: 449.4 kB / 0.699 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1579, allocations: 3.984 kB / 0.699 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1579, allocations: 0 / 0.699 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1579, allocations: 0 / 0.699 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.1579, allocations: 4 kB / 0.699 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.158, allocations: 0 / 0.699 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.158, allocations: 3.938 kB / 0.699 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.1584, allocations: 376.4 kB / 0.6993 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.1587, allocations: 344.3 kB / 0.6997 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.1589, allocations: 0 / 0.6997 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1591, allocations: 31.94 kB / 0.6997 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.1591, allocations: 0 / 0.6997 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1591, allocations: 4 kB / 0.6997 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006474/0.1598, allocations: 0.5378 MB / 0.7002 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1598, allocations: 0 / 0.7002 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001113/0.1609, allocations: 0.5739 MB / 0.7008 GB, free: 10.98 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.002538/0.1634, allocations: 1.747 MB / 0.7025 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.1637, allocations: 279.9 kB / 0.7028 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1637, allocations: 0 / 0.7028 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1638, allocations: 173.7 kB / 0.7029 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.1641, allocations: 34.31 kB / 0.703 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008466/0.1726, allocations: 7.464 MB / 0.7102 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.173, allocations: 0.8197 MB / 0.711 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001292/0.1743, allocations: 451.5 kB / 0.7115 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/0.175, allocations: 375.3 kB / 0.7118 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/0.175, allocations: 0 / 0.7118 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.2119, allocations: 25.33 MB / 0.7366 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.2122, allocations: 341.5 kB / 0.7369 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.448, allocations: 0 / 0.7369 GB, free: 6.184 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)