Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_TwoUTube,fileNamePrefix="Buildings_10_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_10_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.007952/0.007952, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001898/0.001898, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 68.12 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7282/0.7296, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.00228/0.7319, allocations: 1.397 MB / 1.168 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.7344, allocations: 1.794 MB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.7345, allocations: 0 / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.079e-05/0.7346, allocations: 11.92 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.7348, allocations: 27.83 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.7372, allocations: 1.152 MB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.446e-05/0.7373, allocations: 51.72 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.7374, allocations: 7.984 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.351e-05/0.7375, allocations: 19.92 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.7375, allocations: 31.84 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.7376, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.7386, allocations: 0.893 MB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.7387, allocations: 59.81 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.7388, allocations: 71.38 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000927/0.7397, allocations: 0.8822 MB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.7397, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7397, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.7397, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 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.0006093/0.7404, allocations: 0.5984 MB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7404, allocations: 12.92 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.7405, allocations: 46.73 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.7405, allocations: 24.75 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.7407, allocations: 226.9 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.7407, allocations: 4.375 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.7407, allocations: 384 / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.7409, allocations: 109.6 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.7409, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.7409, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.7409, allocations: 4 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.741, allocations: 71.92 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.7412, allocations: 277.9 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.7413, allocations: 122.6 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.7414, allocations: 112.9 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.7414, allocations: 3.938 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.7415, allocations: 30.56 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=32): time 1.062e-06/0.7415, allocations: 0 / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32): time 0.0003469/0.7418, allocations: 343.5 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.7419, allocations: 51.41 kB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.7421, allocations: 257 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.7421, allocations: 29.73 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.7422, allocations: 124.7 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.7422, allocations: 115 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.7423, allocations: 29.64 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7424, allocations: 342.8 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.7425, allocations: 75.97 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.7425, allocations: 64.78 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.7427, allocations: 209 kB / 1.176 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7427, allocations: 4.031 kB / 1.176 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002004/0.7429, allocations: 229.3 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7429, allocations: 4 kB / 1.176 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.7429, allocations: 4 kB / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.743, allocations: 3.938 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.743, allocations: 0 / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.743, allocations: 0 / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.743, allocations: 15.83 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.743, allocations: 0 / 1.176 GB, free: 9.672 MB / 0.9044 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.0001142/0.7432, allocations: 157.8 kB / 1.176 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.7432, allocations: 27.75 kB / 1.176 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.7435, allocations: 260.4 kB / 1.176 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7435, allocations: 0 / 1.176 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7435, allocations: 0 / 1.176 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.7435, allocations: 4 kB / 1.176 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.7437, allocations: 281.8 kB / 1.177 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.7437, allocations: 4 kB / 1.177 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.7437, allocations: 0 / 1.177 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.7437, allocations: 0 / 1.177 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.7437, allocations: 4.031 kB / 1.177 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7437, allocations: 4 kB / 1.177 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7437, allocations: 0 / 1.177 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.7439, allocations: 260.8 kB / 1.177 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.744, allocations: 108.8 kB / 1.177 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.744, allocations: 0 / 1.177 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.7441, allocations: 0 / 1.177 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.7441, allocations: 4 kB / 1.177 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.7441, allocations: 4.031 kB / 1.177 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001416/0.7442, allocations: 192.4 kB / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7442, allocations: 0 / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005755/0.7448, allocations: 207.4 kB / 1.177 GB, free: 8.074 MB / 0.9044 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.001053/0.7459, allocations: 1.043 MB / 1.178 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.7462, allocations: 269.6 kB / 1.179 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7462, allocations: 3.938 kB / 1.179 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.7463, allocations: 181.6 kB / 1.179 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.7466, allocations: 20.48 kB / 1.179 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.7488, allocations: 2.578 MB / 1.181 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.7492, allocations: 0.7671 MB / 1.182 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.7492, allocations: 4 kB / 1.182 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.7493, allocations: 59.41 kB / 1.182 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of SimCode: time 8.01e-07/0.7493, allocations: 0 / 1.182 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.7746, allocations: 7.716 MB / 1.19 GB, free: 11.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.896, allocations: 10.31 kB / 1.19 GB, free: 11.5 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)