Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_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_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.01278/0.01278, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.01096/0.01096, allocations: 196.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.712/2.712, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.394/1.394, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003066/0.003066, allocations: 68.61 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.268, allocations: 80.2 MB / 0.6593 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003812/0.2719, allocations: 1.442 MB / 0.6607 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00727/0.2792, allocations: 2.876 MB / 0.6635 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.2794, allocations: 0 / 0.6635 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.779e-05/0.2795, allocations: 7.922 kB / 0.6635 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2796, allocations: 11.88 kB / 0.6635 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006028/0.2856, allocations: 1.579 MB / 0.665 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.2858, allocations: 47.67 kB / 0.6651 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.2859, allocations: 3.984 kB / 0.6651 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.702e-05/0.2859, allocations: 15.94 kB / 0.6651 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.2859, allocations: 23.86 kB / 0.6651 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.286, allocations: 4 kB / 0.6651 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003691/0.2897, allocations: 1.528 MB / 0.6666 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.2897, allocations: 0 / 0.6666 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.2898, allocations: 23.86 kB / 0.6666 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.2924, allocations: 1.095 MB / 0.6677 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2924, allocations: 0 / 0.6677 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.099e-06/0.2924, allocations: 0 / 0.6677 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.2924, allocations: 3.938 kB / 0.6677 GB, free: 2.086 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.0009674/0.2934, allocations: 0.5364 MB / 0.6682 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/0.2935, allocations: 11.97 kB / 0.6683 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.415e-05/0.2936, allocations: 106 kB / 0.6684 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.2937, allocations: 84.17 kB / 0.6684 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.2939, allocations: 249.4 kB / 0.6687 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.975e-05/0.294, allocations: 154.5 kB / 0.6688 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.2942, allocations: 154.6 kB / 0.669 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.2943, allocations: 104.9 kB / 0.6691 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/0.2944, allocations: 75.28 kB / 0.6691 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.2945, allocations: 154.6 kB / 0.6693 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.2946, allocations: 150.6 kB / 0.6694 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.2947, allocations: 162.5 kB / 0.6696 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.2954, allocations: 469.9 kB / 0.67 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.2955, allocations: 165.1 kB / 0.6702 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.2956, allocations: 80.14 kB / 0.6703 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.036e-05/0.2957, allocations: 79.27 kB / 0.6703 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.2958, allocations: 117.8 kB / 0.6705 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 2.685e-06/0.2958, allocations: 0 / 0.6705 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001315/0.296, allocations: 29.66 kB / 0.6705 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.2961, allocations: 130.6 kB / 0.6706 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.2963, allocations: 133.8 kB / 0.6707 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.2964, allocations: 25.7 kB / 0.6708 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.2965, allocations: 96.12 kB / 0.6709 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-06/0.2965, allocations: 4 kB / 0.6709 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.2965, allocations: 13.72 kB / 0.6709 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.2968, allocations: 322.8 kB / 0.6712 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.2968, allocations: 4 kB / 0.6712 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.2968, allocations: 8 kB / 0.6712 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.21e-05/0.2969, allocations: 16.84 kB / 0.6712 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2969, allocations: 4 kB / 0.6712 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001886/0.2971, allocations: 53.64 kB / 0.6713 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.2972, allocations: 14.09 kB / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.2972, allocations: 0 / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2972, allocations: 0 / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-06/0.2972, allocations: 4 kB / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2972, allocations: 0 / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.2973, allocations: 3.938 kB / 0.6713 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2973, allocations: 0 / 0.6713 GB, free: 14.19 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 0.0001995/0.2975, allocations: 189.1 kB / 0.6715 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2976, allocations: 108.9 kB / 0.6716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.2977, allocations: 124.6 kB / 0.6717 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001277/0.2979, allocations: 184.2 kB / 0.6719 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000109/0.298, allocations: 176.3 kB / 0.672 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-05/0.2981, allocations: 184.2 kB / 0.6722 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.2985, allocations: 417.1 kB / 0.6726 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.259e-05/0.2986, allocations: 109 kB / 0.6727 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.2986, allocations: 108.9 kB / 0.6728 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.2988, allocations: 176.3 kB / 0.673 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.94e-05/0.2989, allocations: 176.3 kB / 0.6731 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.721e-05/0.299, allocations: 188.2 kB / 0.6733 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-05/0.2991, allocations: 176.3 kB / 0.6735 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.2993, allocations: 315.7 kB / 0.6738 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.2994, allocations: 190 kB / 0.674 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2995, allocations: 184.2 kB / 0.6742 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2996, allocations: 101 kB / 0.6742 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.2997, allocations: 188.2 kB / 0.6744 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.2998, allocations: 105 kB / 0.6745 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.118e-05/0.2999, allocations: 99.25 kB / 0.6746 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2999, allocations: 0 / 0.6746 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001251/0.3012, allocations: 283 kB / 0.6749 GB, free: 10.26 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.001885/0.3031, allocations: 1.186 MB / 0.6761 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.3032, allocations: 37.7 kB / 0.6761 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3033, allocations: 0 / 0.6761 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.3033, allocations: 4.062 kB / 0.6761 GB, free: 9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.3038, allocations: 467.7 kB / 0.6765 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.3062, allocations: 1.596 MB / 0.6781 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3065, allocations: 0.6846 MB / 0.6788 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.3066, allocations: 4.031 kB / 0.6788 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.3066, allocations: 11.44 kB / 0.6788 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.3066, allocations: 0 / 0.6788 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/0.3549, allocations: 7.041 MB / 0.6857 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.89, allocations: 10.22 kB / 0.6857 GB, free: 15.29 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)