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.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-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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_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_dev_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.001202/0.001202, 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.001285/0.001285, allocations: 196.6 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9486/0.9486, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 65.47 kB / 0.5055 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1872, 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.InternalResistancesTwoUTube): time 0.00264/0.1899, allocations: 1.43 MB / 0.5859 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004057/0.194, allocations: 2.866 MB / 0.5887 GB, free: 80 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.194, allocations: 4 kB / 0.5887 GB, free: 76 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.1941, allocations: 3.938 kB / 0.5887 GB, free: 72 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.1941, allocations: 15.84 kB / 0.5887 GB, free: 56 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003705/0.1978, allocations: 1.575 MB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.54e-05/0.1979, allocations: 43.67 kB / 0.5903 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.198, allocations: 11.94 kB / 0.5903 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.198, allocations: 11.94 kB / 0.5903 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.1981, allocations: 23.91 kB / 0.5904 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1981, allocations: 3.938 kB / 0.5904 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.2001, allocations: 1.447 MB / 0.5918 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.2001, allocations: 15.92 kB / 0.5918 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.2002, allocations: 19.86 kB / 0.5918 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.2015, allocations: 1.092 MB / 0.5929 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2015, allocations: 0 / 0.5929 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2016, allocations: 4 kB / 0.5929 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2016, allocations: 0 / 0.5929 GB, free: 11.83 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.0006241/0.2022, allocations: 0.5223 MB / 0.5934 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2022, allocations: 8.031 kB / 0.5934 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.2023, allocations: 106 kB / 0.5935 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.2024, allocations: 84.12 kB / 0.5936 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2025, allocations: 243.6 kB / 0.5938 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.2026, allocations: 158.7 kB / 0.594 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.2027, allocations: 154.6 kB / 0.5941 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.936e-05/0.2028, allocations: 116.9 kB / 0.5942 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.2028, allocations: 75.28 kB / 0.5943 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/0.2029, allocations: 150.6 kB / 0.5944 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/0.2029, allocations: 150.6 kB / 0.5946 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.203, allocations: 154.6 kB / 0.5947 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.2034, allocations: 469.8 kB / 0.5952 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.2035, allocations: 173 kB / 0.5954 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.2035, allocations: 84.12 kB / 0.5954 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.2035, allocations: 87.28 kB / 0.5955 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.2036, allocations: 109.8 kB / 0.5956 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.2036, allocations: 0 / 0.5956 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.511e-05/0.2037, allocations: 29.61 kB / 0.5956 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.2037, allocations: 134.6 kB / 0.5958 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.2039, allocations: 132.2 kB / 0.5959 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.2039, allocations: 29.7 kB / 0.5959 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.204, allocations: 92.14 kB / 0.596 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.204, allocations: 0 / 0.596 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.204, allocations: 17.72 kB / 0.596 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2041, allocations: 318.8 kB / 0.5963 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.2042, allocations: 4 kB / 0.5963 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.2042, allocations: 4 kB / 0.5963 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.2042, allocations: 20.8 kB / 0.5964 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2042, allocations: 0 / 0.5964 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001318/0.2044, allocations: 57.69 kB / 0.5964 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2044, allocations: 11.94 kB / 0.5964 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.2044, allocations: 0 / 0.5964 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2044, allocations: 4 kB / 0.5964 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.2044, allocations: 3.938 kB / 0.5964 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2045, allocations: 0 / 0.5964 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.2045, allocations: 0 / 0.5964 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2045, allocations: 0 / 0.5964 GB, free: 7.945 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.000103/0.2046, allocations: 189.1 kB / 0.5966 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.2047, allocations: 116.9 kB / 0.5967 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.2047, allocations: 112.8 kB / 0.5968 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-05/0.2048, allocations: 176.3 kB / 0.597 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.61e-05/0.2049, allocations: 180.3 kB / 0.5972 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.43e-05/0.2049, allocations: 184.2 kB / 0.5974 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.2052, allocations: 421.2 kB / 0.5978 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-05/0.2052, allocations: 104.9 kB / 0.5979 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.2053, allocations: 101 kB / 0.598 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.77e-05/0.2054, allocations: 176.3 kB / 0.5981 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.2054, allocations: 188.2 kB / 0.5983 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.415e-05/0.2055, allocations: 176.3 kB / 0.5985 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.966e-05/0.2056, allocations: 192.1 kB / 0.5987 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.2057, allocations: 307.7 kB / 0.5989 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.2058, allocations: 194 kB / 0.5991 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.2059, allocations: 176.3 kB / 0.5993 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.2059, allocations: 104.9 kB / 0.5994 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.206, allocations: 188.2 kB / 0.5996 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.2061, allocations: 105 kB / 0.5997 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.001e-05/0.2061, allocations: 109 kB / 0.5998 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2061, allocations: 0 / 0.5998 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007731/0.2069, allocations: 279.8 kB / 0.6001 GB, free: 4.02 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.001287/0.2082, allocations: 1.173 MB / 0.6012 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2083, allocations: 37.7 kB / 0.6012 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2083, allocations: 64 / 0.6012 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.2084, allocations: 7.938 kB / 0.6012 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.2087, allocations: 462.7 kB / 0.6017 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.2102, allocations: 1.596 MB / 0.6032 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2627/0.4729, allocations: 0.6838 MB / 0.6039 GB, free: 52.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.4729, allocations: 1.75 kB / 0.6039 GB, free: 52.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.473, allocations: 14.91 kB / 0.6039 GB, free: 52.04 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.473, allocations: 0.5625 kB / 0.6039 GB, free: 52.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.4993, allocations: 7.031 MB / 0.6108 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.448, allocations: 9.625 kB / 0.6108 GB, free: 51.48 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)