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.001031/0.00103, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.00127/0.00127, allocations: 191 kB / 16.14 MB, free: 6.703 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.519/1.519, allocations: 205.1 MB / 222 MB, free: 4.957 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.57/1.57, allocations: 251.6 MB / 0.5088 GB, free: 3.332 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.001753/0.001753, allocations: 63.92 kB / 0.6216 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.6414, allocations: 104.7 MB / 0.7239 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00337/0.6449, allocations: 1.497 MB / 0.7253 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005246/0.6501, allocations: 3.056 MB / 0.7283 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.6502, allocations: 0 / 0.7283 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.6503, allocations: 4 kB / 0.7283 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.3e-05/0.6504, allocations: 19.78 kB / 0.7283 GB, free: 8.543 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.004275/0.6547, allocations: 1.45 MB / 0.7297 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.6548, allocations: 39.8 kB / 0.7298 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.6548, allocations: 0 / 0.7298 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.6549, allocations: 15.92 kB / 0.7298 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.245e-05/0.6549, allocations: 27.86 kB / 0.7298 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.6549, allocations: 0 / 0.7298 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.657, allocations: 1.443 MB / 0.7312 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.657, allocations: 4 kB / 0.7312 GB, free: 5.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.6571, allocations: 19.86 kB / 0.7313 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.6585, allocations: 1.105 MB / 0.7323 GB, free: 4.465 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6585, allocations: 0 / 0.7323 GB, free: 4.465 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6585, allocations: 0 / 0.7323 GB, free: 4.465 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6585, allocations: 0 / 0.7323 GB, free: 4.465 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.0006186/0.6591, allocations: 0.5146 MB / 0.7328 GB, free: 3.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6592, allocations: 12.03 kB / 0.7328 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.6592, allocations: 80.12 kB / 0.7329 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.6594, allocations: 243.6 kB / 0.7332 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/0.6595, allocations: 158.9 kB / 0.7333 GB, free: 3.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.6595, allocations: 150.9 kB / 0.7335 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.763e-05/0.6596, allocations: 113 kB / 0.7336 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.6597, allocations: 75.28 kB / 0.7336 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.6597, allocations: 150.6 kB / 0.7338 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/0.6598, allocations: 154.5 kB / 0.7339 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.6599, allocations: 150.6 kB / 0.7341 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.6602, allocations: 469.9 kB / 0.7345 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/0.6603, allocations: 173.1 kB / 0.7347 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.6604, allocations: 84.12 kB / 0.7348 GB, free: 1.816 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.6604, allocations: 79.22 kB / 0.7348 GB, free: 1.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.6605, allocations: 121.8 kB / 0.735 GB, free: 1.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6605, allocations: 0 / 0.735 GB, free: 1.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.845e-05/0.6606, allocations: 37.66 kB / 0.735 GB, free: 1.566 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.6607, allocations: 130.6 kB / 0.7351 GB, free: 1.426 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.6609, allocations: 128 kB / 0.7352 GB, free: 1.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.6609, allocations: 25.7 kB / 0.7353 GB, free: 1.262 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.661, allocations: 96.12 kB / 0.7354 GB, free: 1.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.661, allocations: 0 / 0.7354 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.661, allocations: 21.7 kB / 0.7354 GB, free: 1.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6611, allocations: 314.8 kB / 0.7357 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.6612, allocations: 4 kB / 0.7357 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.6612, allocations: 11.98 kB / 0.7357 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.6613, allocations: 8.859 kB / 0.7357 GB, free: 0.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.6613, allocations: 0 / 0.7357 GB, free: 0.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001521/0.6614, allocations: 53.55 kB / 0.7357 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6614, allocations: 4 kB / 0.7358 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.6615, allocations: 11.92 kB / 0.7358 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6615, allocations: 4.062 kB / 0.7358 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.6615, allocations: 0 / 0.7358 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6615, allocations: 0 / 0.7358 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.6615, allocations: 0 / 0.7358 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.6616, allocations: 0 / 0.7358 GB, free: 0.7148 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 0.0001307/0.6617, allocations: 185.1 kB / 0.7359 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.6618, allocations: 112.8 kB / 0.7361 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.6618, allocations: 116.8 kB / 0.7362 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-05/0.6619, allocations: 180.3 kB / 0.7363 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-05/0.662, allocations: 180.3 kB / 0.7365 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.937e-05/0.6621, allocations: 184.2 kB / 0.7367 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.6624, allocations: 409.2 kB / 0.7371 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/0.6624, allocations: 116.8 kB / 0.7372 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.6625, allocations: 108.9 kB / 0.7373 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.475e-05/0.6625, allocations: 176.3 kB / 0.7375 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.6626, allocations: 180.2 kB / 0.7376 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.747e-05/0.6627, allocations: 180.3 kB / 0.7378 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.907e-05/0.6628, allocations: 180.4 kB / 0.738 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.6629, allocations: 315.8 kB / 0.7383 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.663, allocations: 194 kB / 0.7385 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.6631, allocations: 176.3 kB / 0.7386 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.6632, allocations: 112.9 kB / 0.7387 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.6633, allocations: 180.3 kB / 0.7389 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.6633, allocations: 105 kB / 0.739 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.6634, allocations: 101.2 kB / 0.7391 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6634, allocations: 3.938 kB / 0.7391 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007765/0.6642, allocations: 283.8 kB / 0.7394 GB, free: 12.79 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.001278/0.6655, allocations: 0.5445 MB / 0.7399 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.6656, allocations: 33.7 kB / 0.7399 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6656, allocations: 0 / 0.7399 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.6656, allocations: 4 kB / 0.7399 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.6661, allocations: 0.5273 MB / 0.7405 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.6665, allocations: 237.9 kB / 0.7407 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.6668, allocations: 0.6809 MB / 0.7414 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.6668, allocations: 0 / 0.7414 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.6669, allocations: 7.438 kB / 0.7414 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.9e-07/0.6669, allocations: 8 kB / 0.7414 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.009932/0.6768, allocations: 5.58 MB / 0.7468 GB, free: 5.152 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)