Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.009513/0.009513, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001843/0.001844, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7894/0.7894, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.27 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1673, allocations: 80.2 MB / 0.6593 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.00363/0.171, allocations: 1.377 MB / 0.6606 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.1753, allocations: 1.782 MB / 0.6623 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.1754, allocations: 4 kB / 0.6623 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1756, allocations: 7.922 kB / 0.6624 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.1759, allocations: 35.88 kB / 0.6624 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.1803, allocations: 1.149 MB / 0.6635 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1805, allocations: 43.8 kB / 0.6636 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.495e-05/0.1806, allocations: 7.984 kB / 0.6636 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1807, allocations: 27.84 kB / 0.6636 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1809, allocations: 35.91 kB / 0.6636 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1809, allocations: 0 / 0.6636 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.183, allocations: 0.8929 MB / 0.6645 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.1832, allocations: 59.83 kB / 0.6645 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.1833, allocations: 71.36 kB / 0.6646 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.185, allocations: 0.8805 MB / 0.6655 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.185, allocations: 0 / 0.6655 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.572e-06/0.185, allocations: 3.984 kB / 0.6655 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.1851, allocations: 0 / 0.6655 GB, free: 4.34 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.001064/0.1861, allocations: 0.6023 MB / 0.6661 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.1862, allocations: 12.03 kB / 0.6661 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.878e-05/0.1863, allocations: 42.73 kB / 0.6661 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.1864, allocations: 24.75 kB / 0.6661 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.1867, allocations: 227 kB / 0.6664 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1867, allocations: 7.922 kB / 0.6664 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1867, allocations: 0 / 0.6664 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.187, allocations: 105.7 kB / 0.6665 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.187, allocations: 0 / 0.6665 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.187, allocations: 0 / 0.6665 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.187, allocations: 8 kB / 0.6665 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1871, allocations: 67.97 kB / 0.6665 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1875, allocations: 285.8 kB / 0.6668 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1877, allocations: 126.5 kB / 0.6669 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.1879, allocations: 104.9 kB / 0.667 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1879, allocations: 0 / 0.667 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.188, allocations: 34.56 kB / 0.6671 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.188, allocations: 4 kB / 0.6671 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0005977/0.1886, allocations: 332.1 kB / 0.6674 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1886, allocations: 51.41 kB / 0.6674 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.189, allocations: 257 kB / 0.6677 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.189, allocations: 25.7 kB / 0.6677 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1892, allocations: 132.6 kB / 0.6678 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.1893, allocations: 115 kB / 0.6679 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.1894, allocations: 29.7 kB / 0.668 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1896, allocations: 346.8 kB / 0.6683 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1897, allocations: 75.97 kB / 0.6684 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1898, allocations: 75.95 kB / 0.6684 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.1901, allocations: 200.8 kB / 0.6686 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1901, allocations: 0 / 0.6686 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003456/0.1905, allocations: 221.8 kB / 0.6689 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1905, allocations: 5.562 kB / 0.6689 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.1906, allocations: 4 kB / 0.6689 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.1906, allocations: 0 / 0.6689 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.1906, allocations: 8 kB / 0.6689 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1906, allocations: 15.84 kB / 0.6689 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.1907, allocations: 15.84 kB / 0.6689 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1907, allocations: 0 / 0.6689 GB, free: 0.5977 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.0001789/0.1909, allocations: 157.7 kB / 0.669 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.191, allocations: 23.81 kB / 0.6691 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.1914, allocations: 251.1 kB / 0.6693 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1915, allocations: 0 / 0.6693 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1915, allocations: 0 / 0.6693 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1915, allocations: 8.031 kB / 0.6693 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.1918, allocations: 281.9 kB / 0.6696 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.1919, allocations: 8 kB / 0.6696 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-06/0.1919, allocations: 0 / 0.6696 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1919, allocations: 0 / 0.6696 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1919, allocations: 0 / 0.6696 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1919, allocations: 0 / 0.6696 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1919, allocations: 0 / 0.6696 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.1923, allocations: 268.7 kB / 0.6699 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.1924, allocations: 104.9 kB / 0.67 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1925, allocations: 0 / 0.67 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.1925, allocations: 0 / 0.67 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.1926, allocations: 4 kB / 0.67 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1926, allocations: 3.984 kB / 0.67 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002608/0.1928, allocations: 188.5 kB / 0.6701 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.1929, allocations: 4 kB / 0.6701 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001008/0.1939, allocations: 211.4 kB / 0.6703 GB, free: 15.01 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.001713/0.1956, allocations: 1.042 MB / 0.6714 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004486/0.1961, allocations: 265.6 kB / 0.6716 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1961, allocations: 0 / 0.6716 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.1963, allocations: 177.6 kB / 0.6718 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1967, allocations: 15.73 kB / 0.6718 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.2005, allocations: 2.58 MB / 0.6743 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.2009, allocations: 0.771 MB / 0.6751 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.588e-05/0.201, allocations: 3.984 kB / 0.6751 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.2011, allocations: 55.42 kB / 0.6751 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.2011, allocations: 0 / 0.6751 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.2377, allocations: 7.697 MB / 0.6826 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.759/8.997, allocations: 13.14 kB / 0.6827 GB, free: 2.453 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)