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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 251.5 MB / 267.4 MB, free: 10.86 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.001039/0.001039, allocations: 172.7 kB / 326.5 MB, free: 2.648 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.816/1.816, allocations: 205 MB / 0.5767 GB, free: 20.93 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.0007923/0.0007924, allocations: 98.5 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 16.19 kB / 0.7939 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, 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.InternalResistancesOneUTube): time 0.001623/0.2194, allocations: 1.164 MB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004192/0.2236, allocations: 3.067 MB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.2237, allocations: 0 / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.2237, allocations: 3.984 kB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.2238, allocations: 15.86 kB / 0.901 GB, free: 63.83 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/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.2273, allocations: 1.439 MB / 0.9024 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.2274, allocations: 43.69 kB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.2274, allocations: 7.922 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.2275, allocations: 11.94 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.211e-05/0.2275, allocations: 15.94 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.2275, allocations: 4 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.2294, allocations: 1.443 MB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2295, allocations: 7.938 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.2295, allocations: 19.88 kB / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.231, allocations: 1.107 MB / 0.905 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.231, allocations: 0 / 0.905 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.422e-06/0.231, allocations: 0 / 0.905 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.231, allocations: 0 / 0.905 GB, free: 59.75 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.0005996/0.2316, allocations: 0.5029 MB / 0.9055 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2317, allocations: 8.031 kB / 0.9055 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.2317, allocations: 80.22 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2318, allocations: 255.5 kB / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.2319, allocations: 158.9 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.2319, allocations: 150.9 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.523e-05/0.232, allocations: 105.1 kB / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.232, allocations: 75.28 kB / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.232, allocations: 154.6 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.232, allocations: 150.6 kB / 0.9065 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.2321, allocations: 150.6 kB / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.2323, allocations: 469.8 kB / 0.9071 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.2324, allocations: 173.2 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.2324, allocations: 88.14 kB / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2324, allocations: 75.28 kB / 0.9075 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2324, allocations: 113.8 kB / 0.9076 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2324, allocations: 0 / 0.9076 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.953e-05/0.2325, allocations: 33.64 kB / 0.9076 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.2325, allocations: 55.41 kB / 0.9076 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2327, allocations: 128.3 kB / 0.9078 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.2327, allocations: 25.7 kB / 0.9078 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.2327, allocations: 96.05 kB / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.2327, allocations: 0 / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.2327, allocations: 13.7 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.2328, allocations: 322.8 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.2328, allocations: 0 / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.2329, allocations: 8 kB / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.2329, allocations: 12.89 kB / 0.9082 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2329, allocations: 7.984 kB / 0.9082 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001168/0.233, allocations: 49.58 kB / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.233, allocations: 4 kB / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.2331, allocations: 7.938 kB / 0.9083 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2331, allocations: 0 / 0.9083 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.2331, allocations: 0 / 0.9083 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2331, allocations: 0 / 0.9083 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.2331, allocations: 7.844 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2331, allocations: 7.984 kB / 0.9083 GB, free: 56.09 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 5.784e-05/0.2332, allocations: 187.3 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.2333, allocations: 112.9 kB / 0.9086 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.2333, allocations: 112.8 kB / 0.9087 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.2333, allocations: 180.3 kB / 0.9089 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.2333, allocations: 105 kB / 0.909 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.2334, allocations: 189.9 kB / 0.9092 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.2334, allocations: 180.3 kB / 0.9093 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.826e-05/0.2335, allocations: 104.9 kB / 0.9094 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.2335, allocations: 188.4 kB / 0.9096 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.621e-05/0.2336, allocations: 259.4 kB / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.577e-05/0.2336, allocations: 391 kB / 0.9102 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.312e-05/0.2337, allocations: 104.9 kB / 0.9103 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.2337, allocations: 99.25 kB / 0.9104 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of Backend: time 1.6e-07/0.2337, allocations: 0 / 0.9104 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.2351, allocations: 0.5116 MB / 0.9109 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003944/0.2355, allocations: 0.9925 MB / 0.9119 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.007737/0.2432, allocations: 6.322 MB / 0.9181 GB, free: 45.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)