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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001044/0.001045, allocations: 174.2 kB / 326.5 MB, free: 2.668 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.962/1.962, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0009426/0.0009425, allocations: 98.88 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 14.33 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2479, allocations: 105.4 MB / 0.8968 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001515/0.2495, allocations: 1.173 MB / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003887/0.2534, allocations: 3.112 MB / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.2534, allocations: 0 / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.2535, allocations: 3.938 kB / 0.901 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.2535, allocations: 15.86 kB / 0.901 GB, free: 63.77 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.003422/0.257, allocations: 1.464 MB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.2571, allocations: 43.69 kB / 0.9025 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.2571, allocations: 3.984 kB / 0.9025 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.03e-05/0.2571, allocations: 15.94 kB / 0.9025 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.697e-05/0.2572, allocations: 15.88 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.2572, allocations: 4 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.2593, allocations: 1.482 MB / 0.904 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.2593, allocations: 0 / 0.904 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.2593, allocations: 23.86 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009046/0.2602, allocations: 0.7954 MB / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2603, allocations: 0 / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2603, allocations: 0 / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2603, allocations: 0 / 0.9048 GB, free: 59.94 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.0004988/0.2608, allocations: 0.5146 MB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2608, allocations: 8.031 kB / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.2609, allocations: 80.22 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.261, allocations: 251.5 kB / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.2611, allocations: 154.9 kB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.2611, allocations: 158.9 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.089e-05/0.2612, allocations: 105.1 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2612, allocations: 83.2 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2612, allocations: 150.6 kB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.2612, allocations: 150.6 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.837e-05/0.2613, allocations: 154.6 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.2615, allocations: 469.8 kB / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.296e-05/0.2616, allocations: 169.1 kB / 0.9071 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.2616, allocations: 88.08 kB / 0.9072 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2617, allocations: 79.28 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.2617, allocations: 109.8 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2617, allocations: 0 / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 9.095e-05/0.2618, allocations: 33.69 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.2619, allocations: 126.7 kB / 0.9075 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.262, allocations: 135.9 kB / 0.9077 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.262, allocations: 25.7 kB / 0.9077 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.2621, allocations: 96.14 kB / 0.9078 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-06/0.2621, allocations: 0 / 0.9078 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.2621, allocations: 17.64 kB / 0.9078 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.2622, allocations: 318.8 kB / 0.9081 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.2622, allocations: 7.938 kB / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.2622, allocations: 4 kB / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.2623, allocations: 16.84 kB / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2623, allocations: 0 / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000121/0.2624, allocations: 57.58 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2624, allocations: 4 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.2624, allocations: 4 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2625, allocations: 0 / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.2625, allocations: 0 / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2625, allocations: 0 / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.2625, allocations: 7.984 kB / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.2625, allocations: 0 / 0.9082 GB, free: 56.19 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/0.2626, allocations: 191.2 kB / 0.9084 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.2626, allocations: 116.9 kB / 0.9085 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.2627, allocations: 112.9 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-05/0.2627, allocations: 184.2 kB / 0.9088 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/0.2628, allocations: 176.3 kB / 0.9089 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/0.2628, allocations: 184.2 kB / 0.9091 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.263, allocations: 413.2 kB / 0.9095 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.263, allocations: 104.9 kB / 0.9096 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.263, allocations: 108.9 kB / 0.9097 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.789e-05/0.2631, allocations: 184.4 kB / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.2631, allocations: 184.1 kB / 0.9101 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.029e-05/0.2632, allocations: 180.3 kB / 0.9102 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.122e-05/0.2632, allocations: 184.3 kB / 0.9104 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.674e-05/0.2633, allocations: 311.8 kB / 0.9107 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.2634, allocations: 189.9 kB / 0.9109 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.2634, allocations: 180.3 kB / 0.9111 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.2635, allocations: 105 kB / 0.9112 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.2636, allocations: 184.2 kB / 0.9113 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.2636, allocations: 101 kB / 0.9114 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.2636, allocations: 103.3 kB / 0.9115 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2636, allocations: 0 / 0.9115 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006893/0.2643, allocations: 287.7 kB / 0.9118 GB, free: 52.26 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 (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.001059/0.2654, allocations: 0.5626 MB / 0.9124 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.378e-05/0.2655, allocations: 45.62 kB / 0.9124 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2655, allocations: 0 / 0.9124 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2655, allocations: 0 / 0.9124 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.2658, allocations: 0.5302 MB / 0.9129 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.2661, allocations: 279.4 kB / 0.9132 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.2663, allocations: 0.6809 MB / 0.9138 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.069e-05/0.2663, allocations: 11.44 kB / 0.9139 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2663, allocations: 0 / 0.9139 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.006356/0.2727, allocations: 4.82 MB / 0.9186 GB, free: 45.27 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)