Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001228/0.001233, allocations: 109.4 kB / 15.69 MB, free: 128 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.00139/0.00139, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.3 MB / 0.549 GB, free: 12.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 74.62 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2295, allocations: 114.6 MB / 0.7837 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002569/0.2321, allocations: 1.442 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004195/0.2363, allocations: 2.92 MB / 0.7879 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.2364, allocations: 0 / 0.7879 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.2364, allocations: 7.922 kB / 0.7879 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.2365, allocations: 19.86 kB / 0.788 GB, free: 8.754 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.2403, allocations: 1.623 MB / 0.7896 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.2404, allocations: 39.75 kB / 0.7896 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.2404, allocations: 3.984 kB / 0.7896 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.2405, allocations: 15.88 kB / 0.7896 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.2405, allocations: 19.88 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.2405, allocations: 4 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.2426, allocations: 1.505 MB / 0.7911 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.2426, allocations: 4 kB / 0.7911 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.2426, allocations: 19.86 kB / 0.7911 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.244, allocations: 1.096 MB / 0.7922 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.244, allocations: 0 / 0.7922 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.244, allocations: 0 / 0.7922 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.244, allocations: 0 / 0.7922 GB, free: 4.438 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005992/0.2446, allocations: 0.5146 MB / 0.7927 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.2447, allocations: 12.03 kB / 0.7927 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.77e-05/0.2448, allocations: 110 kB / 0.7928 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.2448, allocations: 88.2 kB / 0.7929 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.245, allocations: 247.6 kB / 0.7931 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/0.2451, allocations: 154.9 kB / 0.7933 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.2452, allocations: 154.9 kB / 0.7934 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.592e-05/0.2452, allocations: 108.9 kB / 0.7935 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.2453, allocations: 75.28 kB / 0.7936 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.2453, allocations: 154.6 kB / 0.7938 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.2454, allocations: 150.6 kB / 0.7939 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.2454, allocations: 154.6 kB / 0.794 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.2458, allocations: 461.8 kB / 0.7945 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.2459, allocations: 181.1 kB / 0.7947 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.2459, allocations: 80.14 kB / 0.7947 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.2459, allocations: 79.22 kB / 0.7948 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.246, allocations: 109.8 kB / 0.7949 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.246, allocations: 0 / 0.7949 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.597e-05/0.2461, allocations: 33.64 kB / 0.7949 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.2462, allocations: 130.7 kB / 0.7951 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2463, allocations: 136.5 kB / 0.7952 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.2463, allocations: 25.7 kB / 0.7952 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.2464, allocations: 88.14 kB / 0.7953 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.2464, allocations: 0 / 0.7953 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.2464, allocations: 21.7 kB / 0.7953 GB, free: 1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2466, allocations: 314.8 kB / 0.7956 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.2466, allocations: 8 kB / 0.7956 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.2466, allocations: 4 kB / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.2467, allocations: 16.84 kB / 0.7957 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2467, allocations: 0 / 0.7957 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001267/0.2468, allocations: 53.61 kB / 0.7957 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2468, allocations: 4 kB / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.2468, allocations: 7.938 kB / 0.7957 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2469, allocations: 0 / 0.7957 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.215e-06/0.2469, allocations: 3.984 kB / 0.7957 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2469, allocations: 0 / 0.7957 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.2469, allocations: 11.91 kB / 0.7957 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2469, allocations: 0 / 0.7957 GB, free: 0.5664 MB / 0.6075 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 9.925e-05/0.247, allocations: 193.1 kB / 0.7959 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.2471, allocations: 108.9 kB / 0.796 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.2472, allocations: 112.6 kB / 0.7961 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.85e-05/0.2472, allocations: 180.2 kB / 0.7963 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-05/0.2473, allocations: 184.3 kB / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/0.2474, allocations: 184.2 kB / 0.7967 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2476, allocations: 413.2 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.167e-05/0.2477, allocations: 105 kB / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.2477, allocations: 109 kB / 0.7973 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-05/0.2478, allocations: 180.2 kB / 0.7974 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.2479, allocations: 184.3 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-05/0.2479, allocations: 180.3 kB / 0.7978 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.068e-05/0.248, allocations: 180.2 kB / 0.7979 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.2482, allocations: 319.6 kB / 0.7982 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.2482, allocations: 190 kB / 0.7984 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.2483, allocations: 176.3 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.2484, allocations: 108.9 kB / 0.7987 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.2485, allocations: 180.3 kB / 0.7989 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.2486, allocations: 104.9 kB / 0.799 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.2487, allocations: 99.27 kB / 0.7991 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2487, allocations: 4 kB / 0.7991 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007368/0.2494, allocations: 275.8 kB / 0.7993 GB, free: 12.65 MB / 0.6231 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001352/0.2508, allocations: 1.181 MB / 0.8005 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2509, allocations: 41.64 kB / 0.8005 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2509, allocations: 0 / 0.8005 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.2509, allocations: 3.984 kB / 0.8005 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.2513, allocations: 455.7 kB / 0.801 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.2526, allocations: 1.601 MB / 0.8025 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2529, allocations: 0.6846 MB / 0.8032 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.211e-05/0.2529, allocations: 0 / 0.8032 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.2529, allocations: 11.44 kB / 0.8032 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2529, allocations: 0 / 0.8032 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.2794, allocations: 7.019 MB / 0.8101 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.037, allocations: 10.12 kB / 0.8101 GB, free: 1.73 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)