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.001599/0.001599, allocations: 108 kB / 15.61 MB, free: 152 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.001886/0.001886, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.692/2.692, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 66.17 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3087, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002504/0.3112, allocations: 1.382 MB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.3138, allocations: 1.791 MB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.3139, allocations: 0 / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.854e-05/0.314, allocations: 15.92 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.3142, allocations: 27.89 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.3168, allocations: 1.144 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3169, allocations: 47.83 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.317, allocations: 7.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3171, allocations: 27.91 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.3172, allocations: 23.92 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.3172, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.3184, allocations: 0.8617 MB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.3185, allocations: 67.75 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.3186, allocations: 67.42 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009222/0.3195, allocations: 0.8732 MB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3195, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3195, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3195, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 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.0006077/0.3202, allocations: 0.5838 MB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3202, allocations: 8.031 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.3202, allocations: 46.75 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.3203, allocations: 20.66 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3205, allocations: 234.7 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3205, allocations: 4.375 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.3205, allocations: 4.375 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3207, allocations: 106.1 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3207, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.3207, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3207, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.3208, allocations: 75.97 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.3211, allocations: 277.9 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3212, allocations: 122.5 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.3213, allocations: 104.9 kB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3213, allocations: 15.92 kB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.3213, allocations: 30.56 kB / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 1.152e-06/0.3213, allocations: 0 / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.0003553/0.3217, allocations: 325.9 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3217, allocations: 63.36 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.322, allocations: 256.9 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.322, allocations: 33.64 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.3221, allocations: 124.7 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.3221, allocations: 106.4 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.3222, allocations: 29.7 kB / 1.072 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3223, allocations: 338.8 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.3224, allocations: 75.97 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.3224, allocations: 75.97 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3226, allocations: 205.8 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3226, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002033/0.3228, allocations: 225.2 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3228, allocations: 7.938 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3229, allocations: 0 / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3229, allocations: 0 / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/0.3229, allocations: 4 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3229, allocations: 3.984 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.3229, allocations: 11.91 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.323, allocations: 0 / 1.073 GB, free: 4.473 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.0001159/0.3231, allocations: 157.8 kB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3231, allocations: 23.66 kB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.3234, allocations: 260.2 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3234, allocations: 0 / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3234, allocations: 32 / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3234, allocations: 4 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.3236, allocations: 281.8 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3236, allocations: 0 / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-06/0.3236, allocations: 3.984 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3236, allocations: 0 / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3236, allocations: 4 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3237, allocations: 3.938 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3237, allocations: 0 / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.3239, allocations: 264.7 kB / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.324, allocations: 104.7 kB / 1.074 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.324, allocations: 4 kB / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.324, allocations: 0 / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.324, allocations: 0 / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.324, allocations: 3.938 kB / 1.074 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001504/0.3242, allocations: 196.4 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3242, allocations: 0 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006172/0.3248, allocations: 207.9 kB / 1.075 GB, free: 2.883 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.001058/0.3259, allocations: 1.033 MB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.3262, allocations: 261.6 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3262, allocations: 4 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.3263, allocations: 177.6 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3266, allocations: 13.19 kB / 1.076 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.3288, allocations: 2.555 MB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.3291, allocations: 0.771 MB / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.3291, allocations: 0 / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.3292, allocations: 60.55 kB / 1.079 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3292, allocations: 4 kB / 1.079 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.354, allocations: 7.65 MB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.206, allocations: 12.06 kB / 1.087 GB, free: 6.395 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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)