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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001201/0.001201, allocations: 101.4 kB / 15.7 MB, free: 28 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.001596/0.001596, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.402/1.402, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.624/1.624, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001399/0.0014, allocations: 73.16 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2036, allocations: 114.6 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002605/0.2062, allocations: 1.443 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003949/0.2102, allocations: 2.97 MB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.2103, allocations: 4 kB / 0.788 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.2103, allocations: 3.938 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.2104, allocations: 15.86 kB / 0.788 GB, free: 8.742 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.003545/0.2139, allocations: 1.658 MB / 0.7896 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.214, allocations: 47.67 kB / 0.7897 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.2141, allocations: 3.984 kB / 0.7897 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.478e-05/0.2141, allocations: 11.94 kB / 0.7897 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.573e-05/0.2141, allocations: 11.94 kB / 0.7897 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2142, allocations: 8 kB / 0.7897 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.2162, allocations: 1.552 MB / 0.7912 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.2163, allocations: 0 / 0.7912 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.2163, allocations: 19.88 kB / 0.7913 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.218, allocations: 1.123 MB / 0.7924 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.218, allocations: 0 / 0.7924 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.218, allocations: 0 / 0.7924 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.218, allocations: 0 / 0.7924 GB, free: 4.324 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.0006748/0.2187, allocations: 0.5223 MB / 0.7929 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2187, allocations: 11.97 kB / 0.7929 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.2188, allocations: 114 kB / 0.793 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.2189, allocations: 76.22 kB / 0.7931 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.2191, allocations: 255.4 kB / 0.7933 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.2192, allocations: 150.9 kB / 0.7935 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.2192, allocations: 162.9 kB / 0.7936 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.2193, allocations: 116.9 kB / 0.7937 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.2194, allocations: 75.28 kB / 0.7938 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.2194, allocations: 150.6 kB / 0.7939 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.2195, allocations: 150.6 kB / 0.7941 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.2196, allocations: 154.5 kB / 0.7942 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.2199, allocations: 469.9 kB / 0.7947 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.22, allocations: 177.1 kB / 0.7948 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.22, allocations: 80.14 kB / 0.7949 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.2201, allocations: 79.22 kB / 0.795 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.2201, allocations: 113.8 kB / 0.7951 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2201, allocations: 0 / 0.7951 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.574e-05/0.2202, allocations: 33.64 kB / 0.7951 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.2203, allocations: 126.7 kB / 0.7953 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2204, allocations: 132.7 kB / 0.7954 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2205, allocations: 29.7 kB / 0.7954 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.2205, allocations: 92.12 kB / 0.7955 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.2205, allocations: 0 / 0.7955 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.2206, allocations: 21.72 kB / 0.7955 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2207, allocations: 318.8 kB / 0.7958 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.2207, allocations: 8 kB / 0.7958 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.2208, allocations: 0 / 0.7958 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.2208, allocations: 16.86 kB / 0.7958 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2208, allocations: 0 / 0.7958 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00014/0.221, allocations: 57.48 kB / 0.7959 GB, free: 464 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.221, allocations: 7.984 kB / 0.7959 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.221, allocations: 4 kB / 0.7959 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.221, allocations: 4.062 kB / 0.7959 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.221, allocations: 0 / 0.7959 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2211, allocations: 0 / 0.7959 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.2211, allocations: 0 / 0.7959 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2211, allocations: 4 kB / 0.7959 GB, free: 444 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 9.09e-05/0.2212, allocations: 181.1 kB / 0.7961 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.2212, allocations: 112.8 kB / 0.7962 GB, free: 132 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.2213, allocations: 120.8 kB / 0.7963 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.048e-05/0.2214, allocations: 180.3 kB / 0.7965 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-05/0.2214, allocations: 176.3 kB / 0.7967 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.725e-05/0.2215, allocations: 188.1 kB / 0.7968 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.2217, allocations: 421.1 kB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/0.2217, allocations: 108.9 kB / 0.7973 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.2218, allocations: 105 kB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-05/0.2219, allocations: 180.3 kB / 0.7976 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.2219, allocations: 184.3 kB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.296e-05/0.222, allocations: 176.3 kB / 0.798 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.939e-05/0.222, allocations: 188.2 kB / 0.7981 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2222, allocations: 315.6 kB / 0.7984 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.2222, allocations: 182.1 kB / 0.7986 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.2223, allocations: 184.2 kB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.2224, allocations: 104.9 kB / 0.7989 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.2224, allocations: 176.3 kB / 0.7991 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.2225, allocations: 108.9 kB / 0.7992 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.2225, allocations: 103.3 kB / 0.7993 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2226, allocations: 0 / 0.7993 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006842/0.2232, allocations: 287.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.001278/0.2245, allocations: 1.188 MB / 0.8007 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.2246, allocations: 41.7 kB / 0.8007 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2246, allocations: 3.938 kB / 0.8007 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.2247, allocations: 4.422 kB / 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.0003704/0.225, allocations: 467.7 kB / 0.8012 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2265, allocations: 1.607 MB / 0.8028 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2268, allocations: 0.6846 MB / 0.8034 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.42e-05/0.2268, allocations: 4.031 kB / 0.8034 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.2268, allocations: 15.38 kB / 0.8034 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2268, allocations: 4 kB / 0.8034 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.2524, allocations: 7.22 MB / 0.8105 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.707, allocations: 6.938 kB / 0.8105 GB, free: 1.348 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)