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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001566/0.001566, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.568/1.568, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.557/1.557, allocations: 251.7 MB / 0.5089 GB, free: 3.309 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.001388/0.001389, allocations: 63.91 kB / 0.6218 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5912, allocations: 104.7 MB / 0.7241 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002782/0.5941, allocations: 1.493 MB / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.5983, allocations: 2.934 MB / 0.7284 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.5984, allocations: 0 / 0.7284 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.5984, allocations: 0 / 0.7284 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.5985, allocations: 19.84 kB / 0.7284 GB, free: 8.602 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.003955/0.6025, allocations: 1.5 MB / 0.7299 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.6026, allocations: 43.67 kB / 0.7299 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.6026, allocations: 4 kB / 0.7299 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.6027, allocations: 19.92 kB / 0.7299 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.566e-05/0.6027, allocations: 7.938 kB / 0.7299 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.6027, allocations: 8 kB / 0.7299 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.605, allocations: 1.443 MB / 0.7314 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.605, allocations: 7.922 kB / 0.7314 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.6051, allocations: 19.88 kB / 0.7314 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.607, allocations: 1.072 MB / 0.7324 GB, free: 4.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.607, allocations: 0 / 0.7324 GB, free: 4.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.607, allocations: 0 / 0.7324 GB, free: 4.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.6071, allocations: 0 / 0.7324 GB, free: 4.504 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.000778/0.6078, allocations: 0.5186 MB / 0.7329 GB, free: 3.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.6079, allocations: 12.03 kB / 0.7329 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.608, allocations: 84.12 kB / 0.733 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.6081, allocations: 251.5 kB / 0.7333 GB, free: 3.559 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.6082, allocations: 150.9 kB / 0.7334 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.6083, allocations: 150.9 kB / 0.7336 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.45e-05/0.6083, allocations: 109 kB / 0.7337 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.6084, allocations: 79.28 kB / 0.7337 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.6084, allocations: 154.6 kB / 0.7339 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/0.6085, allocations: 154.6 kB / 0.734 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.6085, allocations: 150.6 kB / 0.7342 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.6088, allocations: 461.9 kB / 0.7346 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.01e-05/0.6089, allocations: 173.1 kB / 0.7348 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/0.609, allocations: 80.14 kB / 0.7349 GB, free: 1.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.609, allocations: 75.28 kB / 0.7349 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/0.6091, allocations: 113.8 kB / 0.735 GB, free: 1.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.6091, allocations: 0 / 0.735 GB, free: 1.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.959e-05/0.6092, allocations: 37.61 kB / 0.7351 GB, free: 1.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.6093, allocations: 130.7 kB / 0.7352 GB, free: 1.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.6094, allocations: 132.1 kB / 0.7353 GB, free: 1.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.6094, allocations: 25.7 kB / 0.7353 GB, free: 1.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.6095, allocations: 92.14 kB / 0.7354 GB, free: 1.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-06/0.6095, allocations: 0 / 0.7354 GB, free: 1.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.6096, allocations: 21.64 kB / 0.7355 GB, free: 1.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6097, allocations: 322.9 kB / 0.7358 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.6097, allocations: 0 / 0.7358 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.6097, allocations: 11.94 kB / 0.7358 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.6098, allocations: 24.88 kB / 0.7358 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6098, allocations: 4 kB / 0.7358 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.6099, allocations: 49.55 kB / 0.7358 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.61, allocations: 4 kB / 0.7358 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.61, allocations: 4 kB / 0.7359 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.61, allocations: 0 / 0.7359 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.61, allocations: 0 / 0.7359 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.61, allocations: 8.047 kB / 0.7359 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.61, allocations: 3.938 kB / 0.7359 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.6101, allocations: 4 kB / 0.7359 GB, free: 0.7422 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 9.773e-05/0.6102, allocations: 181.1 kB / 0.736 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.6102, allocations: 112.8 kB / 0.7361 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.6103, allocations: 104.9 kB / 0.7362 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.323e-05/0.6103, allocations: 192.2 kB / 0.7364 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-05/0.6104, allocations: 180.3 kB / 0.7366 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.118e-05/0.6105, allocations: 180.2 kB / 0.7368 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.6107, allocations: 409.3 kB / 0.7372 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-05/0.6107, allocations: 108.9 kB / 0.7373 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.6108, allocations: 108.9 kB / 0.7374 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.38e-05/0.6109, allocations: 188.3 kB / 0.7376 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.6109, allocations: 180.2 kB / 0.7377 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-05/0.611, allocations: 176.3 kB / 0.7379 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.408e-05/0.611, allocations: 176.3 kB / 0.7381 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.6112, allocations: 319.7 kB / 0.7384 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.6113, allocations: 186 kB / 0.7385 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.6113, allocations: 180.3 kB / 0.7387 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.6114, allocations: 105 kB / 0.7388 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.6115, allocations: 184.2 kB / 0.739 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.6115, allocations: 108.9 kB / 0.7391 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.6116, allocations: 101.6 kB / 0.7392 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6116, allocations: 0 / 0.7392 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008665/0.6125, allocations: 279.8 kB / 0.7395 GB, free: 12.84 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.001024/0.6135, allocations: 0.5411 MB / 0.74 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.6136, allocations: 45.64 kB / 0.74 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.6136, allocations: 0 / 0.74 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-06/0.6136, allocations: 0 / 0.74 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.614, allocations: 471.5 kB / 0.7405 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.6143, allocations: 256 kB / 0.7407 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.6147, allocations: 0.6807 MB / 0.7414 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.395e-05/0.6148, allocations: 0 / 0.7414 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.6148, allocations: 11.44 kB / 0.7414 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6148, allocations: 0 / 0.7414 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.009155/0.6239, allocations: 5.573 MB / 0.7468 GB, free: 5.262 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)