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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001153/0.001152, allocations: 105.4 kB / 15.7 MB, free: 20 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.001445/0.001444, allocations: 196.2 kB / 16.64 MB, free: 6.59 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.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.673/1.673, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001508/0.001508, allocations: 69.25 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1997, allocations: 114.5 MB / 0.7837 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002717/0.2025, allocations: 1.444 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004313/0.2068, allocations: 2.974 MB / 0.788 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.2069, allocations: 0 / 0.788 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.207, allocations: 0 / 0.788 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.2071, allocations: 19.78 kB / 0.788 GB, free: 8.734 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/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.211, allocations: 1.66 MB / 0.7896 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.523e-05/0.2111, allocations: 43.67 kB / 0.7897 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.2111, allocations: 4 kB / 0.7897 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.2111, allocations: 15.94 kB / 0.7897 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.2112, allocations: 15.92 kB / 0.7897 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.537e-06/0.2112, allocations: 0 / 0.7897 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.2132, allocations: 1.552 MB / 0.7912 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.2132, allocations: 7.938 kB / 0.7912 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.2132, allocations: 23.86 kB / 0.7913 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.2145, allocations: 1.115 MB / 0.7924 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2145, allocations: 0 / 0.7924 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2145, allocations: 0 / 0.7924 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.2145, allocations: 0 / 0.7924 GB, free: 4.309 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.0005363/0.2151, allocations: 0.5301 MB / 0.7929 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2151, allocations: 8.031 kB / 0.7929 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.2151, allocations: 106 kB / 0.793 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.2152, allocations: 84.22 kB / 0.7931 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2154, allocations: 251.4 kB / 0.7933 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.2154, allocations: 150.9 kB / 0.7935 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.2155, allocations: 150.9 kB / 0.7936 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.181e-05/0.2155, allocations: 108.9 kB / 0.7937 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.2155, allocations: 75.28 kB / 0.7938 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.2156, allocations: 158.6 kB / 0.7939 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.2156, allocations: 154.5 kB / 0.7941 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.2157, allocations: 158.5 kB / 0.7942 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.216, allocations: 461.9 kB / 0.7947 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.887e-05/0.216, allocations: 173.1 kB / 0.7948 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.2161, allocations: 80.14 kB / 0.7949 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2161, allocations: 79.22 kB / 0.795 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.2161, allocations: 113.8 kB / 0.7951 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2161, allocations: 0 / 0.7951 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.533e-05/0.2162, allocations: 25.7 kB / 0.7951 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.2163, allocations: 130.7 kB / 0.7952 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2164, allocations: 144.6 kB / 0.7954 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2164, allocations: 25.7 kB / 0.7954 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2165, allocations: 92.12 kB / 0.7955 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2165, allocations: 4 kB / 0.7955 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.2165, allocations: 13.72 kB / 0.7955 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.2166, allocations: 318.8 kB / 0.7958 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.2166, allocations: 4 kB / 0.7958 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.2166, allocations: 15.94 kB / 0.7958 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/0.2167, allocations: 16.8 kB / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2167, allocations: 0 / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001128/0.2168, allocations: 61.59 kB / 0.7959 GB, free: 448 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2168, allocations: 8 kB / 0.7959 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.2169, allocations: 0 / 0.7959 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2169, allocations: 4 kB / 0.7959 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.2169, allocations: 0 / 0.7959 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2169, allocations: 0 / 0.7959 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.2169, allocations: 0 / 0.7959 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.2169, allocations: 4.062 kB / 0.7959 GB, free: 432 kB / 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.852e-05/0.217, allocations: 185.1 kB / 0.7961 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.2171, allocations: 112.8 kB / 0.7962 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/0.2171, allocations: 112.8 kB / 0.7963 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-05/0.2172, allocations: 184.2 kB / 0.7965 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.123e-05/0.2172, allocations: 180.3 kB / 0.7967 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/0.2173, allocations: 180.3 kB / 0.7968 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.2175, allocations: 417.1 kB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/0.2175, allocations: 113 kB / 0.7973 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.2176, allocations: 104.9 kB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.198e-05/0.2176, allocations: 176.3 kB / 0.7976 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.2177, allocations: 180.3 kB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.117e-05/0.2177, allocations: 188.2 kB / 0.798 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.845e-05/0.2178, allocations: 176.3 kB / 0.7981 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.2179, allocations: 311.6 kB / 0.7984 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.218, allocations: 190.1 kB / 0.7986 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.2181, allocations: 180.2 kB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.2181, allocations: 101 kB / 0.7989 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.2182, allocations: 188.2 kB / 0.799 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.2182, allocations: 104.9 kB / 0.7991 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.226e-05/0.2183, allocations: 99.25 kB / 0.7992 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2183, allocations: 0 / 0.7992 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006358/0.2189, allocations: 291.8 kB / 0.7995 GB, free: 12.5 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.001223/0.2202, allocations: 1.201 MB / 0.8007 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.217e-05/0.2203, allocations: 37.7 kB / 0.8007 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2203, allocations: 0 / 0.8007 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.2203, allocations: 368 / 0.8007 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.2207, allocations: 483.7 kB / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.2219, allocations: 1.594 MB / 0.8027 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.2221, allocations: 0.6846 MB / 0.8034 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.205e-05/0.2221, allocations: 0 / 0.8034 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.2222, allocations: 19.44 kB / 0.8034 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.2222, allocations: 0 / 0.8034 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.2479, allocations: 7.223 MB / 0.8105 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.621, allocations: 14.17 kB / 0.8105 GB, free: 1.336 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)