Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 252 MB / 267 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 182.1 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 0.5777 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007517, allocations: 88.22 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003675, allocations: 14.38 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 106.3 MB / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001351/0.208, allocations: 1.154 MB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003298/0.2113, allocations: 2.75 MB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.2114, allocations: 0 / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.2114, allocations: 3.984 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.2115, allocations: 15.86 kB / 0.9042 GB, free: 60.34 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.003239/0.2147, allocations: 1.318 MB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.131e-05/0.2148, allocations: 39.73 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.2149, allocations: 4 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.635e-05/0.2149, allocations: 23.92 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.2149, allocations: 15.88 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.148e-06/0.2149, allocations: 0 / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.2168, allocations: 1.268 MB / 0.9068 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.2168, allocations: 4 kB / 0.9068 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.2168, allocations: 33.7 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000999/0.2178, allocations: 0.7216 MB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2178, allocations: 4 kB / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2178, allocations: 0 / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.2179, allocations: 4 kB / 0.9075 GB, free: 56.92 MB / 0.6042 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.0005693/0.2184, allocations: 0.5105 MB / 0.908 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2185, allocations: 8.031 kB / 0.9081 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.2185, allocations: 105.8 kB / 0.9082 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.2186, allocations: 87.23 kB / 0.9082 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2187, allocations: 246.2 kB / 0.9085 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.2187, allocations: 150.6 kB / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2188, allocations: 154.6 kB / 0.9088 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.677e-05/0.2188, allocations: 108.9 kB / 0.9089 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2188, allocations: 75.28 kB / 0.9089 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.2189, allocations: 150.6 kB / 0.9091 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.2189, allocations: 158.5 kB / 0.9092 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.2189, allocations: 154.6 kB / 0.9094 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.2191, allocations: 461.9 kB / 0.9098 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.2192, allocations: 173.1 kB / 0.91 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.2192, allocations: 80.14 kB / 0.9101 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2192, allocations: 79.27 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2192, allocations: 117.8 kB / 0.9103 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2193, allocations: 0 / 0.9103 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.886e-05/0.2193, allocations: 29.61 kB / 0.9103 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.2194, allocations: 130.7 kB / 0.9104 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.2195, allocations: 136.6 kB / 0.9105 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.2195, allocations: 25.7 kB / 0.9106 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.2195, allocations: 104.1 kB / 0.9107 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.2196, allocations: 0 / 0.9107 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.2196, allocations: 0 / 0.9107 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.2196, allocations: 310.8 kB / 0.911 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.2196, allocations: 11.98 kB / 0.911 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.2197, allocations: 7.938 kB / 0.911 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.2197, allocations: 8 kB / 0.911 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2197, allocations: 0 / 0.911 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001114/0.2198, allocations: 49.61 kB / 0.911 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2198, allocations: 7.938 kB / 0.911 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.2199, allocations: 8.062 kB / 0.911 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2199, allocations: 0 / 0.911 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.2199, allocations: 0 / 0.911 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2199, allocations: 3.984 kB / 0.911 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.2199, allocations: 11.8 kB / 0.9111 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.22, allocations: 4 kB / 0.9111 GB, free: 53.08 MB / 0.6042 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.053e-05/0.22, allocations: 187.2 kB / 0.9112 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.2201, allocations: 105 kB / 0.9113 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.2201, allocations: 112.9 kB / 0.9115 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.2201, allocations: 188.2 kB / 0.9116 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.704e-05/0.2202, allocations: 180.3 kB / 0.9118 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.2202, allocations: 176.3 kB / 0.912 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2204, allocations: 417.1 kB / 0.9124 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.2204, allocations: 109 kB / 0.9125 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.2204, allocations: 108.9 kB / 0.9126 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.16e-05/0.2204, allocations: 180.3 kB / 0.9127 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.2205, allocations: 180.2 kB / 0.9129 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-05/0.2205, allocations: 176.3 kB / 0.9131 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.622e-05/0.2205, allocations: 176.3 kB / 0.9133 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.905e-05/0.2206, allocations: 323.6 kB / 0.9136 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.2206, allocations: 185.9 kB / 0.9137 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.2207, allocations: 176.3 kB / 0.9139 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.2207, allocations: 109.3 kB / 0.914 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.2208, allocations: 188.2 kB / 0.9142 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.2208, allocations: 101 kB / 0.9143 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.2208, allocations: 97.77 kB / 0.9144 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2209, allocations: 0 / 0.9144 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007131/0.2216, allocations: 279.8 kB / 0.9146 GB, free: 49.18 MB / 0.6042 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.001075/0.2227, allocations: 1.176 MB / 0.9158 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.46e-05/0.2228, allocations: 37.7 kB / 0.9158 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2228, allocations: 0 / 0.9158 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.2228, allocations: 4 kB / 0.9158 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.2231, allocations: 0.5332 MB / 0.9164 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.2238, allocations: 0.6909 MB / 0.917 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.053e-05/0.2239, allocations: 0.6809 MB / 0.9177 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.368e-05/0.2239, allocations: 0 / 0.9177 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.224, allocations: 23.48 kB / 0.9177 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.224, allocations: 0 / 0.9177 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.2424, allocations: 6.983 MB / 0.9245 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.2426, allocations: 323.2 kB / 0.9248 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.116, allocations: 0 / 0.9248 GB, free: 38.83 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)