Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.001565/0.001565, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 198.2 kB / 16.53 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.002511, allocations: 286.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 104.9 kB / 0.6066 GB, free: 24.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1574, allocations: 89.15 MB / 0.6937 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002525/0.16, allocations: 1.357 MB / 0.695 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.1628, allocations: 1.794 MB / 0.6967 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.1628, allocations: 0 / 0.6967 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.026e-05/0.1629, allocations: 9.516 kB / 0.6968 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.163, allocations: 31.83 kB / 0.6968 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.1656, allocations: 1.162 MB / 0.6979 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.1657, allocations: 51.77 kB / 0.698 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.1657, allocations: 4 kB / 0.698 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.1658, allocations: 31.84 kB / 0.698 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.1659, allocations: 19.92 kB / 0.698 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1659, allocations: 8 kB / 0.698 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1671, allocations: 0.854 MB / 0.6989 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.1672, allocations: 63.75 kB / 0.6989 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.1673, allocations: 67.44 kB / 0.699 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1684, allocations: 0.8731 MB / 0.6998 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1684, allocations: 0 / 0.6998 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1684, allocations: 0 / 0.6998 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1684, allocations: 0 / 0.6998 GB, free: 13.84 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007211/0.1691, allocations: 0.5878 MB / 0.7004 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1692, allocations: 12.03 kB / 0.7004 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.1693, allocations: 46.73 kB / 0.7005 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.1693, allocations: 20.66 kB / 0.7005 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1696, allocations: 230.7 kB / 0.7007 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1696, allocations: 384 / 0.7007 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-06/0.1696, allocations: 384 / 0.7007 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1697, allocations: 109.6 kB / 0.7008 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1697, allocations: 3.938 kB / 0.7008 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.1698, allocations: 0 / 0.7008 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1698, allocations: 0 / 0.7008 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.1699, allocations: 75.98 kB / 0.7009 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.1701, allocations: 277.9 kB / 0.7012 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1703, allocations: 122.5 kB / 0.7013 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1704, allocations: 105.4 kB / 0.7014 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1704, allocations: 3.938 kB / 0.7014 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1705, allocations: 38.48 kB / 0.7014 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.392e-06/0.1705, allocations: 0 / 0.7014 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004282/0.1709, allocations: 346.2 kB / 0.7017 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.171, allocations: 55.41 kB / 0.7018 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.1712, allocations: 253 kB / 0.702 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1712, allocations: 25.7 kB / 0.7021 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.1713, allocations: 128.7 kB / 0.7022 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.551e-05/0.1714, allocations: 106.4 kB / 0.7023 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.1715, allocations: 25.7 kB / 0.7023 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1717, allocations: 346.8 kB / 0.7026 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.1717, allocations: 79.91 kB / 0.7027 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.1718, allocations: 67.98 kB / 0.7028 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.1721, allocations: 205.8 kB / 0.703 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1721, allocations: 0 / 0.703 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002387/0.1723, allocations: 225.3 kB / 0.7032 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1723, allocations: 8 kB / 0.7032 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1724, allocations: 0 / 0.7032 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1724, allocations: 0 / 0.7032 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1724, allocations: 0 / 0.7032 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1724, allocations: 4.062 kB / 0.7032 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.1724, allocations: 11.84 kB / 0.7032 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1724, allocations: 0 / 0.7032 GB, free: 10.15 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): 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 prepare postOptimizeDAE: time 0.0001405/0.1726, allocations: 157.7 kB / 0.7034 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1726, allocations: 31.56 kB / 0.7034 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.173, allocations: 252.3 kB / 0.7036 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.173, allocations: 8.031 kB / 0.7036 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.173, allocations: 0 / 0.7036 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.173, allocations: 0 / 0.7036 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1733, allocations: 281.8 kB / 0.7039 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1733, allocations: 0 / 0.7039 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1733, allocations: 0 / 0.7039 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.1733, allocations: 0 / 0.7039 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1733, allocations: 0 / 0.7039 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1733, allocations: 7.984 kB / 0.7039 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1733, allocations: 4 kB / 0.7039 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.1736, allocations: 272.6 kB / 0.7042 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.1737, allocations: 100.7 kB / 0.7043 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1737, allocations: 0 / 0.7043 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.419e-05/0.1738, allocations: 4 kB / 0.7043 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.1738, allocations: 0 / 0.7043 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1738, allocations: 0 / 0.7043 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001819/0.174, allocations: 192.4 kB / 0.7045 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.174, allocations: 3.938 kB / 0.7045 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005272/0.1745, allocations: 207.9 kB / 0.7047 GB, free: 8.559 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.001194/0.1757, allocations: 1.027 MB / 0.7057 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.176, allocations: 269.5 kB / 0.7059 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.176, allocations: 0 / 0.7059 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.1762, allocations: 181.6 kB / 0.7061 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.1765, allocations: 20.62 kB / 0.7061 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.1791, allocations: 2.542 MB / 0.7086 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.1795, allocations: 0.7683 MB / 0.7094 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.1796, allocations: 3.984 kB / 0.7094 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.1796, allocations: 63.42 kB / 0.7094 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1796, allocations: 0 / 0.7094 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.21, allocations: 7.669 MB / 0.7169 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.31, allocations: 12.39 kB / 0.7169 GB, free: 12.08 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)