Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_9_Buildings_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.01162/0.01162, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.002662/0.002662, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.02 kB / 0.9505 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2858, allocations: 140.4 MB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002555/0.2884, allocations: 1.383 MB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.2913, allocations: 1.78 MB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.2914, allocations: 0 / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.999e-05/0.2915, allocations: 15.92 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.2917, allocations: 19.91 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.2946, allocations: 1.143 MB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2947, allocations: 47.77 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.2948, allocations: 3.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.221e-05/0.2949, allocations: 23.92 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.2949, allocations: 23.91 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.2949, allocations: 3.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.2965, allocations: 0.893 MB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.2966, allocations: 19.92 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.2966, allocations: 31.73 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.298, allocations: 0.8027 MB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.298, allocations: 0 / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.298, allocations: 0 / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.298, allocations: 0 / 1.094 GB, free: 11.75 MB / 0.8575 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.0007565/0.2988, allocations: 474.9 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2988, allocations: 16.02 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.2989, allocations: 34.75 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.2989, allocations: 12.78 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.2992, allocations: 191.1 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2992, allocations: 8.109 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.2992, allocations: 4 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.2993, allocations: 57.62 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2993, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.2993, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2994, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/0.2994, allocations: 27.98 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.2996, allocations: 181.7 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.2997, allocations: 50.5 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.2997, allocations: 32.89 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.2998, allocations: 7.984 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2998, allocations: 38.5 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.2998, allocations: 0 / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000225/0.3, allocations: 113.6 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3001, allocations: 51.41 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3002, allocations: 150.4 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3003, allocations: 25.7 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3003, allocations: 104.2 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.3004, allocations: 23.56 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.3004, allocations: 21.7 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3005, allocations: 326.8 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.3006, allocations: 20 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.3006, allocations: 23.98 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.978e-05/0.3007, allocations: 77.22 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3007, allocations: 0 / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001179/0.3008, allocations: 93.59 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3008, allocations: 11.94 kB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3009, allocations: 0 / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3009, allocations: 0 / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.3009, allocations: 0 / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3009, allocations: 0 / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.3009, allocations: 4 kB / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.3009, allocations: 3.938 kB / 1.096 GB, free: 9.375 MB / 0.8575 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 8.832e-05/0.301, allocations: 125.8 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.301, allocations: 11.94 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.3012, allocations: 106.2 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3012, allocations: 3.984 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3012, allocations: 0 / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3012, allocations: 0 / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.3014, allocations: 197.5 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3014, allocations: 4 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3015, allocations: 0 / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3015, allocations: 0 / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.3015, allocations: 0 / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3015, allocations: 8.031 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3015, allocations: 0 / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3016, allocations: 120.9 kB / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.3017, allocations: 89 kB / 1.096 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3017, allocations: 0 / 1.096 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.377e-05/0.3018, allocations: 0 / 1.096 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.3018, allocations: 4 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3018, allocations: 0 / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.832e-05/0.3019, allocations: 126 kB / 1.096 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3019, allocations: 0 / 1.096 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006641/0.3026, allocations: 199.9 kB / 1.097 GB, free: 8.301 MB / 0.8575 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 (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.001242/0.3038, allocations: 0.8905 MB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.304, allocations: 97.59 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.304, allocations: 8.062 kB / 1.098 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.549e-05/0.3041, allocations: 69.67 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3043, allocations: 18.92 kB / 1.098 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.3059, allocations: 1.6 MB / 1.099 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3062, allocations: 0.7002 MB / 1.1 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.3063, allocations: 8.031 kB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.3063, allocations: 27.42 kB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3063, allocations: 0 / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.3319, allocations: 5.988 MB / 1.106 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.128, allocations: 7.125 kB / 1.106 GB, free: 14.97 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)