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.005151/0.005151, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00125/0.00125, allocations: 197.8 kB / 16.68 MB, free: 5.926 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.476/2.476, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 68.14 kB / 1.054 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.719, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002409/0.7214, allocations: 1.381 MB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.7241, allocations: 1.801 MB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.7242, allocations: 0 / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.344e-05/0.7243, allocations: 7.938 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.7245, allocations: 35.88 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.7271, allocations: 1.144 MB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.7273, allocations: 47.8 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.7273, allocations: 11.92 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.7274, allocations: 23.91 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.7275, allocations: 23.91 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.7275, allocations: 4 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.7288, allocations: 0.8929 MB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.7288, allocations: 59.83 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.7289, allocations: 71.36 kB / 1.213 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.7301, allocations: 0.8868 MB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7301, allocations: 0 / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7301, allocations: 3.938 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.7301, allocations: 0 / 1.214 GB, free: 7.172 MB / 0.9356 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.0007044/0.7309, allocations: 0.58 MB / 1.214 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7309, allocations: 8.031 kB / 1.214 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.7309, allocations: 46.73 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.731, allocations: 20.66 kB / 1.214 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.7312, allocations: 222.7 kB / 1.214 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.7312, allocations: 4.375 kB / 1.214 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.7312, allocations: 4.375 kB / 1.214 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.7314, allocations: 105.6 kB / 1.215 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.7314, allocations: 0 / 1.215 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.7314, allocations: 4 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.7314, allocations: 0 / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.7315, allocations: 75.97 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.7317, allocations: 273.9 kB / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.7319, allocations: 130.5 kB / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/0.732, allocations: 108.9 kB / 1.215 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.732, allocations: 7.938 kB / 1.215 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.732, allocations: 30.56 kB / 1.215 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.062e-06/0.732, allocations: 0 / 1.215 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.0003599/0.7324, allocations: 338.4 kB / 1.215 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.7324, allocations: 55.34 kB / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.7327, allocations: 249 kB / 1.216 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.7327, allocations: 33.73 kB / 1.216 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.7328, allocations: 128.7 kB / 1.216 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/0.7328, allocations: 106.4 kB / 1.216 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.7329, allocations: 29.7 kB / 1.216 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.733, allocations: 338.8 kB / 1.216 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.7331, allocations: 75.97 kB / 1.216 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.7331, allocations: 71.97 kB / 1.217 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.7333, allocations: 201.8 kB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7333, allocations: 4.031 kB / 1.217 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000212/0.7335, allocations: 229.2 kB / 1.217 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7335, allocations: 7.938 kB / 1.217 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.7336, allocations: 0 / 1.217 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7336, allocations: 3.938 kB / 1.217 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.7336, allocations: 7.984 kB / 1.217 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.7336, allocations: 0 / 1.217 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.7337, allocations: 7.844 kB / 1.217 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.7337, allocations: 4 kB / 1.217 GB, free: 3.488 MB / 0.9356 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.000115/0.7338, allocations: 157.8 kB / 1.217 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.7338, allocations: 27.56 kB / 1.217 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.7341, allocations: 252.4 kB / 1.217 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7341, allocations: 0 / 1.217 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7341, allocations: 0 / 1.217 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.7341, allocations: 0 / 1.217 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.7343, allocations: 285.8 kB / 1.218 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.7343, allocations: 0 / 1.218 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.7343, allocations: 0 / 1.218 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.7343, allocations: 4 kB / 1.218 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.7344, allocations: 32 / 1.218 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7344, allocations: 7.938 kB / 1.218 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7344, allocations: 0 / 1.218 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.7346, allocations: 272.6 kB / 1.218 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.7347, allocations: 100.8 kB / 1.218 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.7347, allocations: 0 / 1.218 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.7347, allocations: 4 kB / 1.218 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.7348, allocations: 3.984 kB / 1.218 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7348, allocations: 4.031 kB / 1.218 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001465/0.7349, allocations: 188.5 kB / 1.218 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7349, allocations: 0 / 1.218 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006051/0.7355, allocations: 211.8 kB / 1.218 GB, free: 1.891 MB / 0.9356 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.001192/0.7367, allocations: 1.03 MB / 1.219 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.737, allocations: 273.6 kB / 1.22 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.737, allocations: 0 / 1.22 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.7372, allocations: 177.6 kB / 1.22 GB, free: 388 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.7374, allocations: 17.03 kB / 1.22 GB, free: 368 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.7398, allocations: 2.576 MB / 1.222 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.7401, allocations: 0.7671 MB / 1.223 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.7401, allocations: 4 kB / 1.223 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.7402, allocations: 55.42 kB / 1.223 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.7402, allocations: 0 / 1.223 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.7663, allocations: 7.764 MB / 1.231 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.6, allocations: 9.5 kB / 1.231 GB, free: 5.305 MB / 0.9512 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)