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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.213/2.213, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001336/0.001335, allocations: 170.7 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.443/2.443, allocations: 205.4 MB / 0.5767 GB, free: 20.73 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.001113/0.001113, allocations: 88.23 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004995, allocations: 15.28 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2118, 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.InternalResistancesOneUTube): time 0.001638/0.2135, allocations: 1.142 MB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004924/0.2184, allocations: 2.746 MB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.2185, allocations: 0 / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.2186, allocations: 0 / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.2187, allocations: 23.78 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004887/0.2236, allocations: 1.3 MB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.079e-05/0.2237, allocations: 35.75 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.483e-05/0.2237, allocations: 11.98 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.2238, allocations: 11.94 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.32e-05/0.2238, allocations: 11.94 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.2238, allocations: 4 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.2266, allocations: 1.225 MB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.2266, allocations: 7.922 kB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.2267, allocations: 33.7 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.2282, allocations: 0.6982 MB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2282, allocations: 0 / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2282, allocations: 4 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2283, allocations: 0 / 0.9062 GB, free: 58.11 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.0006451/0.2289, allocations: 0.5044 MB / 0.9067 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.229, allocations: 15.97 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.229, allocations: 80.12 kB / 0.9068 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2292, allocations: 249.6 kB / 0.907 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.2292, allocations: 150.9 kB / 0.9071 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.2292, allocations: 166.9 kB / 0.9073 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.136e-05/0.2293, allocations: 109.1 kB / 0.9074 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.2293, allocations: 75.28 kB / 0.9075 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2294, allocations: 150.6 kB / 0.9076 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.2294, allocations: 150.6 kB / 0.9078 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.2295, allocations: 158.5 kB / 0.9079 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.2297, allocations: 465.9 kB / 0.9084 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.772e-05/0.2298, allocations: 165.1 kB / 0.9085 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.2298, allocations: 84.14 kB / 0.9086 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.2298, allocations: 79.22 kB / 0.9087 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2299, allocations: 121.7 kB / 0.9088 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.2299, allocations: 0 / 0.9088 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.703e-05/0.23, allocations: 33.61 kB / 0.9088 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.23, allocations: 126.7 kB / 0.9089 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2301, allocations: 125.8 kB / 0.9091 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.2302, allocations: 25.7 kB / 0.9091 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.2302, allocations: 92.12 kB / 0.9092 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.2302, allocations: 4 kB / 0.9092 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.2302, allocations: 4 kB / 0.9092 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.2303, allocations: 314.8 kB / 0.9095 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.2303, allocations: 4 kB / 0.9095 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.2304, allocations: 7.984 kB / 0.9095 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/0.2304, allocations: 7.938 kB / 0.9095 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2304, allocations: 0 / 0.9095 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.2306, allocations: 49.55 kB / 0.9095 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2306, allocations: 6.344 kB / 0.9095 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.2306, allocations: 8.062 kB / 0.9096 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2307, allocations: 0 / 0.9096 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-06/0.2307, allocations: 7.984 kB / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2307, allocations: 0 / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.2307, allocations: 0 / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2308, allocations: 7.984 kB / 0.9096 GB, free: 54.4 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.906e-05/0.2308, allocations: 185.1 kB / 0.9097 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.2309, allocations: 120.8 kB / 0.9099 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.2309, allocations: 108.9 kB / 0.91 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.251e-05/0.231, allocations: 184.2 kB / 0.9101 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/0.231, allocations: 184.2 kB / 0.9103 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/0.2311, allocations: 176.3 kB / 0.9105 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2312, allocations: 417.2 kB / 0.9109 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/0.2313, allocations: 108.9 kB / 0.911 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.2313, allocations: 105 kB / 0.9111 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.305e-05/0.2313, allocations: 180.2 kB / 0.9113 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.2314, allocations: 180.3 kB / 0.9114 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.22e-05/0.2314, allocations: 184.2 kB / 0.9116 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.024e-05/0.2315, allocations: 176.3 kB / 0.9118 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.315e-05/0.2316, allocations: 311.8 kB / 0.9121 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.2316, allocations: 189.9 kB / 0.9123 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.2317, allocations: 180.2 kB / 0.9124 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.2318, allocations: 109.3 kB / 0.9125 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.2318, allocations: 180.3 kB / 0.9127 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.2318, allocations: 104.9 kB / 0.9128 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.2319, allocations: 103.2 kB / 0.9129 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2319, allocations: 0 / 0.9129 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009478/0.2329, allocations: 275.8 kB / 0.9132 GB, free: 50.49 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.001322/0.2342, allocations: 0.5146 MB / 0.9137 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.2344, allocations: 49.69 kB / 0.9137 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2344, allocations: 0 / 0.9137 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.2344, allocations: 3.938 kB / 0.9137 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.2348, allocations: 0.5284 MB / 0.9142 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.2351, allocations: 255.7 kB / 0.9145 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.2352, allocations: 0.6809 MB / 0.9151 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.468e-05/0.2353, allocations: 0 / 0.9151 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.2353, allocations: 11.44 kB / 0.9152 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.034e-06/0.2353, allocations: 4 kB / 0.9152 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.01267/0.248, allocations: 5.511 MB / 0.9205 GB, free: 42.93 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)