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.508/1.508, allocations: 252 MB / 268 MB, free: 10.87 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.001147/0.001147, allocations: 175.2 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0009048/0.0009049, allocations: 84.12 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 11.81 kB / 0.7977 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2352, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001372/0.2366, allocations: 1.168 MB / 0.9027 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003579/0.2402, allocations: 3.036 MB / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.2403, allocations: 0 / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.2403, allocations: 3.938 kB / 0.9056 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.2404, allocations: 15.91 kB / 0.9056 GB, free: 59.23 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.00305/0.2434, allocations: 1.449 MB / 0.9071 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.2435, allocations: 39.75 kB / 0.9071 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.2436, allocations: 0 / 0.9071 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.2436, allocations: 19.92 kB / 0.9071 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.2436, allocations: 15.88 kB / 0.9071 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2436, allocations: 4 kB / 0.9071 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.2454, allocations: 1.486 MB / 0.9086 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.2454, allocations: 0 / 0.9086 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.2455, allocations: 53.56 kB / 0.9086 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000857/0.2463, allocations: 0.7879 MB / 0.9094 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2463, allocations: 0 / 0.9094 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2463, allocations: 0 / 0.9094 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2463, allocations: 0 / 0.9094 GB, free: 55.38 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.0004641/0.2468, allocations: 0.5185 MB / 0.9099 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2469, allocations: 8.031 kB / 0.9099 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.2469, allocations: 80.22 kB / 0.91 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.247, allocations: 251.5 kB / 0.9102 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.2471, allocations: 158.9 kB / 0.9104 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.2471, allocations: 154.9 kB / 0.9105 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.7e-05/0.2472, allocations: 109.1 kB / 0.9106 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2472, allocations: 79.28 kB / 0.9107 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.2472, allocations: 150.6 kB / 0.9109 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.2473, allocations: 158.5 kB / 0.911 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.2473, allocations: 150.6 kB / 0.9111 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.2475, allocations: 465.8 kB / 0.9116 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.2475, allocations: 169.1 kB / 0.9118 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.2476, allocations: 88.14 kB / 0.9118 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2476, allocations: 75.28 kB / 0.9119 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2476, allocations: 117.7 kB / 0.912 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2476, allocations: 0 / 0.912 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.577e-05/0.2477, allocations: 33.69 kB / 0.9121 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.2477, allocations: 126.7 kB / 0.9122 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2479, allocations: 140.5 kB / 0.9123 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.2479, allocations: 25.7 kB / 0.9123 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.2479, allocations: 92.14 kB / 0.9124 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.2479, allocations: 0 / 0.9124 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.2479, allocations: 0 / 0.9124 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.248, allocations: 314.8 kB / 0.9127 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.248, allocations: 8 kB / 0.9127 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/0.248, allocations: 4 kB / 0.9127 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.2481, allocations: 20.8 kB / 0.9128 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2481, allocations: 4.031 kB / 0.9128 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001081/0.2482, allocations: 53.53 kB / 0.9128 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2482, allocations: 8 kB / 0.9128 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.2482, allocations: 4 kB / 0.9128 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2483, allocations: 0 / 0.9128 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-07/0.2483, allocations: 0 / 0.9128 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2483, allocations: 0 / 0.9128 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.2483, allocations: 3.938 kB / 0.9128 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2483, allocations: 0 / 0.9128 GB, free: 51.65 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 6.485e-05/0.2484, allocations: 191.3 kB / 0.913 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.2484, allocations: 120.8 kB / 0.9131 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.2485, allocations: 108.9 kB / 0.9132 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/0.2485, allocations: 180.2 kB / 0.9134 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/0.2485, allocations: 184.3 kB / 0.9136 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.2486, allocations: 180.2 kB / 0.9137 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2487, allocations: 421.2 kB / 0.9141 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.2487, allocations: 105.1 kB / 0.9142 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.2487, allocations: 108.9 kB / 0.9143 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.662e-05/0.2488, allocations: 180.2 kB / 0.9145 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.2488, allocations: 184.2 kB / 0.9147 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.751e-05/0.2488, allocations: 188.2 kB / 0.9149 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.489e-05/0.2489, allocations: 180.3 kB / 0.915 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.471e-05/0.2489, allocations: 299.8 kB / 0.9153 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.249, allocations: 201.9 kB / 0.9155 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.249, allocations: 180.2 kB / 0.9157 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.2491, allocations: 105 kB / 0.9158 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.2491, allocations: 184.2 kB / 0.916 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.2491, allocations: 101 kB / 0.9161 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.2492, allocations: 103.2 kB / 0.9162 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2492, allocations: 0 / 0.9162 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006045/0.2498, allocations: 287.8 kB / 0.9164 GB, free: 47.71 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.001035/0.2509, allocations: 0.5552 MB / 0.917 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.554e-05/0.251, allocations: 45.64 kB / 0.917 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.251, allocations: 0 / 0.917 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-06/0.251, allocations: 4.062 kB / 0.917 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2514, allocations: 0.5302 MB / 0.9176 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.2516, allocations: 295.7 kB / 0.9178 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.2518, allocations: 0.6848 MB / 0.9185 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-06/0.2518, allocations: 7.438 kB / 0.9185 GB, free: 45.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2518, allocations: 0 / 0.9185 GB, free: 45.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.006881/0.2587, allocations: 4.825 MB / 0.9232 GB, free: 40.71 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)