Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_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.001242/0.001242, 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.001539/0.001539, allocations: 194.4 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9241/0.9241, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.88 kB / 0.5055 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1673, allocations: 80.93 MB / 0.5845 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.003243/0.1706, allocations: 1.349 MB / 0.5859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.174, allocations: 1.796 MB / 0.5876 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.1741, allocations: 0 / 0.5876 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1742, allocations: 7.922 kB / 0.5876 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1744, allocations: 35.88 kB / 0.5877 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.1775, allocations: 1.146 MB / 0.5888 GB, free: 64 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1777, allocations: 51.78 kB / 0.5888 GB, free: 12 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.1777, allocations: 0 / 0.5888 GB, free: 12 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1778, allocations: 27.92 kB / 0.5888 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.1779, allocations: 31.83 kB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1779, allocations: 4 kB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.1795, allocations: 0.8461 MB / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1796, allocations: 71.81 kB / 0.5898 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.1797, allocations: 71.36 kB / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.1812, allocations: 0.8693 MB / 0.5907 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1812, allocations: 0 / 0.5907 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1812, allocations: 0 / 0.5907 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.1812, allocations: 0 / 0.5907 GB, free: 14.09 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.0008352/0.1821, allocations: 0.5878 MB / 0.5913 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1821, allocations: 8.75 kB / 0.5913 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.1822, allocations: 42.73 kB / 0.5913 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.1822, allocations: 28.56 kB / 0.5913 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1825, allocations: 226.8 kB / 0.5916 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1825, allocations: 8.062 kB / 0.5916 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.1825, allocations: 0 / 0.5916 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1827, allocations: 103 kB / 0.5917 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1827, allocations: 0 / 0.5917 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1827, allocations: 4 kB / 0.5917 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1827, allocations: 0 / 0.5917 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.1828, allocations: 79.95 kB / 0.5917 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.1831, allocations: 277.9 kB / 0.592 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1832, allocations: 130.4 kB / 0.5921 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1833, allocations: 108.9 kB / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.1834, allocations: 3.938 kB / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1834, allocations: 30.56 kB / 0.5923 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.1834, allocations: 0 / 0.5923 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004774/0.1839, allocations: 337.7 kB / 0.5926 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.184, allocations: 59.38 kB / 0.5926 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.1843, allocations: 257 kB / 0.5929 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1843, allocations: 25.7 kB / 0.5929 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1844, allocations: 132.7 kB / 0.593 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1845, allocations: 102.5 kB / 0.5931 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.1846, allocations: 25.7 kB / 0.5932 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1848, allocations: 342.8 kB / 0.5935 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/0.1849, allocations: 71.97 kB / 0.5936 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.185, allocations: 79.97 kB / 0.5936 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.1851, allocations: 197.8 kB / 0.5938 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1852, allocations: 0 / 0.5938 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002465/0.1854, allocations: 229.3 kB / 0.594 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1854, allocations: 4 kB / 0.5941 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.1855, allocations: 7.938 kB / 0.5941 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1855, allocations: 0 / 0.5941 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.103e-06/0.1855, allocations: 0 / 0.5941 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1855, allocations: 3.984 kB / 0.5941 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.1856, allocations: 15.83 kB / 0.5941 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1856, allocations: 4.062 kB / 0.5941 GB, free: 10.38 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.0001408/0.1857, allocations: 161 kB / 0.5942 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.1857, allocations: 23.62 kB / 0.5943 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.186, allocations: 252.4 kB / 0.5945 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1861, allocations: 3.938 kB / 0.5945 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1861, allocations: 4 kB / 0.5945 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1861, allocations: 32 / 0.5945 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1863, allocations: 285.8 kB / 0.5948 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.1863, allocations: 4 kB / 0.5948 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.1863, allocations: 0 / 0.5948 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1863, allocations: 0 / 0.5948 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1863, allocations: 0 / 0.5948 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1864, allocations: 3.938 kB / 0.5948 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1864, allocations: 0 / 0.5948 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1866, allocations: 264.6 kB / 0.595 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.1867, allocations: 104.8 kB / 0.5951 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1867, allocations: 0 / 0.5951 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.1868, allocations: 0 / 0.5951 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1868, allocations: 4 kB / 0.5951 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1868, allocations: 4 kB / 0.5951 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001696/0.187, allocations: 196.4 kB / 0.5953 GB, free: 9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.187, allocations: 0 / 0.5953 GB, free: 9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006774/0.1876, allocations: 207.9 kB / 0.5955 GB, free: 8.797 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.001492/0.1891, allocations: 1.03 MB / 0.5965 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.1895, allocations: 265.6 kB / 0.5968 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1895, allocations: 0 / 0.5968 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1896, allocations: 173.6 kB / 0.597 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1899, allocations: 24.53 kB / 0.597 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1926, allocations: 2.553 MB / 0.5995 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.193, allocations: 0.7671 MB / 0.6002 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.999e-05/0.193, allocations: 7.938 kB / 0.6002 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.1931, allocations: 55.42 kB / 0.6003 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.1931, allocations: 0 / 0.6003 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2684/0.4615, allocations: 7.622 MB / 0.6077 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.231, allocations: 14.2 kB / 0.6077 GB, free: 49.2 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)