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.00132/0.00132, allocations: 108 kB / 15.61 MB, free: 148 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.001321/0.001321, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 275 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 104 kB / 0.5954 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.157, allocations: 86.99 MB / 0.6804 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002457/0.1595, allocations: 1.357 MB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.1624, allocations: 1.788 MB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.1624, allocations: 0 / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.144e-05/0.1625, allocations: 8.703 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.1627, allocations: 37.55 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.1655, allocations: 1.149 MB / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1656, allocations: 51.78 kB / 0.6846 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.1657, allocations: 4.266 kB / 0.6846 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.1658, allocations: 27.91 kB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.1659, allocations: 23.86 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1659, allocations: 4 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.1672, allocations: 0.854 MB / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1673, allocations: 71.75 kB / 0.6856 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.1674, allocations: 59.44 kB / 0.6857 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1686, allocations: 0.8806 MB / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1686, allocations: 0 / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1686, allocations: 0 / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1686, allocations: 0 / 0.6865 GB, free: 10.2 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007392/0.1693, allocations: 0.5839 MB / 0.6871 GB, free: 9.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1694, allocations: 8.031 kB / 0.6871 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.1694, allocations: 42.73 kB / 0.6871 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.1695, allocations: 24.66 kB / 0.6872 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1697, allocations: 226.7 kB / 0.6874 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-06/0.1697, allocations: 384 / 0.6874 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1697, allocations: 384 / 0.6874 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1699, allocations: 105.6 kB / 0.6875 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.17, allocations: 0 / 0.6875 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.17, allocations: 4 kB / 0.6875 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.17, allocations: 3.984 kB / 0.6875 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.788e-05/0.1701, allocations: 75.92 kB / 0.6876 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.1704, allocations: 281.9 kB / 0.6878 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1705, allocations: 118.6 kB / 0.6879 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1706, allocations: 108.9 kB / 0.688 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.1707, allocations: 3.938 kB / 0.688 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1707, allocations: 30.56 kB / 0.6881 GB, free: 8.434 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.102e-06/0.1707, allocations: 0 / 0.6881 GB, free: 8.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004618/0.1712, allocations: 339.6 kB / 0.6884 GB, free: 8.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1712, allocations: 55.44 kB / 0.6885 GB, free: 8.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.1715, allocations: 261 kB / 0.6887 GB, free: 7.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1715, allocations: 25.7 kB / 0.6887 GB, free: 7.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.1716, allocations: 128.7 kB / 0.6888 GB, free: 7.609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.988e-05/0.1718, allocations: 102.4 kB / 0.6889 GB, free: 7.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.1718, allocations: 25.7 kB / 0.689 GB, free: 7.477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.172, allocations: 342.8 kB / 0.6893 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.1721, allocations: 75.92 kB / 0.6894 GB, free: 7.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.1721, allocations: 83.95 kB / 0.6895 GB, free: 6.977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.1724, allocations: 196.7 kB / 0.6896 GB, free: 6.781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1724, allocations: 3.938 kB / 0.6896 GB, free: 6.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002662/0.1726, allocations: 229.5 kB / 0.6899 GB, free: 6.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1727, allocations: 4 kB / 0.6899 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.1727, allocations: 8 kB / 0.6899 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1727, allocations: 0 / 0.6899 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.1727, allocations: 0 / 0.6899 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1727, allocations: 0 / 0.6899 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.1728, allocations: 15.78 kB / 0.6899 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1728, allocations: 4.062 kB / 0.6899 GB, free: 6.516 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): 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.0001469/0.173, allocations: 162.4 kB / 0.69 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.173, allocations: 23.66 kB / 0.6901 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.1733, allocations: 258 kB / 0.6903 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1733, allocations: 7.969 kB / 0.6903 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1733, allocations: 4 kB / 0.6903 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1734, allocations: 4.031 kB / 0.6903 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.1736, allocations: 273.8 kB / 0.6906 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.1736, allocations: 4 kB / 0.6906 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1736, allocations: 0 / 0.6906 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.1736, allocations: 0 / 0.6906 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.1737, allocations: 4 kB / 0.6906 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1737, allocations: 0 / 0.6906 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1737, allocations: 0 / 0.6906 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.174, allocations: 260.7 kB / 0.6908 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.1741, allocations: 108.7 kB / 0.691 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1741, allocations: 0 / 0.691 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.521e-05/0.1741, allocations: 0 / 0.691 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.1742, allocations: 7.938 kB / 0.691 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1742, allocations: 0 / 0.691 GB, free: 5.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1744, allocations: 188.5 kB / 0.6911 GB, free: 5.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1744, allocations: 0 / 0.6911 GB, free: 5.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006717/0.175, allocations: 207.9 kB / 0.6913 GB, free: 4.926 MB / 494.1 MB 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.001378/0.1764, allocations: 1.03 MB / 0.6923 GB, free: 3.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.1768, allocations: 265.6 kB / 0.6926 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1768, allocations: 0 / 0.6926 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.177, allocations: 181.6 kB / 0.6928 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.1772, allocations: 25.53 kB / 0.6928 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.1801, allocations: 2.552 MB / 0.6953 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1806, allocations: 0.767 MB / 0.696 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.1806, allocations: 4 kB / 0.696 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.1807, allocations: 55.41 kB / 0.6961 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1807, allocations: 0 / 0.6961 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.2125, allocations: 7.671 MB / 0.7036 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.014, allocations: 16.39 kB / 0.7036 GB, free: 8.449 MB / 0.4981 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)