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_TwoUTube.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_TwoUTube,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, 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.001304/0.001304, allocations: 192.9 kB / 16.53 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 70.25 kB / 0.8993 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3012, allocations: 157.4 MB / 1.053 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002516/0.3037, allocations: 1.384 MB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.3065, allocations: 1.805 MB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.3066, allocations: 0 / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.201e-05/0.3066, allocations: 4 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.3068, allocations: 39.81 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.3095, allocations: 1.153 MB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.3096, allocations: 39.84 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.3096, allocations: 7.984 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.3097, allocations: 27.86 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.3098, allocations: 31.91 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3098, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.311, allocations: 0.854 MB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.3111, allocations: 67.75 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.3111, allocations: 63.44 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.3122, allocations: 0.8771 MB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3122, allocations: 0 / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3122, allocations: 0 / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3122, allocations: 0 / 1.059 GB, free: 1.84 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006616/0.3129, allocations: 0.5878 MB / 1.06 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3129, allocations: 8.625 kB / 1.06 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.313, allocations: 50.67 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.313, allocations: 20.66 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3132, allocations: 214.9 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.3132, allocations: 384 / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3132, allocations: 8.312 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3134, allocations: 105.6 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.3134, allocations: 0 / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3134, allocations: 4 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3134, allocations: 0 / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.3135, allocations: 75.97 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.3137, allocations: 277.8 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3138, allocations: 118.5 kB / 1.061 GB, free: 236 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.3139, allocations: 112.8 kB / 1.061 GB, free: 120 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.314, allocations: 3.938 kB / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.314, allocations: 38.56 kB / 1.061 GB, free: 68 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 1.293e-06/0.314, allocations: 0 / 1.061 GB, free: 68 kB / 0.8106 GB Notification: Performance of matching and sorting (n=32): time 0.00038/0.3144, allocations: 335.2 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.3144, allocations: 51.41 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.3147, allocations: 253 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.3147, allocations: 29.7 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.3148, allocations: 124.7 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.3148, allocations: 106.4 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3149, allocations: 33.73 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.315, allocations: 342.8 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.3151, allocations: 75.92 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.3152, allocations: 79.89 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3153, allocations: 200.8 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3153, allocations: 0 / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002204/0.3156, allocations: 229.5 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3156, allocations: 4 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3156, allocations: 3.984 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3156, allocations: 4.062 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3156, allocations: 0 / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3156, allocations: 4 kB / 1.063 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.3157, allocations: 7.844 kB / 1.063 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3157, allocations: 0 / 1.063 GB, free: 14.16 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 0.0001189/0.3158, allocations: 162.8 kB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.3159, allocations: 23.66 kB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.3161, allocations: 262.6 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3161, allocations: 3.984 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3162, allocations: 0 / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3162, allocations: 0 / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.3164, allocations: 285.8 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.3164, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-06/0.3164, allocations: 4 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3164, allocations: 0 / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3164, allocations: 4 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3164, allocations: 0 / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3164, allocations: 4.031 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3167, allocations: 264.6 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.3167, allocations: 104.7 kB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3167, allocations: 0 / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.3168, allocations: 3.984 kB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.3168, allocations: 0 / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.3168, allocations: 0 / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001492/0.317, allocations: 188.5 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.293e-06/0.317, allocations: 4.031 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005527/0.3175, allocations: 211.8 kB / 1.064 GB, free: 12.57 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.001113/0.3186, allocations: 1.026 MB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.3189, allocations: 265.6 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3189, allocations: 0 / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.3191, allocations: 185.7 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3193, allocations: 16.48 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.3217, allocations: 2.551 MB / 1.068 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.322, allocations: 0.7691 MB / 1.069 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.322, allocations: 4 kB / 1.069 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.3221, allocations: 63.41 kB / 1.069 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3221, allocations: 0 / 1.069 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.3471, allocations: 7.649 MB / 1.076 GB, free: 92 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.422, allocations: 13.52 kB / 1.076 GB, free: 80 kB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)