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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.779/1.779, allocations: 251.9 MB / 0.51 GB, free: 4.91 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007725/0.0007725, allocations: 20 kB / 0.6242 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6749, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001821/0.6768, allocations: 1.13 MB / 0.7291 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004574/0.6813, allocations: 2.657 MB / 0.7317 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.6814, allocations: 0 / 0.7317 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.6815, allocations: 3.984 kB / 0.7317 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.6816, allocations: 15.91 kB / 0.7317 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.6855, allocations: 1.315 MB / 0.733 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.6856, allocations: 27.95 kB / 0.7331 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.6857, allocations: 5.969 kB / 0.7331 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.6857, allocations: 15.92 kB / 0.7331 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.6858, allocations: 19.88 kB / 0.7331 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.6858, allocations: 0 / 0.7331 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.6879, allocations: 1.209 MB / 0.7343 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.6879, allocations: 8 kB / 0.7343 GB, free: 5.016 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.688, allocations: 33.64 kB / 0.7343 GB, free: 4.977 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.6893, allocations: 0.737 MB / 0.735 GB, free: 4.238 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6893, allocations: 0 / 0.735 GB, free: 4.238 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6893, allocations: 0 / 0.735 GB, free: 4.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.6893, allocations: 0 / 0.735 GB, free: 4.238 MB / 0.545 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.0007508/0.6901, allocations: 0.5145 MB / 0.7355 GB, free: 3.676 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/0.6901, allocations: 12.03 kB / 0.7355 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.6902, allocations: 79.23 kB / 0.7356 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.6905, allocations: 246.2 kB / 0.7359 GB, free: 3.305 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.291e-05/0.6906, allocations: 158.5 kB / 0.736 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.6907, allocations: 154.6 kB / 0.7362 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.6908, allocations: 101 kB / 0.7363 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.6909, allocations: 75.28 kB / 0.7363 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/0.6909, allocations: 154.6 kB / 0.7365 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.02e-05/0.691, allocations: 158.5 kB / 0.7366 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.6911, allocations: 158.5 kB / 0.7368 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.6916, allocations: 465.9 kB / 0.7372 GB, free: 1.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.6917, allocations: 169.1 kB / 0.7374 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.6918, allocations: 75.28 kB / 0.7375 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.264e-05/0.6919, allocations: 113.8 kB / 0.7376 GB, free: 1.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6919, allocations: 0 / 0.7376 GB, free: 1.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.00011/0.692, allocations: 37.55 kB / 0.7376 GB, free: 1.434 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.6921, allocations: 126.7 kB / 0.7377 GB, free: 1.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.6923, allocations: 136.5 kB / 0.7378 GB, free: 1.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.6923, allocations: 25.7 kB / 0.7379 GB, free: 1.125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.6924, allocations: 96.14 kB / 0.738 GB, free: 1.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.6924, allocations: 0 / 0.738 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.6924, allocations: 0 / 0.738 GB, free: 1.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.6926, allocations: 318.8 kB / 0.7383 GB, free: 0.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.6927, allocations: 11.94 kB / 0.7383 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.6927, allocations: 4 kB / 0.7383 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.6927, allocations: 8 kB / 0.7383 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6927, allocations: 0 / 0.7383 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001743/0.6929, allocations: 53.55 kB / 0.7383 GB, free: 0.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.693, allocations: 4 kB / 0.7383 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/0.693, allocations: 16.11 kB / 0.7384 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.693, allocations: 0 / 0.7384 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/0.693, allocations: 0 / 0.7384 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.693, allocations: 0 / 0.7384 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.6931, allocations: 7.938 kB / 0.7384 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.6931, allocations: 0 / 0.7384 GB, free: 0.5977 MB / 0.545 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 0.0001609/0.6933, allocations: 185.1 kB / 0.7385 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.066e-05/0.6934, allocations: 112.8 kB / 0.7387 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.423e-05/0.6935, allocations: 120.8 kB / 0.7388 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/0.6936, allocations: 176.3 kB / 0.7389 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001105/0.6937, allocations: 180.2 kB / 0.7391 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.316e-05/0.6938, allocations: 176.3 kB / 0.7393 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.6941, allocations: 421.1 kB / 0.7397 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-05/0.6942, allocations: 109 kB / 0.7398 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.6943, allocations: 101 kB / 0.7399 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.624e-05/0.6944, allocations: 184.2 kB / 0.7401 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-05/0.6945, allocations: 176.3 kB / 0.7402 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-05/0.6946, allocations: 180.2 kB / 0.7404 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.796e-05/0.6947, allocations: 184.3 kB / 0.7406 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.6949, allocations: 319.6 kB / 0.7409 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.695, allocations: 182 kB / 0.741 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.6951, allocations: 188.2 kB / 0.7412 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.6953, allocations: 105 kB / 0.7413 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6954, allocations: 184.2 kB / 0.7415 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.6954, allocations: 104.9 kB / 0.7416 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.696e-05/0.6955, allocations: 101.5 kB / 0.7417 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6955, allocations: 0 / 0.7417 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001214/0.6967, allocations: 279.8 kB / 0.742 GB, free: 12.68 MB / 0.5606 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.001314/0.6981, allocations: 0.5123 MB / 0.7425 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.6982, allocations: 41.7 kB / 0.7425 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6982, allocations: 0 / 0.7425 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.6983, allocations: 0 / 0.7425 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.6988, allocations: 0.5347 MB / 0.743 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.6994, allocations: 271.2 kB / 0.7433 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.6998, allocations: 0.6848 MB / 0.744 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.6998, allocations: 4 kB / 0.744 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.6998, allocations: 7.438 kB / 0.744 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.6998, allocations: 4 kB / 0.744 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.01142/0.7113, allocations: 5.699 MB / 0.7495 GB, free: 4.914 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: