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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001243, allocations: 108 kB / 15.61 MB, free: 152 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.001384/0.001384, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.575/1.575, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.528/1.528, allocations: 251.7 MB / 0.5092 GB, free: 3.098 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.00148/0.00148, allocations: 71.91 kB / 0.6223 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5426, allocations: 104.7 MB / 0.7246 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002763/0.5454, allocations: 1.435 MB / 0.726 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004667/0.5501, allocations: 2.981 MB / 0.7289 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.5502, allocations: 0 / 0.7289 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.5502, allocations: 7.922 kB / 0.7289 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.857e-05/0.5503, allocations: 19.86 kB / 0.7289 GB, free: 8.609 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/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.5546, allocations: 1.655 MB / 0.7305 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.5547, allocations: 39.73 kB / 0.7306 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.5547, allocations: 4 kB / 0.7306 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.5548, allocations: 11.94 kB / 0.7306 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.422e-05/0.5548, allocations: 23.86 kB / 0.7306 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.5548, allocations: 4 kB / 0.7306 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.557, allocations: 1.482 MB / 0.7321 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.557, allocations: 0 / 0.7321 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.5571, allocations: 19.88 kB / 0.7321 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.5586, allocations: 1.127 MB / 0.7332 GB, free: 4.266 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5586, allocations: 0 / 0.7332 GB, free: 4.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5586, allocations: 4 kB / 0.7332 GB, free: 4.262 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.5586, allocations: 0 / 0.7332 GB, free: 4.262 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.0006513/0.5593, allocations: 0.5108 MB / 0.7337 GB, free: 3.703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.5593, allocations: 12.03 kB / 0.7337 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.5594, allocations: 84.12 kB / 0.7338 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.5596, allocations: 251.5 kB / 0.734 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.5596, allocations: 154.9 kB / 0.7342 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.5597, allocations: 150.9 kB / 0.7343 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.828e-05/0.5598, allocations: 109.1 kB / 0.7344 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.5598, allocations: 75.28 kB / 0.7345 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.5599, allocations: 154.6 kB / 0.7346 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/0.5599, allocations: 150.6 kB / 0.7348 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.56, allocations: 158.5 kB / 0.7349 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.5603, allocations: 461.9 kB / 0.7354 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.104e-05/0.5604, allocations: 173.1 kB / 0.7355 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.5605, allocations: 80.14 kB / 0.7356 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.5605, allocations: 75.33 kB / 0.7357 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.5606, allocations: 121.7 kB / 0.7358 GB, free: 1.414 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.5606, allocations: 0 / 0.7358 GB, free: 1.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.841e-05/0.5606, allocations: 33.61 kB / 0.7358 GB, free: 1.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.5607, allocations: 130.7 kB / 0.7359 GB, free: 1.234 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.5609, allocations: 132.3 kB / 0.7361 GB, free: 1.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.5609, allocations: 29.7 kB / 0.7361 GB, free: 1.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.561, allocations: 88.14 kB / 0.7362 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.561, allocations: 3.938 kB / 0.7362 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.561, allocations: 21.7 kB / 0.7362 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5611, allocations: 314.8 kB / 0.7365 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.5612, allocations: 7.984 kB / 0.7365 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.5612, allocations: 12 kB / 0.7365 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.5612, allocations: 16.86 kB / 0.7365 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5613, allocations: 0 / 0.7365 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001363/0.5614, allocations: 57.55 kB / 0.7366 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5614, allocations: 4 kB / 0.7366 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.5614, allocations: 4 kB / 0.7366 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5615, allocations: 3.984 kB / 0.7366 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.5615, allocations: 0 / 0.7366 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5615, allocations: 0 / 0.7366 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.5615, allocations: 11.88 kB / 0.7366 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.5615, allocations: 4.062 kB / 0.7366 GB, free: 0.4961 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.0001092/0.5616, allocations: 181.1 kB / 0.7368 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.5617, allocations: 116.8 kB / 0.7369 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.831e-05/0.5618, allocations: 112.9 kB / 0.737 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.021e-05/0.5619, allocations: 188.2 kB / 0.7372 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.235e-05/0.5619, allocations: 176.3 kB / 0.7374 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.714e-05/0.562, allocations: 180.3 kB / 0.7375 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.5623, allocations: 413.2 kB / 0.7379 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-05/0.5623, allocations: 108.9 kB / 0.738 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.5624, allocations: 112.9 kB / 0.7381 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.74e-05/0.5624, allocations: 176.3 kB / 0.7383 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.5625, allocations: 180.3 kB / 0.7385 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.219e-05/0.5626, allocations: 180.2 kB / 0.7387 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.474e-05/0.5627, allocations: 180.3 kB / 0.7388 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.5628, allocations: 315.7 kB / 0.7391 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.5629, allocations: 189.9 kB / 0.7393 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.563, allocations: 184.2 kB / 0.7395 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.5631, allocations: 109 kB / 0.7396 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.5632, allocations: 184.2 kB / 0.7398 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.5632, allocations: 101 kB / 0.7399 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.948e-05/0.5633, allocations: 101.1 kB / 0.74 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5633, allocations: 0 / 0.74 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007841/0.5641, allocations: 287.8 kB / 0.7402 GB, free: 12.57 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.001139/0.5652, allocations: 0.5546 MB / 0.7408 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.5654, allocations: 45.69 kB / 0.7408 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5654, allocations: 3.938 kB / 0.7408 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.5654, allocations: 4 kB / 0.7408 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.5658, allocations: 459.6 kB / 0.7413 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.5662, allocations: 236.1 kB / 0.7415 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.5664, allocations: 0.6845 MB / 0.7422 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.179e-05/0.5665, allocations: 0 / 0.7422 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.5665, allocations: 11.44 kB / 0.7422 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.5665, allocations: 0 / 0.7422 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.009758/0.5762, allocations: 5.764 MB / 0.7478 GB, free: 4.809 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)