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.001359/0.00136, allocations: 108 kB / 15.6 MB, free: 132 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.001623/0.001623, allocations: 192 kB / 16.53 MB, free: 6.391 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9343/0.9343, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 69.52 kB / 0.5055 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2099, allocations: 80.93 MB / 0.5845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00295/0.2129, allocations: 1.417 MB / 0.5859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.217, allocations: 2.815 MB / 0.5887 GB, free: 112 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.2171, allocations: 0 / 0.5887 GB, free: 112 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.2172, allocations: 11.92 kB / 0.5887 GB, free: 100 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.2172, allocations: 11.86 kB / 0.5887 GB, free: 88 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.2211, allocations: 1.553 MB / 0.5902 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.2212, allocations: 47.73 kB / 0.5903 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.2213, allocations: 7.875 kB / 0.5903 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.751e-05/0.2213, allocations: 8 kB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.925e-05/0.2214, allocations: 23.86 kB / 0.5903 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.2214, allocations: 0 / 0.5903 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.2236, allocations: 1.423 MB / 0.5917 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.2236, allocations: 4 kB / 0.5917 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.2237, allocations: 19.88 kB / 0.5917 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.2256, allocations: 1.064 MB / 0.5927 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2256, allocations: 4 kB / 0.5927 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2256, allocations: 0 / 0.5927 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.2256, allocations: 0 / 0.5927 GB, free: 11.96 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.0007347/0.2263, allocations: 0.5107 MB / 0.5932 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2264, allocations: 12.03 kB / 0.5933 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.2265, allocations: 110 kB / 0.5934 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.2265, allocations: 84.12 kB / 0.5934 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2267, allocations: 255.4 kB / 0.5937 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.2268, allocations: 162.7 kB / 0.5938 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.2268, allocations: 150.6 kB / 0.594 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.996e-05/0.2269, allocations: 105 kB / 0.5941 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.2269, allocations: 75.28 kB / 0.5942 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.227, allocations: 150.6 kB / 0.5943 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/0.227, allocations: 154.6 kB / 0.5945 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.738e-05/0.2271, allocations: 162.5 kB / 0.5946 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.2274, allocations: 453.9 kB / 0.595 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/0.2275, allocations: 177.1 kB / 0.5952 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.2275, allocations: 88.12 kB / 0.5953 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.2276, allocations: 75.28 kB / 0.5954 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.2276, allocations: 105.8 kB / 0.5955 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2276, allocations: 0 / 0.5955 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.288e-05/0.2277, allocations: 41.59 kB / 0.5955 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.2278, allocations: 126.7 kB / 0.5956 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.2279, allocations: 132 kB / 0.5958 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2279, allocations: 29.7 kB / 0.5958 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.228, allocations: 88.14 kB / 0.5959 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.228, allocations: 0 / 0.5959 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.228, allocations: 21.7 kB / 0.5959 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2281, allocations: 318.8 kB / 0.5962 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.2282, allocations: 0 / 0.5962 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.2282, allocations: 11.97 kB / 0.5962 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.2282, allocations: 16.8 kB / 0.5962 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2283, allocations: 4.031 kB / 0.5962 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001269/0.2284, allocations: 49.55 kB / 0.5963 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2284, allocations: 4 kB / 0.5963 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.2284, allocations: 7.984 kB / 0.5963 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2285, allocations: 0 / 0.5963 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.2285, allocations: 0 / 0.5963 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2285, allocations: 3.938 kB / 0.5963 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.2285, allocations: 7.875 kB / 0.5963 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2285, allocations: 4 kB / 0.5963 GB, free: 8.082 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 9.583e-05/0.2286, allocations: 193.1 kB / 0.5965 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.2287, allocations: 112.8 kB / 0.5966 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.2287, allocations: 108.8 kB / 0.5967 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/0.2288, allocations: 176.3 kB / 0.5969 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-05/0.2288, allocations: 184.2 kB / 0.597 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.234e-05/0.2289, allocations: 180.3 kB / 0.5972 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.2291, allocations: 421.1 kB / 0.5976 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/0.2291, allocations: 105 kB / 0.5977 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.2292, allocations: 101 kB / 0.5978 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-05/0.2292, allocations: 180.2 kB / 0.598 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.577e-05/0.2293, allocations: 184.3 kB / 0.5981 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.245e-05/0.2294, allocations: 184.2 kB / 0.5983 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.114e-05/0.2294, allocations: 176.3 kB / 0.5985 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.2295, allocations: 315.7 kB / 0.5988 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.2296, allocations: 186 kB / 0.599 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.2297, allocations: 184.2 kB / 0.5991 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.2298, allocations: 109 kB / 0.5993 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.2298, allocations: 180.3 kB / 0.5994 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.2299, allocations: 104.9 kB / 0.5995 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.2299, allocations: 101.3 kB / 0.5996 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2299, allocations: 0 / 0.5996 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007955/0.2307, allocations: 275.8 kB / 0.5999 GB, free: 4.176 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.001424/0.2322, allocations: 1.153 MB / 0.601 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.928e-05/0.2323, allocations: 45.62 kB / 0.6011 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2323, allocations: 0 / 0.6011 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.2323, allocations: 4.062 kB / 0.6011 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.2327, allocations: 456.3 kB / 0.6015 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2341, allocations: 1.583 MB / 0.603 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2344, allocations: 0.6807 MB / 0.6037 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.2344, allocations: 0 / 0.6037 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.2344, allocations: 16.67 kB / 0.6037 GB, free: 108 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2344, allocations: 4 kB / 0.6037 GB, free: 104 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3149/0.5494, allocations: 6.834 MB / 0.6104 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.519, allocations: 8.953 kB / 0.6104 GB, free: 51.48 MB / 0.4981 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)