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.001414/0.001414, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 193 kB / 16.53 MB, free: 6.391 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.646/1.646, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.696/1.696, allocations: 251.7 MB / 0.5092 GB, free: 3.094 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.001498/0.001498, allocations: 67.91 kB / 0.6223 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5964/0.5979, allocations: 104.7 MB / 0.7246 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00301/0.601, allocations: 1.442 MB / 0.726 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005076/0.6061, allocations: 2.947 MB / 0.7289 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.6061, allocations: 0 / 0.7289 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.6062, allocations: 3.938 kB / 0.7289 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.6063, allocations: 11.86 kB / 0.7289 GB, free: 8.516 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/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.004381/0.6107, allocations: 1.611 MB / 0.7304 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.6108, allocations: 35.75 kB / 0.7305 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.045e-05/0.6109, allocations: 7.984 kB / 0.7305 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/0.6109, allocations: 15.94 kB / 0.7305 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.6109, allocations: 15.94 kB / 0.7305 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.611, allocations: 3.938 kB / 0.7305 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.6131, allocations: 1.439 MB / 0.7319 GB, free: 5.406 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.6132, allocations: 11.92 kB / 0.7319 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.6132, allocations: 19.86 kB / 0.7319 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.6146, allocations: 1.088 MB / 0.733 GB, free: 4.285 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6146, allocations: 0 / 0.733 GB, free: 4.285 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.527e-06/0.6146, allocations: 3.984 kB / 0.733 GB, free: 4.281 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.6146, allocations: 4 kB / 0.733 GB, free: 4.277 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.000582/0.6152, allocations: 0.5108 MB / 0.7335 GB, free: 3.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6153, allocations: 8.031 kB / 0.7335 GB, free: 3.711 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.6153, allocations: 88.12 kB / 0.7336 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.6155, allocations: 247.5 kB / 0.7338 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/0.6156, allocations: 154.9 kB / 0.734 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.6156, allocations: 150.9 kB / 0.7341 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.278e-05/0.6157, allocations: 113.1 kB / 0.7342 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/0.6157, allocations: 79.28 kB / 0.7343 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.6158, allocations: 150.6 kB / 0.7345 GB, free: 2.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/0.6158, allocations: 154.5 kB / 0.7346 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.6159, allocations: 154.5 kB / 0.7348 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.6162, allocations: 465.9 kB / 0.7352 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.513e-05/0.6163, allocations: 165.1 kB / 0.7354 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.6163, allocations: 80.14 kB / 0.7354 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.6164, allocations: 79.28 kB / 0.7355 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.6164, allocations: 121.7 kB / 0.7356 GB, free: 1.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.6164, allocations: 3.984 kB / 0.7356 GB, free: 1.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.741e-05/0.6165, allocations: 33.66 kB / 0.7357 GB, free: 1.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.6166, allocations: 126.7 kB / 0.7358 GB, free: 1.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.6167, allocations: 132 kB / 0.7359 GB, free: 1.113 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.6167, allocations: 29.64 kB / 0.7359 GB, free: 1.078 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.6168, allocations: 92.12 kB / 0.736 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.6168, allocations: 0 / 0.736 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.6168, allocations: 17.72 kB / 0.736 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.617, allocations: 322.8 kB / 0.7364 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.617, allocations: 4 kB / 0.7364 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.617, allocations: 4 kB / 0.7364 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.6171, allocations: 16.8 kB / 0.7364 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6171, allocations: 0 / 0.7364 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001295/0.6172, allocations: 53.53 kB / 0.7364 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6172, allocations: 4 kB / 0.7364 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.6172, allocations: 4 kB / 0.7364 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6173, allocations: 4.062 kB / 0.7364 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.6173, allocations: 0 / 0.7364 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.6173, allocations: 0 / 0.7364 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.6173, allocations: 4 kB / 0.7364 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.6173, allocations: 0 / 0.7364 GB, free: 0.5352 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.0001014/0.6174, allocations: 181.1 kB / 0.7366 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.6175, allocations: 116.8 kB / 0.7367 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.6176, allocations: 116.9 kB / 0.7368 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.287e-05/0.6176, allocations: 188.2 kB / 0.737 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.02e-05/0.6177, allocations: 176.3 kB / 0.7372 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.139e-05/0.6178, allocations: 176.3 kB / 0.7374 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.618, allocations: 421.1 kB / 0.7378 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/0.618, allocations: 104.9 kB / 0.7379 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.6181, allocations: 112.9 kB / 0.738 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.107e-05/0.6181, allocations: 176.3 kB / 0.7381 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.6182, allocations: 176.3 kB / 0.7383 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.754e-05/0.6183, allocations: 184.2 kB / 0.7385 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.248e-05/0.6183, allocations: 188.3 kB / 0.7387 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.6185, allocations: 307.7 kB / 0.7389 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.6185, allocations: 190 kB / 0.7391 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.6186, allocations: 192.1 kB / 0.7393 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.6187, allocations: 101 kB / 0.7394 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.6188, allocations: 180.2 kB / 0.7396 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.6188, allocations: 105 kB / 0.7397 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.6189, allocations: 109.4 kB / 0.7398 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6189, allocations: 0 / 0.7398 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008634/0.6198, allocations: 271.8 kB / 0.74 GB, free: 12.62 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.001306/0.6211, allocations: 0.5422 MB / 0.7406 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.6212, allocations: 41.64 kB / 0.7406 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6212, allocations: 0 / 0.7406 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.6212, allocations: 0 / 0.7406 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.6217, allocations: 468.5 kB / 0.7411 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.622, allocations: 250.7 kB / 0.7413 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.6223, allocations: 0.6884 MB / 0.742 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.288e-05/0.6223, allocations: 0 / 0.742 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.6223, allocations: 7.438 kB / 0.742 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.6223, allocations: 4 kB / 0.742 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.009786/0.6321, allocations: 5.584 MB / 0.7474 GB, free: 5.035 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)