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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.005932/0.005932, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001292/0.001292, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7735/0.7735, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 66.89 kB / 0.5852 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1702, allocations: 80.92 MB / 0.6642 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002735/0.173, allocations: 1.432 MB / 0.6656 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004553/0.1776, allocations: 2.833 MB / 0.6684 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.1777, allocations: 0 / 0.6684 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.1777, allocations: 7.922 kB / 0.6684 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.475e-05/0.1778, allocations: 15.86 kB / 0.6684 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.1821, allocations: 1.549 MB / 0.6699 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1823, allocations: 43.73 kB / 0.67 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.1823, allocations: 3.938 kB / 0.67 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/0.1824, allocations: 19.91 kB / 0.67 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.65e-05/0.1824, allocations: 11.94 kB / 0.67 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1824, allocations: 0 / 0.67 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.1848, allocations: 1.482 MB / 0.6715 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.1848, allocations: 15.92 kB / 0.6715 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.1849, allocations: 19.88 kB / 0.6715 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.1866, allocations: 1.068 MB / 0.6725 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1866, allocations: 3.938 kB / 0.6725 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1866, allocations: 0 / 0.6725 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1866, allocations: 0 / 0.6725 GB, free: 13.73 MB / 0.5137 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.0007003/0.1873, allocations: 0.5285 MB / 0.673 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1873, allocations: 8.031 kB / 0.6731 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.1874, allocations: 106 kB / 0.6732 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.1875, allocations: 84.22 kB / 0.6732 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1876, allocations: 253.3 kB / 0.6735 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.1877, allocations: 158.4 kB / 0.6736 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.1877, allocations: 150.6 kB / 0.6738 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.115e-05/0.1878, allocations: 105 kB / 0.6739 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.1878, allocations: 75.28 kB / 0.6739 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.1879, allocations: 158.5 kB / 0.6741 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.1879, allocations: 150.6 kB / 0.6742 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.188, allocations: 154.6 kB / 0.6744 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.1883, allocations: 469.8 kB / 0.6748 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.1884, allocations: 169.1 kB / 0.675 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.1884, allocations: 84.14 kB / 0.6751 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1885, allocations: 79.22 kB / 0.6752 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.1885, allocations: 105.8 kB / 0.6753 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1885, allocations: 0 / 0.6753 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.001e-05/0.1886, allocations: 29.7 kB / 0.6753 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.1887, allocations: 130.7 kB / 0.6754 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1888, allocations: 131.6 kB / 0.6755 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1888, allocations: 33.69 kB / 0.6756 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.1889, allocations: 92.09 kB / 0.6757 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-06/0.1889, allocations: 0 / 0.6757 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.1889, allocations: 21.66 kB / 0.6757 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.1891, allocations: 322.8 kB / 0.676 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.1891, allocations: 0 / 0.676 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.1891, allocations: 19.92 kB / 0.676 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.1891, allocations: 8.859 kB / 0.676 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1892, allocations: 0 / 0.676 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001266/0.1893, allocations: 49.69 kB / 0.6761 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1893, allocations: 4 kB / 0.6761 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.1893, allocations: 4 kB / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1894, allocations: 0 / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1894, allocations: 0 / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1894, allocations: 0 / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.1894, allocations: 3.953 kB / 0.6761 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1894, allocations: 8.062 kB / 0.6761 GB, free: 9.852 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.635e-05/0.1895, allocations: 186.4 kB / 0.6763 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.1896, allocations: 117 kB / 0.6764 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.1897, allocations: 108.9 kB / 0.6765 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/0.1897, allocations: 184.2 kB / 0.6766 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.434e-05/0.1898, allocations: 180.3 kB / 0.6768 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.858e-05/0.1899, allocations: 180.2 kB / 0.677 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1901, allocations: 425.1 kB / 0.6774 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-05/0.1901, allocations: 101 kB / 0.6775 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.1901, allocations: 104.9 kB / 0.6776 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.862e-05/0.1902, allocations: 180.2 kB / 0.6778 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.1903, allocations: 188.2 kB / 0.6779 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.274e-05/0.1903, allocations: 180.2 kB / 0.6781 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.216e-05/0.1904, allocations: 180.3 kB / 0.6783 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.1905, allocations: 307.7 kB / 0.6786 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.1906, allocations: 198 kB / 0.6788 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.1906, allocations: 180.3 kB / 0.6789 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.1907, allocations: 105 kB / 0.679 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.1908, allocations: 184.2 kB / 0.6792 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.1908, allocations: 101 kB / 0.6793 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.1909, allocations: 101.3 kB / 0.6794 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1909, allocations: 0 / 0.6794 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007616/0.1917, allocations: 291 kB / 0.6797 GB, free: 5.926 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.0014/0.1931, allocations: 1.159 MB / 0.6808 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.1932, allocations: 37.7 kB / 0.6809 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1932, allocations: 0 / 0.6809 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.1932, allocations: 0 / 0.6809 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1936, allocations: 463.7 kB / 0.6813 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.1949, allocations: 1.587 MB / 0.6828 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1952, allocations: 0.6807 MB / 0.6835 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.572e-05/0.1952, allocations: 0 / 0.6835 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.1952, allocations: 15.44 kB / 0.6835 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1953, allocations: 0 / 0.6835 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.223, allocations: 6.845 MB / 0.6902 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.496, allocations: 16.77 kB / 0.6902 GB, free: 11.19 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)