Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.154/2.154, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001443, allocations: 177.5 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 0.5767 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 90.34 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004547, allocations: 11.38 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1937, allocations: 106.3 MB / 0.8991 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001623/0.1953, allocations: 1.154 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004918/0.2003, allocations: 2.778 MB / 0.9029 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.2004, allocations: 0 / 0.9029 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.2004, allocations: 7.938 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.2005, allocations: 15.84 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0049/0.2054, allocations: 1.32 MB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.082e-05/0.2055, allocations: 43.73 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.2056, allocations: 4 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.2056, allocations: 11.94 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.2057, allocations: 23.86 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2057, allocations: 4 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.2085, allocations: 1.26 MB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.2085, allocations: 7.984 kB / 0.9056 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.2086, allocations: 29.7 kB / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.2102, allocations: 0.7177 MB / 0.9063 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2102, allocations: 0 / 0.9063 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2102, allocations: 4 kB / 0.9063 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2103, allocations: 4 kB / 0.9063 GB, free: 57.98 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.0006806/0.211, allocations: 0.5146 MB / 0.9068 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.211, allocations: 12.03 kB / 0.9068 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.2111, allocations: 80.12 kB / 0.9069 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2112, allocations: 253.8 kB / 0.9071 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.2112, allocations: 154.9 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.2113, allocations: 154.9 kB / 0.9074 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.029e-05/0.2113, allocations: 109.1 kB / 0.9075 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2114, allocations: 87.14 kB / 0.9076 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.2114, allocations: 150.6 kB / 0.9078 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.2114, allocations: 150.6 kB / 0.9079 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.2115, allocations: 150.6 kB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.2117, allocations: 465.9 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.234e-05/0.2118, allocations: 169.1 kB / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.2118, allocations: 84.08 kB / 0.9087 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.2118, allocations: 75.28 kB / 0.9088 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2119, allocations: 113.8 kB / 0.9089 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.2119, allocations: 0 / 0.9089 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.389e-05/0.212, allocations: 37.61 kB / 0.909 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.212, allocations: 126.7 kB / 0.9091 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.2121, allocations: 125.8 kB / 0.9092 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.2122, allocations: 25.7 kB / 0.9092 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.2122, allocations: 96.12 kB / 0.9093 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.2122, allocations: 4 kB / 0.9093 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.2122, allocations: 0 / 0.9093 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.2123, allocations: 322.8 kB / 0.9096 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.2123, allocations: 3.938 kB / 0.9096 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.2124, allocations: 8 kB / 0.9096 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.2124, allocations: 4 kB / 0.9096 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2124, allocations: 0 / 0.9096 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001465/0.2126, allocations: 57.61 kB / 0.9097 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2126, allocations: 4 kB / 0.9097 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.2127, allocations: 8 kB / 0.9097 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2127, allocations: 7.984 kB / 0.9097 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-06/0.2127, allocations: 0 / 0.9097 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2127, allocations: 0 / 0.9097 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.2127, allocations: 4 kB / 0.9097 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2128, allocations: 0 / 0.9097 GB, free: 54.26 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 7.655e-05/0.2129, allocations: 189.1 kB / 0.9099 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.2129, allocations: 112.8 kB / 0.91 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.213, allocations: 112.9 kB / 0.9101 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/0.213, allocations: 188.2 kB / 0.9103 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/0.213, allocations: 176.3 kB / 0.9105 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/0.2131, allocations: 180.3 kB / 0.9106 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2133, allocations: 413.2 kB / 0.911 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/0.2133, allocations: 108.9 kB / 0.9111 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.2133, allocations: 112.9 kB / 0.9112 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.429e-05/0.2134, allocations: 176.3 kB / 0.9114 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.2134, allocations: 180.3 kB / 0.9116 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-05/0.2135, allocations: 180.2 kB / 0.9117 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.017e-05/0.2135, allocations: 184.2 kB / 0.9119 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.201e-05/0.2136, allocations: 315.7 kB / 0.9122 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.2137, allocations: 185.9 kB / 0.9124 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.2137, allocations: 184.2 kB / 0.9126 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.2138, allocations: 105 kB / 0.9127 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.2138, allocations: 184.5 kB / 0.9129 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.2139, allocations: 109 kB / 0.913 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.164e-05/0.2139, allocations: 100.7 kB / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.214, allocations: 0 / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009241/0.2149, allocations: 279.8 kB / 0.9133 GB, free: 50.34 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.00137/0.2163, allocations: 0.5226 MB / 0.9138 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.2164, allocations: 41.7 kB / 0.9139 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2164, allocations: 3.938 kB / 0.9139 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.2165, allocations: 0 / 0.9139 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.2169, allocations: 0.54 MB / 0.9144 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.2172, allocations: 252 kB / 0.9146 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.2173, allocations: 0.6848 MB / 0.9153 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.174e-05/0.2174, allocations: 0 / 0.9153 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.2174, allocations: 11.44 kB / 0.9153 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/0.2174, allocations: 0 / 0.9153 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.01293/0.2303, allocations: 5.714 MB / 0.9209 GB, free: 42.56 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)