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.001149/0.001149, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001258/0.001258, allocations: 185.8 kB / 16.25 MB, free: 6.137 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.597/1.597, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.499/1.499, allocations: 251.6 MB / 0.5089 GB, free: 3.324 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.001382/0.001382, allocations: 63.91 kB / 0.6218 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5258, allocations: 104.7 MB / 0.7241 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002713/0.5285, allocations: 1.497 MB / 0.7255 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004055/0.5326, allocations: 2.981 MB / 0.7284 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.5327, allocations: 0 / 0.7284 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.5328, allocations: 3.938 kB / 0.7284 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.5328, allocations: 19.84 kB / 0.7284 GB, free: 8.566 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/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.00365/0.5365, allocations: 1.524 MB / 0.7299 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.5366, allocations: 35.8 kB / 0.73 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.5366, allocations: 7.938 kB / 0.73 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.5367, allocations: 19.88 kB / 0.73 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.304e-05/0.5367, allocations: 23.86 kB / 0.73 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.5367, allocations: 0 / 0.73 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.5388, allocations: 1.478 MB / 0.7315 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.5388, allocations: 0 / 0.7315 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.5389, allocations: 23.86 kB / 0.7315 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.5402, allocations: 1.111 MB / 0.7326 GB, free: 4.367 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5402, allocations: 4 kB / 0.7326 GB, free: 4.363 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5402, allocations: 0 / 0.7326 GB, free: 4.363 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5402, allocations: 0 / 0.7326 GB, free: 4.363 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.0005564/0.5408, allocations: 0.5147 MB / 0.7331 GB, free: 3.801 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5408, allocations: 12.03 kB / 0.7331 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.5409, allocations: 84.11 kB / 0.7332 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.541, allocations: 247.5 kB / 0.7334 GB, free: 3.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.5411, allocations: 150.9 kB / 0.7336 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.5412, allocations: 158.9 kB / 0.7337 GB, free: 3.121 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.374e-05/0.5412, allocations: 109.1 kB / 0.7338 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.5413, allocations: 79.28 kB / 0.7339 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.5413, allocations: 150.6 kB / 0.734 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.144e-05/0.5414, allocations: 150.6 kB / 0.7342 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.5414, allocations: 150.6 kB / 0.7343 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.5417, allocations: 465.9 kB / 0.7348 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.5418, allocations: 173.1 kB / 0.7349 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.5418, allocations: 84.12 kB / 0.735 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.5419, allocations: 75.28 kB / 0.7351 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.5419, allocations: 113.8 kB / 0.7352 GB, free: 1.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.5419, allocations: 0 / 0.7352 GB, free: 1.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.058e-05/0.542, allocations: 41.55 kB / 0.7352 GB, free: 1.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.5421, allocations: 126.7 kB / 0.7353 GB, free: 1.336 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.5422, allocations: 131.5 kB / 0.7355 GB, free: 1.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.5422, allocations: 25.7 kB / 0.7355 GB, free: 1.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.5423, allocations: 100.1 kB / 0.7356 GB, free: 1.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.5423, allocations: 0 / 0.7356 GB, free: 1.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.5423, allocations: 17.72 kB / 0.7356 GB, free: 1.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5425, allocations: 322.8 kB / 0.7359 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.5425, allocations: 8 kB / 0.7359 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.5425, allocations: 4.062 kB / 0.7359 GB, free: 0.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.5426, allocations: 16.86 kB / 0.7359 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5426, allocations: 0 / 0.7359 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001254/0.5427, allocations: 57.48 kB / 0.736 GB, free: 0.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5427, allocations: 4 kB / 0.736 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.5428, allocations: 15.91 kB / 0.736 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5428, allocations: 4.062 kB / 0.736 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.5428, allocations: 0 / 0.736 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.5428, allocations: 0 / 0.736 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.5428, allocations: 3.938 kB / 0.736 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.5429, allocations: 7.938 kB / 0.736 GB, free: 0.5898 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 8.811e-05/0.5429, allocations: 181.1 kB / 0.7362 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.543, allocations: 112.8 kB / 0.7363 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.5431, allocations: 116.8 kB / 0.7364 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.555e-05/0.5431, allocations: 184.3 kB / 0.7366 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.087e-05/0.5432, allocations: 176.3 kB / 0.7368 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.446e-05/0.5433, allocations: 180.2 kB / 0.7369 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.5435, allocations: 417.3 kB / 0.7373 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.63e-05/0.5435, allocations: 112.9 kB / 0.7374 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.5436, allocations: 105 kB / 0.7375 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.243e-05/0.5436, allocations: 184.2 kB / 0.7377 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.5437, allocations: 176.3 kB / 0.7379 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.016e-05/0.5437, allocations: 176.3 kB / 0.7381 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.123e-05/0.5438, allocations: 184.2 kB / 0.7382 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.5439, allocations: 315.7 kB / 0.7385 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.544, allocations: 189.9 kB / 0.7387 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.5441, allocations: 184.2 kB / 0.7389 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.5441, allocations: 112.9 kB / 0.739 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.5442, allocations: 176.3 kB / 0.7392 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.5442, allocations: 108.9 kB / 0.7393 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.5443, allocations: 101.3 kB / 0.7394 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5443, allocations: 0 / 0.7394 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007023/0.545, allocations: 283.8 kB / 0.7396 GB, free: 12.67 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.00109/0.5461, allocations: 0.5472 MB / 0.7402 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.484e-05/0.5462, allocations: 41.69 kB / 0.7402 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5462, allocations: 3.938 kB / 0.7402 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.5462, allocations: 0 / 0.7402 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.5466, allocations: 474.7 kB / 0.7407 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.547, allocations: 244 kB / 0.7409 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.5472, allocations: 0.6846 MB / 0.7416 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.5472, allocations: 4 kB / 0.7416 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/0.5472, allocations: 7.438 kB / 0.7416 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5472, allocations: 0 / 0.7416 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.009381/0.5566, allocations: 5.76 MB / 0.7472 GB, free: 4.902 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)