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: 252 MB / 267.6 MB, free: 10.89 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.001014/0.001014, allocations: 188.5 kB / 327.3 MB, free: 2.195 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.792/1.792, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0007747/0.0007749, allocations: 86.41 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 8.875 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2226, allocations: 106.3 MB / 0.9009 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001479/0.2241, allocations: 1.147 MB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.2278, allocations: 2.758 MB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.2278, allocations: 0 / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.2279, allocations: 3.938 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.2279, allocations: 15.86 kB / 0.9047 GB, free: 59.88 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.003388/0.2313, allocations: 1.327 MB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.623e-05/0.2314, allocations: 39.73 kB / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.2315, allocations: 0 / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.2315, allocations: 15.94 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.2316, allocations: 19.92 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2316, allocations: 4 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.2335, allocations: 1.264 MB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.2335, allocations: 3.938 kB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.2335, allocations: 33.7 kB / 0.9074 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000844/0.2344, allocations: 0.7177 MB / 0.9081 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2344, allocations: 0 / 0.9081 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2344, allocations: 0 / 0.9081 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2344, allocations: 0 / 0.9081 GB, free: 56.47 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.0004749/0.2349, allocations: 0.5205 MB / 0.9086 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.235, allocations: 15.97 kB / 0.9086 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.235, allocations: 79.23 kB / 0.9087 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2351, allocations: 254.2 kB / 0.9089 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.2352, allocations: 158.6 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.2352, allocations: 150.6 kB / 0.9092 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.832e-05/0.2353, allocations: 105 kB / 0.9093 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2353, allocations: 75.28 kB / 0.9094 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.2353, allocations: 150.6 kB / 0.9095 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.2354, allocations: 150.6 kB / 0.9097 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.002e-05/0.2354, allocations: 158.5 kB / 0.9098 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.2356, allocations: 469.9 kB / 0.9103 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.2357, allocations: 169.1 kB / 0.9104 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.2357, allocations: 84.14 kB / 0.9105 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.2357, allocations: 75.28 kB / 0.9106 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2358, allocations: 109.8 kB / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.2358, allocations: 4 kB / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.427e-05/0.2358, allocations: 33.61 kB / 0.9107 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.2359, allocations: 130.7 kB / 0.9108 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.236, allocations: 134 kB / 0.911 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.236, allocations: 25.7 kB / 0.911 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.2361, allocations: 88.14 kB / 0.9111 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.2361, allocations: 0 / 0.9111 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.2361, allocations: 0 / 0.9111 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.2361, allocations: 326.8 kB / 0.9114 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.2362, allocations: 0 / 0.9114 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.2362, allocations: 8 kB / 0.9114 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.2362, allocations: 7.938 kB / 0.9114 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2362, allocations: 0 / 0.9114 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.813e-05/0.2363, allocations: 49.61 kB / 0.9115 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2363, allocations: 10.48 kB / 0.9115 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.2364, allocations: 4 kB / 0.9115 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2364, allocations: 0 / 0.9115 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2364, allocations: 3.938 kB / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2364, allocations: 4.062 kB / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.2364, allocations: 11.94 kB / 0.9115 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2364, allocations: 3.953 kB / 0.9115 GB, free: 52.74 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.563e-05/0.2365, allocations: 185.1 kB / 0.9117 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.2366, allocations: 108.8 kB / 0.9118 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.2366, allocations: 112.8 kB / 0.9119 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.2366, allocations: 180.3 kB / 0.912 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-05/0.2367, allocations: 184.2 kB / 0.9122 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/0.2367, allocations: 180.3 kB / 0.9124 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.2368, allocations: 425 kB / 0.9128 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.2369, allocations: 101 kB / 0.9129 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.2369, allocations: 109 kB / 0.913 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.859e-05/0.2369, allocations: 184.2 kB / 0.9132 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.237, allocations: 176.3 kB / 0.9133 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.586e-05/0.237, allocations: 180.2 kB / 0.9135 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.779e-05/0.237, allocations: 184.2 kB / 0.9137 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.204e-05/0.2371, allocations: 315.6 kB / 0.914 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.2371, allocations: 182 kB / 0.9142 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.2372, allocations: 188.5 kB / 0.9143 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.2373, allocations: 105 kB / 0.9144 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.2373, allocations: 180.3 kB / 0.9146 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.2373, allocations: 112.9 kB / 0.9147 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.2374, allocations: 99.27 kB / 0.9148 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2374, allocations: 0 / 0.9148 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005891/0.238, allocations: 283.8 kB / 0.9151 GB, free: 48.82 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.0009095/0.2389, allocations: 0.5152 MB / 0.9156 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.239, allocations: 37.7 kB / 0.9156 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.239, allocations: 0 / 0.9156 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.456e-06/0.239, allocations: 12 kB / 0.9156 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2393, allocations: 0.5362 MB / 0.9162 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.2396, allocations: 269.9 kB / 0.9164 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.2398, allocations: 0.6848 MB / 0.9171 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-06/0.2398, allocations: 15.38 kB / 0.9171 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2398, allocations: 0 / 0.9171 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.00602/0.2458, allocations: 4.796 MB / 0.9218 GB, free: 41.9 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)