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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001879/0.001879, allocations: 193.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.634/1.634, allocations: 251.6 MB / 0.5089 GB, free: 3.234 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.001415/0.001415, allocations: 67.91 kB / 0.6218 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6546/0.6561, allocations: 104.7 MB / 0.724 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002672/0.6588, allocations: 1.504 MB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004121/0.6629, allocations: 2.942 MB / 0.7284 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.663, allocations: 0 / 0.7284 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.6631, allocations: 0 / 0.7284 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.6631, allocations: 15.84 kB / 0.7284 GB, free: 8.57 MB / 0.545 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.003706/0.6669, allocations: 1.509 MB / 0.7299 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.6669, allocations: 35.81 kB / 0.7299 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.667, allocations: 0 / 0.7299 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.667, allocations: 19.92 kB / 0.7299 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.759e-05/0.6671, allocations: 11.94 kB / 0.7299 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.6671, allocations: 0 / 0.7299 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.6689, allocations: 1.451 MB / 0.7313 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.6689, allocations: 4 kB / 0.7314 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.669, allocations: 19.86 kB / 0.7314 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.6702, allocations: 1.08 MB / 0.7324 GB, free: 4.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6702, allocations: 0 / 0.7324 GB, free: 4.469 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6702, allocations: 0 / 0.7324 GB, free: 4.469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.6702, allocations: 0 / 0.7324 GB, free: 4.469 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.0005552/0.6708, allocations: 0.5147 MB / 0.7329 GB, free: 3.906 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.6709, allocations: 15.97 kB / 0.7329 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.6709, allocations: 80.12 kB / 0.733 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.6711, allocations: 247.5 kB / 0.7333 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.6711, allocations: 154.9 kB / 0.7334 GB, free: 3.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.6712, allocations: 154.9 kB / 0.7336 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.42e-05/0.6713, allocations: 109 kB / 0.7337 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.6713, allocations: 75.28 kB / 0.7337 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.6714, allocations: 150.6 kB / 0.7339 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/0.6714, allocations: 150.6 kB / 0.734 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.6715, allocations: 158.6 kB / 0.7342 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.6717, allocations: 461.9 kB / 0.7346 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.779e-05/0.6718, allocations: 177.1 kB / 0.7348 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.6719, allocations: 80.14 kB / 0.7349 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.6719, allocations: 83.27 kB / 0.7349 GB, free: 1.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.6719, allocations: 113.7 kB / 0.735 GB, free: 1.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6719, allocations: 0 / 0.735 GB, free: 1.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.751e-05/0.672, allocations: 33.61 kB / 0.7351 GB, free: 1.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.6721, allocations: 126.7 kB / 0.7352 GB, free: 1.441 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.6722, allocations: 135.8 kB / 0.7353 GB, free: 1.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.6722, allocations: 25.7 kB / 0.7353 GB, free: 1.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.6723, allocations: 92.14 kB / 0.7354 GB, free: 1.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.6723, allocations: 0 / 0.7354 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.6723, allocations: 21.7 kB / 0.7355 GB, free: 1.148 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.6725, allocations: 314.9 kB / 0.7358 GB, free: 0.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.6725, allocations: 4 kB / 0.7358 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.841e-05/0.6725, allocations: 11.98 kB / 0.7358 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.6725, allocations: 12.86 kB / 0.7358 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6726, allocations: 0 / 0.7358 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/0.6727, allocations: 53.58 kB / 0.7358 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6727, allocations: 4 kB / 0.7358 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.6727, allocations: 7.984 kB / 0.7358 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.6727, allocations: 3.938 kB / 0.7358 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.6728, allocations: 0 / 0.7358 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6728, allocations: 0 / 0.7358 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.6728, allocations: 0 / 0.7358 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.6728, allocations: 0 / 0.7358 GB, free: 0.7266 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.907e-05/0.6729, allocations: 189.1 kB / 0.736 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.673, allocations: 116.9 kB / 0.7361 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.673, allocations: 112.8 kB / 0.7362 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.785e-05/0.6731, allocations: 176.3 kB / 0.7364 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-05/0.6732, allocations: 184.3 kB / 0.7366 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.923e-05/0.6732, allocations: 180.2 kB / 0.7368 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.6735, allocations: 413.3 kB / 0.7372 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/0.6735, allocations: 120.9 kB / 0.7373 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.6735, allocations: 101 kB / 0.7374 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.978e-05/0.6736, allocations: 180.3 kB / 0.7375 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.6737, allocations: 184.2 kB / 0.7377 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.586e-05/0.6737, allocations: 180.3 kB / 0.7379 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.377e-05/0.6738, allocations: 184.2 kB / 0.7381 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.6739, allocations: 307.7 kB / 0.7384 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.674, allocations: 193.9 kB / 0.7385 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.6741, allocations: 184.2 kB / 0.7387 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.6742, allocations: 108.9 kB / 0.7388 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.6742, allocations: 180.3 kB / 0.739 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.6743, allocations: 101 kB / 0.7391 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.027e-05/0.6743, allocations: 101.6 kB / 0.7392 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.212e-06/0.6743, allocations: 0 / 0.7392 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007118/0.675, allocations: 283.7 kB / 0.7395 GB, free: 12.8 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 (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.001078/0.6761, allocations: 0.5403 MB / 0.74 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.656e-05/0.6762, allocations: 37.7 kB / 0.74 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6762, allocations: 0 / 0.74 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.6762, allocations: 0 / 0.74 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.6766, allocations: 472.5 kB / 0.7405 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.677, allocations: 247.9 kB / 0.7407 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.6772, allocations: 0.6807 MB / 0.7414 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.294e-05/0.6772, allocations: 4 kB / 0.7414 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.6772, allocations: 7.438 kB / 0.7414 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6772, allocations: 0 / 0.7414 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.008741/0.686, allocations: 5.572 MB / 0.7468 GB, free: 5.238 MB / 0.5606 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)