Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_latest_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_latest_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.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 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.001342/0.001342, allocations: 198.4 kB / 16.54 MB, free: 6.391 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 66.33 kB / 0.8993 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2947, allocations: 157.4 MB / 1.053 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002778/0.2975, allocations: 1.372 MB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.3002, allocations: 1.794 MB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.3003, allocations: 4 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.226e-05/0.3004, allocations: 11.92 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.3006, allocations: 27.89 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.3033, allocations: 1.149 MB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.3034, allocations: 47.73 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.3034, allocations: 4 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.3035, allocations: 23.91 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.3036, allocations: 23.91 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3036, allocations: 0 / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3049, allocations: 0.8539 MB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.3049, allocations: 31.91 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.305, allocations: 27.8 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.3061, allocations: 0.7955 MB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3061, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3061, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3061, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 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.0006185/0.3067, allocations: 478.9 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3068, allocations: 8.625 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.3068, allocations: 30.75 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3069, allocations: 8.844 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.307, allocations: 195 kB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.3071, allocations: 4.125 kB / 1.06 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.3071, allocations: 4 kB / 1.06 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.899e-05/0.3072, allocations: 49.69 kB / 1.06 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3072, allocations: 3.938 kB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.3072, allocations: 0 / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3072, allocations: 4 kB / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.3072, allocations: 23.98 kB / 1.06 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.3074, allocations: 197.5 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/0.3075, allocations: 50.52 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.3075, allocations: 32.88 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3076, allocations: 0 / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3076, allocations: 38.56 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.3076, allocations: 0 / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0001962/0.3078, allocations: 121.5 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.3079, allocations: 51.41 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.308, allocations: 160.1 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.308, allocations: 25.7 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.3081, allocations: 96.14 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3081, allocations: 31.69 kB / 1.061 GB, free: 252 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.3081, allocations: 17.72 kB / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3082, allocations: 326.8 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.3083, allocations: 19.98 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.3083, allocations: 24 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.3084, allocations: 77.09 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3084, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001064/0.3085, allocations: 93.52 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3085, allocations: 4 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3086, allocations: 4 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3086, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3086, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3086, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.3086, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.3086, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 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.464e-05/0.3087, allocations: 133.7 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.3088, allocations: 11.89 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.3089, allocations: 107.7 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3089, allocations: 7.984 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3089, allocations: 0 / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3089, allocations: 0 / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.3091, allocations: 201.5 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3091, allocations: 0 / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.3091, allocations: 0 / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3091, allocations: 4.031 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.3091, allocations: 0 / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3091, allocations: 0 / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3091, allocations: 4 kB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.3093, allocations: 120.9 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.3093, allocations: 84.95 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3093, allocations: 4 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.376e-05/0.3094, allocations: 0 / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.3094, allocations: 4.031 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3094, allocations: 3.984 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.042e-05/0.3095, allocations: 120.9 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3095, allocations: 0 / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005766/0.3101, allocations: 203.9 kB / 1.062 GB, free: 14.58 MB / 0.8262 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.001056/0.3111, allocations: 0.8824 MB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.3113, allocations: 97.61 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3113, allocations: 0 / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.3113, allocations: 65.69 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.3116, allocations: 22.27 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3131, allocations: 1.602 MB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.3133, allocations: 0.7041 MB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.3134, allocations: 4 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.3134, allocations: 19.44 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3134, allocations: 0 / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.3376, allocations: 5.96 MB / 1.071 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.352, allocations: 11.39 kB / 1.071 GB, free: 5.266 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)