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_OneUTube.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_OneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.0012/0.0012, allocations: 104 kB / 15.6 MB, free: 148 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.001278/0.001278, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7589/0.7589, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 68.14 kB / 0.5019 GB, free: 3.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4219, allocations: 80.2 MB / 0.5803 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002616/0.4245, allocations: 1.368 MB / 0.5816 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.4273, allocations: 1.784 MB / 0.5833 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.4273, allocations: 0 / 0.5833 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.749e-05/0.4275, allocations: 17.45 kB / 0.5833 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.4276, allocations: 28.39 kB / 0.5834 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.4303, allocations: 1.128 MB / 0.5845 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.4304, allocations: 45.41 kB / 0.5845 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.4305, allocations: 6.828 kB / 0.5845 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.985e-05/0.4306, allocations: 22.38 kB / 0.5845 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.4307, allocations: 30.88 kB / 0.5846 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4307, allocations: 0.75 kB / 0.5846 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.432, allocations: 0.849 MB / 0.5854 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.4321, allocations: 25.7 kB / 0.5854 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.4321, allocations: 32.8 kB / 0.5855 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.4333, allocations: 0.7927 MB / 0.5862 GB, free: 1.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4333, allocations: 1.891 kB / 0.5862 GB, free: 1.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4333, allocations: 0 / 0.5862 GB, free: 1.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.4334, allocations: 0 / 0.5862 GB, free: 1.234 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005498/0.4339, allocations: 480.1 kB / 0.5867 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.434, allocations: 9.25 kB / 0.5867 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.434, allocations: 33.39 kB / 0.5867 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.434, allocations: 13.14 kB / 0.5868 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4342, allocations: 198.7 kB / 0.5869 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4342, allocations: 0.6562 kB / 0.5869 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.4342, allocations: 1.062 kB / 0.5869 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.4343, allocations: 48.89 kB / 0.587 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.4343, allocations: 4.484 kB / 0.587 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.4343, allocations: 0.7969 kB / 0.587 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4344, allocations: 0.7812 kB / 0.587 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.593e-05/0.4344, allocations: 25.81 kB / 0.587 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.4346, allocations: 196.3 kB / 0.5872 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.718e-05/0.4347, allocations: 45.86 kB / 0.5873 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.4347, allocations: 39.8 kB / 0.5873 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.4347, allocations: 1.25 kB / 0.5873 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.4348, allocations: 32.38 kB / 0.5873 GB, free: 180 kB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.4348, allocations: 0 / 0.5873 GB, free: 180 kB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002288/0.435, allocations: 119.7 kB / 0.5874 GB, free: 132 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.435, allocations: 59.38 kB / 0.5875 GB, free: 60 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.4352, allocations: 152 kB / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4352, allocations: 27.62 kB / 0.5877 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.4353, allocations: 97.28 kB / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.4353, allocations: 25.78 kB / 0.5878 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.4354, allocations: 19.75 kB / 0.5878 GB, free: 15.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4355, allocations: 334.3 kB / 0.5881 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.4355, allocations: 20.48 kB / 0.5881 GB, free: 15.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.4356, allocations: 29.2 kB / 0.5882 GB, free: 15.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.95e-05/0.4357, allocations: 65.05 kB / 0.5882 GB, free: 15.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4357, allocations: 1.719 kB / 0.5882 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001308/0.4358, allocations: 86.86 kB / 0.5883 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4358, allocations: 8.969 kB / 0.5883 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4358, allocations: 1.844 kB / 0.5883 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4359, allocations: 0.6875 kB / 0.5883 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.4359, allocations: 0 / 0.5883 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4359, allocations: 1.328 kB / 0.5883 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.4359, allocations: 8.594 kB / 0.5883 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.4359, allocations: 5.625 kB / 0.5883 GB, free: 15.37 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 8.506e-05/0.436, allocations: 121.5 kB / 0.5885 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.436, allocations: 7.719 kB / 0.5885 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.4362, allocations: 110.3 kB / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4362, allocations: 0 / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4363, allocations: 1 kB / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4363, allocations: 4.594 kB / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.4364, allocations: 194.7 kB / 0.5888 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4364, allocations: 5.922 kB / 0.5888 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/0.4364, allocations: 0 / 0.5888 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4365, allocations: 0.5156 kB / 0.5888 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.4365, allocations: 1.469 kB / 0.5888 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4365, allocations: 4.594 kB / 0.5888 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4365, allocations: 0.8125 kB / 0.5888 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.4366, allocations: 125.6 kB / 0.5889 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.4367, allocations: 84.45 kB / 0.589 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4367, allocations: 5.766 kB / 0.589 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.4367, allocations: 0 / 0.589 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.4368, allocations: 2.281 kB / 0.589 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4368, allocations: 9 kB / 0.589 GB, free: 14.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.624e-05/0.4369, allocations: 117.7 kB / 0.5891 GB, free: 14.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4369, allocations: 0 / 0.5891 GB, free: 14.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008178/0.4377, allocations: 212.1 kB / 0.5893 GB, free: 14.66 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.001134/0.4388, allocations: 0.8826 MB / 0.5902 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.439, allocations: 96.8 kB / 0.5903 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.439, allocations: 1.375 kB / 0.5903 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.4391, allocations: 64.58 kB / 0.5903 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.4393, allocations: 14.25 kB / 0.5903 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.441, allocations: 1.597 MB / 0.5919 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4413, allocations: 0.7026 MB / 0.5926 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.4413, allocations: 2.375 kB / 0.5926 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.4414, allocations: 22.83 kB / 0.5926 GB, free: 11.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4414, allocations: 1.375 kB / 0.5926 GB, free: 11.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.4689, allocations: 5.941 MB / 0.5984 GB, free: 9.668 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.996, allocations: 13.39 kB / 0.5984 GB, free: 9.664 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_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_OneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)