Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.4 MB / 303.3 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007821/0.0007823, allocations: 86.25 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 11.84 kB / 0.8671 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2237, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001447/0.2252, allocations: 1.138 MB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003652/0.2289, allocations: 2.763 MB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.2289, allocations: 0 / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.229, allocations: 0 / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.2291, allocations: 11.81 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.003417/0.2325, allocations: 1.326 MB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.799e-05/0.2326, allocations: 43.67 kB / 0.9849 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.2326, allocations: 7.938 kB / 0.9849 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.504e-05/0.2327, allocations: 8 kB / 0.9849 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.04e-05/0.2327, allocations: 23.86 kB / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2327, allocations: 0 / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.2345, allocations: 1.268 MB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.2345, allocations: 4 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.2346, allocations: 33.64 kB / 0.9862 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008982/0.2355, allocations: 0.7175 MB / 0.9869 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2355, allocations: 0 / 0.9869 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2355, allocations: 0 / 0.9869 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2355, allocations: 0 / 0.9869 GB, free: 20.18 MB / 0.6198 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.0004479/0.236, allocations: 0.5193 MB / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.236, allocations: 12.03 kB / 0.9874 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.236, allocations: 105.8 kB / 0.9875 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.2361, allocations: 87.14 kB / 0.9876 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/0.2362, allocations: 242.3 kB / 0.9878 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2362, allocations: 154.5 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.2363, allocations: 154.6 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.461e-05/0.2363, allocations: 108.9 kB / 0.9882 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2363, allocations: 75.28 kB / 0.9883 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.2364, allocations: 158.5 kB / 0.9884 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.2364, allocations: 150.6 kB / 0.9886 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.2364, allocations: 154.5 kB / 0.9887 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.2366, allocations: 465.9 kB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.762e-05/0.2367, allocations: 169.1 kB / 0.9893 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.2367, allocations: 80.14 kB / 0.9894 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.2367, allocations: 75.28 kB / 0.9895 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2367, allocations: 117.8 kB / 0.9896 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.2367, allocations: 4 kB / 0.9896 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.143e-05/0.2368, allocations: 29.64 kB / 0.9896 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.2368, allocations: 130.6 kB / 0.9897 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.2369, allocations: 147.2 kB / 0.9899 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.237, allocations: 25.7 kB / 0.9899 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.237, allocations: 84.14 kB / 0.99 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-06/0.237, allocations: 4 kB / 0.99 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.237, allocations: 0 / 0.99 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.2371, allocations: 326.8 kB / 0.9903 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.2371, allocations: 4 kB / 0.9903 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.2371, allocations: 8 kB / 0.9903 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/0.2371, allocations: 4 kB / 0.9903 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2372, allocations: 0 / 0.9903 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/0.2373, allocations: 49.61 kB / 0.9904 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2373, allocations: 7.984 kB / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.2373, allocations: 4 kB / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2373, allocations: 0 / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.654e-06/0.2373, allocations: 0 / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2373, allocations: 8 kB / 0.9904 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.2374, allocations: 0 / 0.9904 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.2374, allocations: 4 kB / 0.9904 GB, free: 16.34 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.2374, allocations: 189.7 kB / 0.9906 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.2375, allocations: 108.9 kB / 0.9907 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.2375, allocations: 112.9 kB / 0.9908 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.2376, allocations: 180.2 kB / 0.9909 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/0.2376, allocations: 184.3 kB / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.2376, allocations: 184.2 kB / 0.9913 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2378, allocations: 417.2 kB / 0.9917 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.2378, allocations: 101 kB / 0.9918 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.2378, allocations: 104.9 kB / 0.9919 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-05/0.2378, allocations: 184.3 kB / 0.9921 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.2379, allocations: 184.2 kB / 0.9922 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.272e-05/0.2379, allocations: 176.3 kB / 0.9924 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.482e-05/0.2379, allocations: 184.2 kB / 0.9926 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.238, allocations: 315.6 kB / 0.9929 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.238, allocations: 186 kB / 0.9931 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.2381, allocations: 180.5 kB / 0.9932 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.2381, allocations: 112.9 kB / 0.9933 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.2382, allocations: 184.3 kB / 0.9935 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2382, allocations: 105 kB / 0.9936 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.2382, allocations: 104.5 kB / 0.9937 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2382, allocations: 0 / 0.9937 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006761/0.2389, allocations: 283.8 kB / 0.994 GB, free: 12.43 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/0.2399, allocations: 1.171 MB / 0.9951 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.351e-05/0.24, allocations: 41.69 kB / 0.9952 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.24, allocations: 3.938 kB / 0.9952 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.24, allocations: 0 / 0.9952 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2404, allocations: 0.5263 MB / 0.9957 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.2411, allocations: 0.6977 MB / 0.9964 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2412, allocations: 0.6848 MB / 0.997 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.313e-05/0.2412, allocations: 0 / 0.997 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.2413, allocations: 19.48 kB / 0.9971 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2413, allocations: 0 / 0.9971 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.2594, allocations: 6.975 MB / 1.004 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.2596, allocations: 331.7 kB / 1.004 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.212, allocations: 0 / 1.004 GB, free: 2.074 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)