Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.001062/0.001062, 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.001214/0.001214, allocations: 193.1 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7237/0.7237, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.62 kB / 0.5019 GB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3943, allocations: 80.21 MB / 0.5803 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002569/0.3969, allocations: 1.362 MB / 0.5816 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.3996, allocations: 1.796 MB / 0.5833 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.3997, allocations: 5.094 kB / 0.5833 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.492e-05/0.3998, allocations: 17.03 kB / 0.5834 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.4, allocations: 31.59 kB / 0.5834 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.4028, allocations: 1.129 MB / 0.5845 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.403, allocations: 52.14 kB / 0.5845 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.403, allocations: 4.047 kB / 0.5845 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.929e-05/0.4031, allocations: 28.59 kB / 0.5846 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.4032, allocations: 30.84 kB / 0.5846 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.4032, allocations: 0.9062 kB / 0.5846 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.4047, allocations: 0.8497 MB / 0.5854 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.4048, allocations: 66.55 kB / 0.5855 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.4048, allocations: 73.2 kB / 0.5856 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.4063, allocations: 0.8652 MB / 0.5864 GB, free: 1.168 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4064, allocations: 5.344 kB / 0.5864 GB, free: 1.164 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4064, allocations: 0 / 0.5864 GB, free: 1.164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.4064, allocations: 7.875 kB / 0.5864 GB, free: 1.156 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000732/0.4071, allocations: 0.5809 MB / 0.587 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4072, allocations: 10.8 kB / 0.587 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.4072, allocations: 43.23 kB / 0.587 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.4072, allocations: 24.25 kB / 0.5871 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.4074, allocations: 222.3 kB / 0.5873 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-06/0.4074, allocations: 4.125 kB / 0.5873 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.4074, allocations: 5.25 kB / 0.5873 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.4076, allocations: 103.7 kB / 0.5874 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4076, allocations: 3.938 kB / 0.5874 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4076, allocations: 0 / 0.5874 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4076, allocations: 4.734 kB / 0.5874 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.4077, allocations: 74.78 kB / 0.5875 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.408, allocations: 277.9 kB / 0.5877 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.4081, allocations: 127.4 kB / 0.5879 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.4082, allocations: 113.2 kB / 0.588 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.4083, allocations: 1.062 kB / 0.588 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.4083, allocations: 32.39 kB / 0.588 GB, free: 15.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.122e-06/0.4083, allocations: 0 / 0.588 GB, free: 15.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004486/0.4087, allocations: 342 kB / 0.5883 GB, free: 15.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.4088, allocations: 52.62 kB / 0.5884 GB, free: 15.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.4091, allocations: 256.7 kB / 0.5886 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.4091, allocations: 33.67 kB / 0.5886 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.4092, allocations: 125 kB / 0.5888 GB, free: 15.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.4093, allocations: 108.4 kB / 0.5889 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.4093, allocations: 28.3 kB / 0.5889 GB, free: 15.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4094, allocations: 345.8 kB / 0.5892 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/0.4095, allocations: 74.5 kB / 0.5893 GB, free: 14.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.4097, allocations: 77.56 kB / 0.5894 GB, free: 14.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.4099, allocations: 197.5 kB / 0.5896 GB, free: 14.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4099, allocations: 32 / 0.5896 GB, free: 14.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002501/0.4101, allocations: 224.7 kB / 0.5898 GB, free: 14.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4102, allocations: 5.875 kB / 0.5898 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.4102, allocations: 1.219 kB / 0.5898 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4102, allocations: 0.5625 kB / 0.5898 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-06/0.4102, allocations: 5.25 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4102, allocations: 0 / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/0.4103, allocations: 18.86 kB / 0.5898 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4103, allocations: 2.109 kB / 0.5898 GB, free: 14.81 MB / 446.1 MB 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.0001299/0.4104, allocations: 162.6 kB / 0.59 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.4105, allocations: 24.64 kB / 0.59 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.4108, allocations: 250 kB / 0.5902 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4108, allocations: 1 kB / 0.5902 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4108, allocations: 0 / 0.5902 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4108, allocations: 0.75 kB / 0.5902 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.411, allocations: 285.7 kB / 0.5905 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.4111, allocations: 2.75 kB / 0.5905 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-07/0.4111, allocations: 7.969 kB / 0.5905 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4111, allocations: 0.7031 kB / 0.5905 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.4111, allocations: 1.062 kB / 0.5905 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4111, allocations: 1.125 kB / 0.5905 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4111, allocations: 4.734 kB / 0.5905 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.4114, allocations: 263.5 kB / 0.5908 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.4114, allocations: 100.9 kB / 0.5909 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.4115, allocations: 2.188 kB / 0.5909 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.4115, allocations: 4.031 kB / 0.5909 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.4115, allocations: 2.031 kB / 0.5909 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.4115, allocations: 0 / 0.5909 GB, free: 14.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.4117, allocations: 189.3 kB / 0.591 GB, free: 14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4117, allocations: 1.062 kB / 0.5911 GB, free: 14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008213/0.4126, allocations: 211.1 kB / 0.5913 GB, free: 13.96 MB / 446.1 MB 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 (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 Backend phase and start with SimCode phase: time 0.001238/0.4138, allocations: 1.036 MB / 0.5923 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.4141, allocations: 264.7 kB / 0.5925 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4141, allocations: 0 / 0.5925 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4143, allocations: 178.2 kB / 0.5927 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.4145, allocations: 14.11 kB / 0.5927 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.417, allocations: 2.546 MB / 0.5952 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.4174, allocations: 0.7668 MB / 0.5959 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.641e-05/0.4174, allocations: 1.672 kB / 0.5959 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.4175, allocations: 55.56 kB / 0.596 GB, free: 10.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4175, allocations: 0 / 0.596 GB, free: 10.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.4432, allocations: 7.635 MB / 0.6034 GB, free: 7.406 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.912, allocations: 13.25 kB / 0.6035 GB, free: 7.398 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)