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.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-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.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_dev_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_dev_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.001556/0.001556, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002468/0.002468, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.074/3.074, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.917/1.917, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006548/0.0006552, allocations: 8 kB / 0.507 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2919, allocations: 82.31 MB / 0.5873 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002259/0.2942, allocations: 1.067 MB / 0.5884 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.2982, allocations: 1.63 MB / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.2983, allocations: 0 / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.2984, allocations: 4 kB / 0.59 GB, free: 272 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.2986, allocations: 27.89 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.3021, allocations: 0.9043 MB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3022, allocations: 31.88 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.3023, allocations: 4 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.3024, allocations: 23.92 kB / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.3025, allocations: 23.84 kB / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3025, allocations: 0 / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.304, allocations: 0.6319 MB / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.3041, allocations: 27.95 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.3041, allocations: 37.64 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.3052, allocations: 499.4 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.3052, allocations: 4 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3052, allocations: 0 / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3052, allocations: 0 / 0.5921 GB, free: 14.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007857/0.306, allocations: 474.8 kB / 0.5926 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.3061, allocations: 12.75 kB / 0.5926 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.384e-05/0.3061, allocations: 38.55 kB / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.3062, allocations: 7.906 kB / 0.5926 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.3065, allocations: 185.2 kB / 0.5928 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3065, allocations: 3.984 kB / 0.5928 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3065, allocations: 4 kB / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3067, allocations: 57.62 kB / 0.5929 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3067, allocations: 0 / 0.5929 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3067, allocations: 0 / 0.5929 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3067, allocations: 0 / 0.5929 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/0.3068, allocations: 20 kB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.3071, allocations: 209.4 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/0.3072, allocations: 46.5 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.3073, allocations: 4 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3073, allocations: 34.56 kB / 0.5932 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.3073, allocations: 0 / 0.5932 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004215/0.3078, allocations: 198.7 kB / 0.5934 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.3079, allocations: 59.34 kB / 0.5934 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3081, allocations: 152.5 kB / 0.5936 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3081, allocations: 25.7 kB / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.808e-05/0.3082, allocations: 96.3 kB / 0.5937 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.3083, allocations: 31.66 kB / 0.5937 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.3083, allocations: 0 / 0.5937 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3085, allocations: 326.8 kB / 0.594 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.3085, allocations: 23.98 kB / 0.594 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.3086, allocations: 24 kB / 0.5941 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.766e-05/0.3087, allocations: 27.98 kB / 0.5941 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3087, allocations: 0 / 0.5941 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002033/0.3089, allocations: 93.48 kB / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3089, allocations: 8 kB / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.309, allocations: 4.062 kB / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.309, allocations: 0 / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-06/0.309, allocations: 4 kB / 0.5942 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.309, allocations: 3.938 kB / 0.5942 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.3091, allocations: 4 kB / 0.5942 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.3091, allocations: 0 / 0.5942 GB, free: 11.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.3093, allocations: 125.8 kB / 0.5943 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3093, allocations: 11.89 kB / 0.5943 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.3095, allocations: 106.4 kB / 0.5944 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3096, allocations: 0 / 0.5944 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3096, allocations: 0 / 0.5944 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3096, allocations: 0 / 0.5944 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.3098, allocations: 201.4 kB / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.3099, allocations: 4 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-06/0.3099, allocations: 0 / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3099, allocations: 3.938 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3099, allocations: 4 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3099, allocations: 0 / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3099, allocations: 3.938 kB / 0.5946 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3102, allocations: 125 kB / 0.5948 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.3103, allocations: 88.97 kB / 0.5948 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.3103, allocations: 0 / 0.5948 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.3103, allocations: 0 / 0.5948 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.3104, allocations: 0 / 0.5948 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3104, allocations: 0 / 0.5948 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001471/0.3105, allocations: 120.7 kB / 0.595 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3106, allocations: 0 / 0.595 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001018/0.3116, allocations: 203.9 kB / 0.5952 GB, free: 10.63 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00174/0.3133, allocations: 0.8698 MB / 0.596 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.3136, allocations: 97.67 kB / 0.5961 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3136, allocations: 0 / 0.5961 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.3137, allocations: 65.75 kB / 0.5962 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.314, allocations: 19.58 kB / 0.5962 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.3166, allocations: 0.775 MB / 0.5969 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.3172, allocations: 0.7082 MB / 0.5976 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.3172, allocations: 0 / 0.5976 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.3173, allocations: 15.44 kB / 0.5976 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/0.3173, allocations: 4 kB / 0.5976 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05161/0.3689, allocations: 5.682 MB / 0.6032 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004703/0.3695, allocations: 267 kB / 0.6035 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.496/3.865, allocations: 2.578 kB / 0.6035 GB, free: 2.176 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) Environment - environmentSimulation: