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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001258/0.001258, allocations: 108 kB / 15.61 MB, free: 152 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.001252/0.001253, allocations: 198.5 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9586/0.9586, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 69.22 kB / 0.5055 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1801, allocations: 80.92 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002903/0.1831, allocations: 1.428 MB / 0.5859 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.1876, allocations: 2.866 MB / 0.5887 GB, free: 96 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.1877, allocations: 0 / 0.5887 GB, free: 96 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.1878, allocations: 3.938 kB / 0.5887 GB, free: 92 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.1879, allocations: 15.86 kB / 0.5887 GB, free: 76 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.1922, allocations: 1.571 MB / 0.5903 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.649e-05/0.1923, allocations: 43.67 kB / 0.5903 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.1923, allocations: 11.94 kB / 0.5903 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.1924, allocations: 11.94 kB / 0.5903 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.936e-05/0.1924, allocations: 19.92 kB / 0.5904 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1924, allocations: 0 / 0.5904 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.195, allocations: 1.459 MB / 0.5918 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.195, allocations: 3.938 kB / 0.5918 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.449e-05/0.195, allocations: 23.81 kB / 0.5918 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.1969, allocations: 1.096 MB / 0.5929 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.197, allocations: 0 / 0.5929 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.197, allocations: 0 / 0.5929 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.197, allocations: 0 / 0.5929 GB, free: 11.86 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.0008147/0.1978, allocations: 0.5223 MB / 0.5934 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1979, allocations: 8.75 kB / 0.5934 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.1979, allocations: 110 kB / 0.5935 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.198, allocations: 88.12 kB / 0.5936 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1982, allocations: 247.5 kB / 0.5938 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.1983, allocations: 154.7 kB / 0.594 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.1983, allocations: 154.6 kB / 0.5941 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.151e-05/0.1984, allocations: 105 kB / 0.5942 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.1984, allocations: 79.27 kB / 0.5943 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.1985, allocations: 154.6 kB / 0.5944 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/0.1986, allocations: 150.6 kB / 0.5946 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.637e-05/0.1987, allocations: 150.6 kB / 0.5947 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.199, allocations: 473.8 kB / 0.5952 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1991, allocations: 181 kB / 0.5954 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.1992, allocations: 80.19 kB / 0.5954 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.1992, allocations: 79.28 kB / 0.5955 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.1993, allocations: 117.8 kB / 0.5956 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1993, allocations: 0 / 0.5956 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.666e-05/0.1994, allocations: 33.55 kB / 0.5957 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.1994, allocations: 126.7 kB / 0.5958 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1996, allocations: 136.3 kB / 0.5959 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1996, allocations: 25.7 kB / 0.5959 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.1997, allocations: 96.12 kB / 0.596 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.1997, allocations: 4 kB / 0.596 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.1998, allocations: 13.72 kB / 0.596 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1999, allocations: 318.8 kB / 0.5963 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.1999, allocations: 4 kB / 0.5963 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.2, allocations: 8 kB / 0.5964 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.2, allocations: 16.8 kB / 0.5964 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2, allocations: 0 / 0.5964 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001381/0.2002, allocations: 49.55 kB / 0.5964 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2002, allocations: 11.98 kB / 0.5964 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.2002, allocations: 4.062 kB / 0.5964 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2002, allocations: 0 / 0.5964 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.126e-06/0.2002, allocations: 4 kB / 0.5964 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2003, allocations: 0 / 0.5964 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.2003, allocations: 0 / 0.5964 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2003, allocations: 3.938 kB / 0.5964 GB, free: 7.969 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.0001142/0.2004, allocations: 196.3 kB / 0.5966 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.2005, allocations: 104.9 kB / 0.5967 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.2006, allocations: 120.8 kB / 0.5968 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.249e-05/0.2006, allocations: 176.3 kB / 0.597 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-05/0.2007, allocations: 184.2 kB / 0.5972 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.128e-05/0.2008, allocations: 180.3 kB / 0.5974 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.201, allocations: 413.1 kB / 0.5978 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-05/0.2011, allocations: 112.9 kB / 0.5979 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.2011, allocations: 101 kB / 0.598 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.223e-05/0.2012, allocations: 184.2 kB / 0.5981 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.2013, allocations: 176.3 kB / 0.5983 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-05/0.2014, allocations: 188.3 kB / 0.5985 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-05/0.2015, allocations: 184.2 kB / 0.5987 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.2017, allocations: 319.6 kB / 0.599 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.2018, allocations: 182.1 kB / 0.5991 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/0.2019, allocations: 184.2 kB / 0.5993 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.202, allocations: 101 kB / 0.5994 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.2021, allocations: 180.3 kB / 0.5996 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.2021, allocations: 112.9 kB / 0.5997 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.225e-05/0.2022, allocations: 100.9 kB / 0.5998 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2022, allocations: 0 / 0.5998 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001031/0.2032, allocations: 283.8 kB / 0.6001 GB, free: 4.043 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 (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.001931/0.2052, allocations: 1.176 MB / 0.6012 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.2053, allocations: 45.62 kB / 0.6012 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2053, allocations: 0 / 0.6012 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.2054, allocations: 0 / 0.6012 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.2059, allocations: 467.7 kB / 0.6017 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.2076, allocations: 1.581 MB / 0.6032 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2685/0.4761, allocations: 0.687 MB / 0.6039 GB, free: 51.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.736e-05/0.4762, allocations: 5.781 kB / 0.6039 GB, free: 51.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.4762, allocations: 13.12 kB / 0.6039 GB, free: 51.82 MB / 0.4981 GB Notification: Performance of SimCode: time 1.694e-06/0.4762, allocations: 0 / 0.6039 GB, free: 51.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.5041, allocations: 7.052 MB / 0.6108 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.451, allocations: 13.56 kB / 0.6108 GB, free: 51.25 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)