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.001073/0.001074, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008662/0.008662, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.551/1.551, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.624/1.624, allocations: 252 MB / 0.5105 GB, free: 4.664 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.000589/0.0005896, allocations: 19.98 kB / 0.6249 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5551, allocations: 106.3 MB / 0.7288 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001788/0.557, allocations: 1.162 MB / 0.7299 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004804/0.5618, allocations: 2.994 MB / 0.7328 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.5619, allocations: 0 / 0.7328 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.5619, allocations: 0 / 0.7328 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.562, allocations: 15.84 kB / 0.7328 GB, free: 7.082 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.004075/0.5661, allocations: 1.435 MB / 0.7342 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.27e-05/0.5662, allocations: 43.69 kB / 0.7343 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.5662, allocations: 0 / 0.7343 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.5663, allocations: 19.92 kB / 0.7343 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.885e-05/0.5663, allocations: 11.94 kB / 0.7343 GB, free: 5.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.5663, allocations: 0 / 0.7343 GB, free: 5.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.5689, allocations: 1.451 MB / 0.7357 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.5689, allocations: 7.938 kB / 0.7357 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.569, allocations: 45.56 kB / 0.7358 GB, free: 4.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.5708, allocations: 1.101 MB / 0.7369 GB, free: 2.988 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5708, allocations: 0 / 0.7369 GB, free: 2.988 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.298e-06/0.5708, allocations: 0 / 0.7369 GB, free: 2.988 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5709, allocations: 3.938 kB / 0.7369 GB, free: 2.984 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.0005424/0.5714, allocations: 0.5029 MB / 0.7374 GB, free: 2.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5715, allocations: 12.03 kB / 0.7374 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.5715, allocations: 84.2 kB / 0.7374 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.5717, allocations: 251.6 kB / 0.7377 GB, free: 2.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.5717, allocations: 154.9 kB / 0.7378 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.5718, allocations: 150.9 kB / 0.738 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.03e-05/0.5718, allocations: 105.1 kB / 0.7381 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.5719, allocations: 75.28 kB / 0.7382 GB, free: 1.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.5719, allocations: 154.6 kB / 0.7383 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.572, allocations: 150.6 kB / 0.7384 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.129e-05/0.572, allocations: 154.5 kB / 0.7386 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.5723, allocations: 469.8 kB / 0.739 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.662e-05/0.5724, allocations: 173.1 kB / 0.7392 GB, free: 440 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.5724, allocations: 84.14 kB / 0.7393 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.5725, allocations: 75.28 kB / 0.7394 GB, free: 276 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.5725, allocations: 113.7 kB / 0.7395 GB, free: 152 kB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.5725, allocations: 0 / 0.7395 GB, free: 152 kB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.055e-05/0.5726, allocations: 33.69 kB / 0.7395 GB, free: 112 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.5727, allocations: 130.7 kB / 0.7396 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.5728, allocations: 135.8 kB / 0.7398 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.5728, allocations: 25.7 kB / 0.7398 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.5729, allocations: 92.09 kB / 0.7399 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.5729, allocations: 0 / 0.7399 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.5729, allocations: 9.719 kB / 0.7399 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.573, allocations: 326.8 kB / 0.7402 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.573, allocations: 3.938 kB / 0.7402 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.5731, allocations: 8 kB / 0.7402 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.5731, allocations: 16.83 kB / 0.7402 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5731, allocations: 0 / 0.7402 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001292/0.5732, allocations: 53.62 kB / 0.7403 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5733, allocations: 4 kB / 0.7403 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.5733, allocations: 4 kB / 0.7403 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.5733, allocations: 0 / 0.7403 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.5733, allocations: 0 / 0.7403 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5733, allocations: 4 kB / 0.7403 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.5733, allocations: 3.906 kB / 0.7403 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.5734, allocations: 4 kB / 0.7403 GB, free: 15.25 MB / 0.5606 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.551e-05/0.5735, allocations: 190 kB / 0.7405 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.5735, allocations: 112.9 kB / 0.7406 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.5736, allocations: 108.9 kB / 0.7407 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/0.5736, allocations: 180.3 kB / 0.7408 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.954e-05/0.5737, allocations: 180.2 kB / 0.741 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.281e-05/0.5738, allocations: 184.2 kB / 0.7412 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.574, allocations: 417.2 kB / 0.7416 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/0.574, allocations: 104.9 kB / 0.7417 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.574, allocations: 101 kB / 0.7418 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.342e-05/0.5741, allocations: 180.2 kB / 0.742 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.5742, allocations: 188.2 kB / 0.7421 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.488e-05/0.5742, allocations: 180.2 kB / 0.7423 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.964e-05/0.5743, allocations: 180.5 kB / 0.7425 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.5744, allocations: 311.7 kB / 0.7428 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.5745, allocations: 193.9 kB / 0.743 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/0.5746, allocations: 192.2 kB / 0.7431 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.5746, allocations: 105 kB / 0.7432 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.5747, allocations: 180.2 kB / 0.7434 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.5747, allocations: 108.9 kB / 0.7435 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.5748, allocations: 97.14 kB / 0.7436 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5748, allocations: 0 / 0.7436 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006604/0.5755, allocations: 283.8 kB / 0.7439 GB, free: 11.33 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.001053/0.5765, allocations: 0.5461 MB / 0.7444 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.047e-05/0.5766, allocations: 37.7 kB / 0.7445 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5767, allocations: 0 / 0.7445 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.5767, allocations: 4 kB / 0.7445 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.5771, allocations: 0.534 MB / 0.745 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.5774, allocations: 262.5 kB / 0.7452 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.5776, allocations: 0.6809 MB / 0.7459 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.202e-05/0.5776, allocations: 3.938 kB / 0.7459 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-06/0.5776, allocations: 7.438 kB / 0.7459 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5776, allocations: 0 / 0.7459 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of Templates: time 0.009063/0.5867, allocations: 5.567 MB / 0.7513 GB, free: 3.676 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: