Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_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.001312/0.001312, allocations: 109.2 kB / 16.4 MB, free: 6.336 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.001301/0.001301, allocations: 189.1 kB / 17.33 MB, free: 5.816 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7755/0.7755, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.58 kB / 0.5736 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1337, allocations: 78.86 MB / 0.6506 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00224/0.136, allocations: 1.247 MB / 0.6518 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006501/0.1425, allocations: 4.486 MB / 0.6562 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1426, allocations: 0 / 0.6562 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.376e-05/0.1426, allocations: 11.94 kB / 0.6562 GB, free: 13.84 MB / 0.4981 GB [/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/IBPSA 4.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.003711/0.1464, allocations: 1.498 MB / 0.6576 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.035e-05/0.1465, allocations: 35.89 kB / 0.6577 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.294e-05/0.1465, allocations: 19.92 kB / 0.6577 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.1466, allocations: 0 / 0.6577 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.072e-05/0.1466, allocations: 4 kB / 0.6577 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.1467, allocations: 21.28 kB / 0.6577 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.1467, allocations: 0 / 0.6577 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.15, allocations: 2.282 MB / 0.66 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.1502, allocations: 242.1 kB / 0.6602 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.1506, allocations: 242.9 kB / 0.6604 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.1535, allocations: 2.213 MB / 0.6626 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1535, allocations: 0 / 0.6626 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1535, allocations: 0 / 0.6626 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.1535, allocations: 0 / 0.6626 GB, free: 7.277 MB / 0.4981 GB 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.002162/0.1557, allocations: 1.532 MB / 0.6641 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1557, allocations: 8.031 kB / 0.6641 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.1558, allocations: 30.75 kB / 0.6641 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.156, allocations: 48.61 kB / 0.6642 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.1567, allocations: 0.6365 MB / 0.6648 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-06/0.1567, allocations: 4 kB / 0.6648 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.1568, allocations: 0 / 0.6648 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.157, allocations: 165.6 kB / 0.6649 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.157, allocations: 7.922 kB / 0.6649 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.157, allocations: 4 kB / 0.665 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.157, allocations: 4 kB / 0.665 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.1572, allocations: 279.8 kB / 0.6652 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.1578, allocations: 0.5404 MB / 0.6657 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.158, allocations: 158.5 kB / 0.6659 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1581, allocations: 148.9 kB / 0.666 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.1581, allocations: 0 / 0.666 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1581, allocations: 34.56 kB / 0.6661 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1582, allocations: 4 kB / 0.6661 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0005869/0.1587, allocations: 0.4894 MB / 0.6666 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1588, allocations: 51.41 kB / 0.6666 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009275/0.1597, allocations: 0.6942 MB / 0.6673 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1597, allocations: 25.7 kB / 0.6673 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.1599, allocations: 228.1 kB / 0.6675 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.1599, allocations: 7.891 kB / 0.6675 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.16, allocations: 13.84 kB / 0.6675 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1601, allocations: 370.7 kB / 0.6679 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1603, allocations: 143.9 kB / 0.668 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1604, allocations: 139.9 kB / 0.6682 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.1606, allocations: 292.7 kB / 0.6685 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1606, allocations: 3.938 kB / 0.6685 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004136/0.161, allocations: 353.3 kB / 0.6688 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1611, allocations: 12.09 kB / 0.6688 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1611, allocations: 0 / 0.6688 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1611, allocations: 0 / 0.6688 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.1611, allocations: 0 / 0.6688 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1612, allocations: 0 / 0.6688 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.1613, allocations: 32 kB / 0.6688 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1614, allocations: 0 / 0.6688 GB, free: 0.625 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.0001736/0.1615, allocations: 209.7 kB / 0.669 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.1617, allocations: 47.67 kB / 0.6691 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.1621, allocations: 377 kB / 0.6694 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1621, allocations: 7.938 kB / 0.6694 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1621, allocations: 0 / 0.6694 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1621, allocations: 0 / 0.6694 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.1625, allocations: 441.5 kB / 0.6699 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1626, allocations: 0 / 0.6699 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1626, allocations: 0 / 0.6699 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1626, allocations: 0 / 0.6699 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.1626, allocations: 0 / 0.6699 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1626, allocations: 0 / 0.6699 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1626, allocations: 3.938 kB / 0.6699 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.163, allocations: 392.7 kB / 0.6702 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.1634, allocations: 336.6 kB / 0.6706 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.1635, allocations: 7.984 kB / 0.6706 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.1637, allocations: 32 kB / 0.6706 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.1638, allocations: 3.938 kB / 0.6706 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1638, allocations: 0 / 0.6706 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000745/0.1645, allocations: 0.53 MB / 0.6711 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1645, allocations: 4 kB / 0.6711 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001307/0.1658, allocations: 0.5764 MB / 0.6717 GB, free: 13.59 MB / 0.5137 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.003022/0.1689, allocations: 1.761 MB / 0.6734 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1692, allocations: 283.9 kB / 0.6737 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1692, allocations: 3.938 kB / 0.6737 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1693, allocations: 169.6 kB / 0.6738 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1697, allocations: 34.31 kB / 0.6739 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00891/0.1786, allocations: 7.188 MB / 0.6809 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.179, allocations: 0.8158 MB / 0.6817 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001006/0.1801, allocations: 453.1 kB / 0.6821 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006353/0.1807, allocations: 367.2 kB / 0.6825 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.1807, allocations: 0 / 0.6825 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05496/0.2357, allocations: 25.74 MB / 0.7076 GB, free: 8.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.98/9.216, allocations: 13.94 kB / 0.7076 GB, free: 8.984 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)