Running: ./testmodel.py --libraries=/home/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("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001405/0.001405, allocations: 172.7 kB / 326.2 MB, free: 2.859 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.47/2.47, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.0009301/0.00093, allocations: 91.66 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005012, allocations: 18.28 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1999, allocations: 106.3 MB / 0.8996 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001699/0.2017, allocations: 1.151 MB / 0.9007 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005129/0.2068, allocations: 2.783 MB / 0.9034 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.207, allocations: 4 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.207, allocations: 7.922 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.2071, allocations: 11.86 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB [/home/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.004991/0.2121, allocations: 1.333 MB / 0.9047 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.837e-05/0.2122, allocations: 35.75 kB / 0.9048 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.2123, allocations: 4 kB / 0.9048 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.218e-05/0.2124, allocations: 15.92 kB / 0.9048 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.2124, allocations: 15.94 kB / 0.9048 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2124, allocations: 7.938 kB / 0.9048 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.2153, allocations: 1.26 MB / 0.906 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2154, allocations: 3.938 kB / 0.906 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.2154, allocations: 29.7 kB / 0.9061 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.2171, allocations: 0.7255 MB / 0.9068 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2172, allocations: 0 / 0.9068 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2172, allocations: 0 / 0.9068 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2172, allocations: 0 / 0.9068 GB, free: 58.07 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.0007235/0.2179, allocations: 0.5224 MB / 0.9073 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.218, allocations: 8.031 kB / 0.9073 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.2181, allocations: 84.12 kB / 0.9074 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2182, allocations: 253.2 kB / 0.9076 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.2182, allocations: 150.9 kB / 0.9077 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.2183, allocations: 150.9 kB / 0.9079 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.849e-05/0.2183, allocations: 109.1 kB / 0.908 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2184, allocations: 79.28 kB / 0.9081 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.2184, allocations: 158.5 kB / 0.9082 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.2184, allocations: 150.6 kB / 0.9084 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.79e-05/0.2185, allocations: 150.6 kB / 0.9085 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.2187, allocations: 465.9 kB / 0.909 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.04e-05/0.2188, allocations: 165.1 kB / 0.9091 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.2188, allocations: 80.14 kB / 0.9092 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2188, allocations: 79.22 kB / 0.9093 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2189, allocations: 113.8 kB / 0.9094 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.2189, allocations: 7.984 kB / 0.9094 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.937e-05/0.219, allocations: 37.59 kB / 0.9094 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.219, allocations: 51.41 kB / 0.9095 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2191, allocations: 129.8 kB / 0.9096 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.2192, allocations: 25.7 kB / 0.9096 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.2192, allocations: 88.14 kB / 0.9097 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.2192, allocations: 0 / 0.9097 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.2192, allocations: 4 kB / 0.9097 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.2193, allocations: 322.8 kB / 0.91 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.2193, allocations: 7.938 kB / 0.91 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.2194, allocations: 4 kB / 0.91 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.2194, allocations: 11.94 kB / 0.91 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2194, allocations: 0 / 0.91 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001435/0.2196, allocations: 57.53 kB / 0.9101 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2196, allocations: 6.031 kB / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.2196, allocations: 7.938 kB / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2197, allocations: 0 / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.2197, allocations: 0 / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2197, allocations: 64 / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.2197, allocations: 4 kB / 0.9101 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2198, allocations: 4 kB / 0.9101 GB, free: 54.42 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.113e-05/0.2198, allocations: 181.1 kB / 0.9103 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.2199, allocations: 120.8 kB / 0.9104 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.2199, allocations: 108.8 kB / 0.9105 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.249e-05/0.22, allocations: 180.3 kB / 0.9107 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/0.22, allocations: 112.9 kB / 0.9108 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.2201, allocations: 182 kB / 0.911 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.2201, allocations: 188.2 kB / 0.9111 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.2202, allocations: 105 kB / 0.9112 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.2203, allocations: 176.3 kB / 0.9114 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.805e-05/0.2203, allocations: 263.4 kB / 0.9117 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.799e-05/0.2204, allocations: 391 kB / 0.912 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.685e-05/0.2205, allocations: 105 kB / 0.9121 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.2205, allocations: 95.27 kB / 0.9122 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of Backend: time 7.41e-07/0.2206, allocations: 0 / 0.9122 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.2225, allocations: 0.4972 MB / 0.9127 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000515/0.2231, allocations: 1.01 MB / 0.9137 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.01443/0.2376, allocations: 6.503 MB / 0.92 GB, free: 44.11 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)