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.00117/0.00117, 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.00116/0.00116, allocations: 194.3 kB / 16.53 MB, free: 6.699 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.349/1.349, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.701/1.701, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001556/0.001557, allocations: 69.3 kB / 0.6717 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1826, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002528/0.1851, allocations: 1.43 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004027/0.1892, allocations: 2.928 MB / 0.7878 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.1892, allocations: 0 / 0.7878 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.1892, allocations: 3.938 kB / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.293e-05/0.1893, allocations: 15.84 kB / 0.7878 GB, free: 8.945 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.003725/0.1931, allocations: 1.632 MB / 0.7894 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.1931, allocations: 47.73 kB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.1932, allocations: 0 / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.669e-05/0.1932, allocations: 11.94 kB / 0.7895 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.824e-05/0.1932, allocations: 23.84 kB / 0.7895 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1933, allocations: 0 / 0.7895 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.1952, allocations: 1.447 MB / 0.7909 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.1952, allocations: 8 kB / 0.7909 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1953, allocations: 11.88 kB / 0.7909 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.1968, allocations: 1.096 MB / 0.792 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1968, allocations: 4 kB / 0.792 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1968, allocations: 0 / 0.792 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.1968, allocations: 0 / 0.792 GB, free: 4.68 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.000591/0.1974, allocations: 0.5145 MB / 0.7925 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1974, allocations: 12.03 kB / 0.7925 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.1975, allocations: 110 kB / 0.7926 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.1975, allocations: 76.22 kB / 0.7927 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1977, allocations: 251.5 kB / 0.7929 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.1977, allocations: 158.9 kB / 0.7931 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.1978, allocations: 150.9 kB / 0.7932 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.478e-05/0.1978, allocations: 108.9 kB / 0.7933 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.1979, allocations: 75.28 kB / 0.7934 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.1979, allocations: 150.6 kB / 0.7935 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/0.1979, allocations: 154.5 kB / 0.7937 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.198, allocations: 158.5 kB / 0.7938 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.1982, allocations: 457.9 kB / 0.7943 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.714e-05/0.1983, allocations: 173.1 kB / 0.7944 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.1984, allocations: 84.14 kB / 0.7945 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1984, allocations: 83.22 kB / 0.7946 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1984, allocations: 109.8 kB / 0.7947 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1984, allocations: 0 / 0.7947 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.004e-05/0.1985, allocations: 29.7 kB / 0.7947 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1986, allocations: 126.7 kB / 0.7948 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1987, allocations: 132.7 kB / 0.795 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.1987, allocations: 33.7 kB / 0.795 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.1987, allocations: 92.12 kB / 0.7951 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.1988, allocations: 0 / 0.7951 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.1988, allocations: 17.72 kB / 0.7951 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.1989, allocations: 310.8 kB / 0.7954 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.1989, allocations: 7.984 kB / 0.7954 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.1989, allocations: 11.94 kB / 0.7954 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.199, allocations: 12.8 kB / 0.7954 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.199, allocations: 4.031 kB / 0.7954 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.1991, allocations: 49.64 kB / 0.7955 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1991, allocations: 7.984 kB / 0.7955 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.1991, allocations: 4 kB / 0.7955 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1992, allocations: 0 / 0.7955 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.1992, allocations: 0 / 0.7955 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1992, allocations: 3.938 kB / 0.7955 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.1992, allocations: 7.844 kB / 0.7955 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1992, allocations: 4 kB / 0.7955 GB, free: 0.8203 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 7.879e-05/0.1993, allocations: 185.2 kB / 0.7957 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.1993, allocations: 112.9 kB / 0.7958 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.1994, allocations: 116.8 kB / 0.7959 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-05/0.1994, allocations: 176.3 kB / 0.7961 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.838e-05/0.1995, allocations: 184.2 kB / 0.7963 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.838e-05/0.1996, allocations: 176.3 kB / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1998, allocations: 425.1 kB / 0.7968 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.1998, allocations: 109 kB / 0.7969 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.1998, allocations: 105 kB / 0.797 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.038e-05/0.1999, allocations: 180.2 kB / 0.7972 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.2, allocations: 180.3 kB / 0.7974 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.175e-05/0.2, allocations: 184.2 kB / 0.7976 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.828e-05/0.2001, allocations: 184.2 kB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.2002, allocations: 307.6 kB / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.2003, allocations: 186 kB / 0.7982 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.2003, allocations: 188.2 kB / 0.7984 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.2004, allocations: 105 kB / 0.7985 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.2005, allocations: 184.2 kB / 0.7987 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.2005, allocations: 101 kB / 0.7988 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.066e-05/0.2005, allocations: 95.27 kB / 0.7988 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2006, allocations: 0 / 0.7988 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000675/0.2012, allocations: 279.8 kB / 0.7991 GB, free: 12.91 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.001307/0.2025, allocations: 1.192 MB / 0.8003 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.2026, allocations: 37.69 kB / 0.8003 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2027, allocations: 4.062 kB / 0.8003 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.2027, allocations: 0 / 0.8003 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.203, allocations: 459.7 kB / 0.8008 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2043, allocations: 1.587 MB / 0.8023 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.2045, allocations: 0.6807 MB / 0.803 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.343e-05/0.2045, allocations: 4 kB / 0.803 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.2045, allocations: 15.42 kB / 0.803 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2045, allocations: 0 / 0.803 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06178/0.2663, allocations: 7.027 MB / 0.8098 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/8.867, allocations: 6.125 kB / 0.8099 GB, free: 1.965 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --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)