Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 177.2 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 104.1 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004234, allocations: 10.44 kB / 0.7964 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.275, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001498/0.2766, allocations: 1.084 MB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.279, allocations: 1.676 MB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.279, allocations: 0 / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.2792, allocations: 11.92 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.2793, allocations: 27.95 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.2811, allocations: 0.9018 MB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.2812, allocations: 35.94 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.2813, allocations: 4 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.2813, allocations: 27.92 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.2814, allocations: 27.91 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2814, allocations: 0 / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007042/0.2821, allocations: 0.6357 MB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.2822, allocations: 63.81 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.2822, allocations: 49.58 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000576/0.2828, allocations: 0.5578 MB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.2828, allocations: 0 / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2828, allocations: 0 / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2829, allocations: 0 / 0.9052 GB, free: 58.68 MB / 0.6042 GB 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.0005484/0.2834, allocations: 0.5657 MB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2835, allocations: 15.95 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.2835, allocations: 50.5 kB / 0.9058 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.2836, allocations: 27.58 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.2838, allocations: 209.7 kB / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2838, allocations: 8 kB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2838, allocations: 3.938 kB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.2839, allocations: 105.7 kB / 0.9061 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.284, allocations: 0 / 0.9061 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.284, allocations: 0 / 0.9061 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.284, allocations: 0 / 0.9061 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.2841, allocations: 79.92 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.2843, allocations: 273.9 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.937e-05/0.2844, allocations: 122.5 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2844, allocations: 3.938 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.2844, allocations: 30.56 kB / 0.9066 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.012e-06/0.2844, allocations: 0 / 0.9066 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.0003813/0.2848, allocations: 428.2 kB / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.2849, allocations: 51.41 kB / 0.9071 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.2851, allocations: 257 kB / 0.9073 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.2851, allocations: 25.7 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.2851, allocations: 136.7 kB / 0.9075 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.2852, allocations: 98.41 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.2852, allocations: 0 / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.2853, allocations: 342.8 kB / 0.9079 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.2854, allocations: 75.97 kB / 0.908 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.178e-05/0.2854, allocations: 83.89 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.831e-05/0.2855, allocations: 99.95 kB / 0.9082 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2855, allocations: 3.938 kB / 0.9082 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001825/0.2857, allocations: 217.3 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2857, allocations: 8.062 kB / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.2857, allocations: 4 kB / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2858, allocations: 0 / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.2858, allocations: 0 / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2858, allocations: 0 / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.2858, allocations: 11.84 kB / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2858, allocations: 0 / 0.9084 GB, free: 55.16 MB / 0.6042 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 9.674e-05/0.2859, allocations: 157.8 kB / 0.9085 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.286, allocations: 23.62 kB / 0.9086 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.2862, allocations: 265.7 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2862, allocations: 0 / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2862, allocations: 0 / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2862, allocations: 0 / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2864, allocations: 289.8 kB / 0.9091 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2864, allocations: 0 / 0.9091 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.2864, allocations: 0 / 0.9091 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2864, allocations: 0 / 0.9091 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.2865, allocations: 12.02 kB / 0.9091 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2865, allocations: 0 / 0.9091 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2865, allocations: 0 / 0.9091 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.2867, allocations: 260.6 kB / 0.9094 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.2868, allocations: 100.8 kB / 0.9094 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.2868, allocations: 0 / 0.9094 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.2869, allocations: 0 / 0.9094 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.2869, allocations: 4 kB / 0.9095 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2869, allocations: 4.031 kB / 0.9095 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001875/0.2871, allocations: 192.4 kB / 0.9096 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2871, allocations: 0 / 0.9096 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004902/0.2876, allocations: 207.8 kB / 0.9098 GB, free: 53.57 MB / 0.6042 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.001009/0.2886, allocations: 1.02 MB / 0.9108 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.2889, allocations: 269.5 kB / 0.9111 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2889, allocations: 0 / 0.9111 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.2891, allocations: 177.6 kB / 0.9113 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.2893, allocations: 20.55 kB / 0.9113 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.291, allocations: 1.543 MB / 0.9128 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.2912, allocations: 0.7765 MB / 0.9135 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.2913, allocations: 4 kB / 0.9136 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.2913, allocations: 59.41 kB / 0.9136 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2913, allocations: 0 / 0.9136 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.3094, allocations: 7.378 MB / 0.9208 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.3097, allocations: 291.4 kB / 0.9211 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/2.57, allocations: 3.938 kB / 0.9211 GB, free: 42.08 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)