Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.007268/0.007268, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001684/0.001685, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7262/0.7262, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.14 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1703, allocations: 80.21 MB / 0.6593 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002834/0.1732, allocations: 1.429 MB / 0.6607 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004364/0.1776, allocations: 2.868 MB / 0.6635 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.1777, allocations: 0 / 0.6635 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.1777, allocations: 7.922 kB / 0.6635 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.1778, allocations: 15.86 kB / 0.6635 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004083/0.1819, allocations: 1.591 MB / 0.665 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.36e-05/0.182, allocations: 47.67 kB / 0.6651 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.182, allocations: 7.984 kB / 0.6651 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.1821, allocations: 15.94 kB / 0.6651 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.1821, allocations: 19.86 kB / 0.6651 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1821, allocations: 0 / 0.6651 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.1845, allocations: 1.525 MB / 0.6666 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.1846, allocations: 11.98 kB / 0.6666 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1846, allocations: 15.88 kB / 0.6666 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.1863, allocations: 1.087 MB / 0.6677 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1864, allocations: 7.938 kB / 0.6677 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.15e-06/0.1864, allocations: 0 / 0.6677 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.1864, allocations: 7.938 kB / 0.6677 GB, free: 2.07 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006213/0.187, allocations: 0.5325 MB / 0.6682 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1871, allocations: 8.031 kB / 0.6682 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.1871, allocations: 114 kB / 0.6684 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.1872, allocations: 84.17 kB / 0.6684 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1873, allocations: 249.3 kB / 0.6687 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.1874, allocations: 162.4 kB / 0.6688 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.1874, allocations: 154.6 kB / 0.669 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.933e-05/0.1875, allocations: 105 kB / 0.6691 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.1875, allocations: 79.27 kB / 0.6692 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.1876, allocations: 150.6 kB / 0.6693 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.1877, allocations: 154.5 kB / 0.6694 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.1877, allocations: 154.6 kB / 0.6696 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.188, allocations: 465.9 kB / 0.67 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.34e-05/0.1881, allocations: 165.1 kB / 0.6702 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.1881, allocations: 84.14 kB / 0.6703 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.1882, allocations: 79.28 kB / 0.6703 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.1882, allocations: 109.8 kB / 0.6705 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1882, allocations: 0 / 0.6705 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.596e-05/0.1883, allocations: 37.66 kB / 0.6705 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.1884, allocations: 126.7 kB / 0.6706 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1885, allocations: 127.9 kB / 0.6707 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1885, allocations: 25.7 kB / 0.6708 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.1886, allocations: 100.1 kB / 0.6708 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.1886, allocations: 0 / 0.6708 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1886, allocations: 17.72 kB / 0.6709 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.1887, allocations: 322.8 kB / 0.6712 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.1887, allocations: 8 kB / 0.6712 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.1887, allocations: 0 / 0.6712 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.1888, allocations: 24.84 kB / 0.6712 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1888, allocations: 0 / 0.6712 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001412/0.1889, allocations: 53.7 kB / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.189, allocations: 8 kB / 0.6713 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.189, allocations: 4 kB / 0.6713 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.189, allocations: 0 / 0.6713 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.189, allocations: 0 / 0.6713 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.189, allocations: 0 / 0.6713 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.1891, allocations: 3.938 kB / 0.6713 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1891, allocations: 4 kB / 0.6713 GB, free: 14.18 MB / 0.5137 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 9.313e-05/0.1892, allocations: 185.1 kB / 0.6715 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.1892, allocations: 120.9 kB / 0.6716 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.1893, allocations: 112.6 kB / 0.6717 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.937e-05/0.1893, allocations: 188.1 kB / 0.6719 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.538e-05/0.1894, allocations: 176.3 kB / 0.672 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.675e-05/0.1895, allocations: 176.3 kB / 0.6722 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1897, allocations: 437 kB / 0.6726 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/0.1897, allocations: 101 kB / 0.6727 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.1898, allocations: 104.9 kB / 0.6728 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.647e-05/0.1898, allocations: 176.3 kB / 0.673 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.1899, allocations: 184.2 kB / 0.6731 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-05/0.19, allocations: 184.2 kB / 0.6733 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.868e-05/0.19, allocations: 184.3 kB / 0.6735 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.1902, allocations: 311.7 kB / 0.6738 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.1902, allocations: 190 kB / 0.674 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.1903, allocations: 188.2 kB / 0.6742 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.1904, allocations: 105 kB / 0.6743 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.1905, allocations: 184.2 kB / 0.6744 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.1905, allocations: 101 kB / 0.6745 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.724e-05/0.1906, allocations: 99.25 kB / 0.6746 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1906, allocations: 0 / 0.6746 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007329/0.1913, allocations: 287 kB / 0.6749 GB, free: 10.24 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001264/0.1926, allocations: 1.182 MB / 0.6761 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.1927, allocations: 45.69 kB / 0.6761 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1927, allocations: 64 / 0.6761 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.1927, allocations: 4 kB / 0.6761 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1931, allocations: 457.7 kB / 0.6765 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.1944, allocations: 1.599 MB / 0.6781 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1947, allocations: 0.6885 MB / 0.6788 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.47e-05/0.1947, allocations: 0 / 0.6788 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1947, allocations: 19.44 kB / 0.6788 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1947, allocations: 0 / 0.6788 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.2199, allocations: 7.03 MB / 0.6857 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/8.539, allocations: 14.59 kB / 0.6857 GB, free: 15.27 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)