Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002267, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000719/0.000719, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009269/0.001646, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8825/0.8825, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08945/0.972, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7115/0.7115, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2356/0.9472, allocations: 49.04 MB / 447.8 MB, free: 6.559 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 449.2 MB, free: 5.219 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.326e-06/9.348e-06, allocations: 2.312 kB / 449.2 MB, free: 5.215 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003497/0.003507, allocations: 4.234 MB / 453.4 MB, free: 1.039 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.006034, allocations: 2.462 MB / 455.9 MB, free: 14.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.006211, allocations: 8 kB / 455.9 MB, free: 14.58 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000943/0.007154, allocations: 0.5315 MB / 456.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.007442, allocations: 252.8 kB / 456.7 MB, free: 13.8 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.007584, allocations: 139.8 kB / 456.8 MB, free: 13.67 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.008126, allocations: 0.8456 MB / 457.6 MB, free: 12.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.008371, allocations: 222.4 kB / 457.9 MB, free: 12.6 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.008857, allocations: 0.5452 MB / 458.4 MB, free: 12.05 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.00909, allocations: 252 kB / 458.7 MB, free: 11.81 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.009145, allocations: 72 kB / 458.7 MB, free: 11.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.00922, allocations: 77.5 kB / 458.8 MB, free: 11.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.781e-05/0.009317, allocations: 135.6 kB / 458.9 MB, free: 11.53 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.009468, allocations: 231.6 kB / 459.2 MB, free: 11.3 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.009829, allocations: 486.3 kB / 459.6 MB, free: 10.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.00984, allocations: 5.484 kB / 459.6 MB, free: 10.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.009841, allocations: 0 / 459.6 MB, free: 10.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.009852, allocations: 0 / 459.6 MB, free: 10.82 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008314/0.01068, allocations: 0.996 MB / 460.6 MB, free: 9.809 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.01071, allocations: 12.66 kB / 460.7 MB, free: 9.797 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.0108, allocations: 84.88 kB / 460.7 MB, free: 9.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.0111, allocations: 292.8 kB / 461 MB, free: 9.406 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.01112, allocations: 38 kB / 461.1 MB, free: 9.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.01116, allocations: 44.38 kB / 461.1 MB, free: 9.328 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.01144, allocations: 288.6 kB / 461.4 MB, free: 9.039 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.01145, allocations: 192 / 461.4 MB, free: 9.039 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.01147, allocations: 22.09 kB / 461.4 MB, free: 9.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.01148, allocations: 16.45 kB / 461.4 MB, free: 9.004 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.01163, allocations: 138.8 kB / 461.6 MB, free: 8.867 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.01251, allocations: 0.8662 MB / 462.4 MB, free: 7.992 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.01267, allocations: 164 kB / 462.6 MB, free: 7.816 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.01284, allocations: 160.6 kB / 462.7 MB, free: 7.656 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.01286, allocations: 4.875 kB / 462.7 MB, free: 7.652 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.01288, allocations: 39.25 kB / 462.8 MB, free: 7.605 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 1.463e-06/0.01288, allocations: 0 / 462.8 MB, free: 7.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002518/0.01313, allocations: 218.6 kB / 463 MB, free: 7.387 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.01316, allocations: 63.33 kB / 463.1 MB, free: 7.312 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.01337, allocations: 343.3 kB / 463.4 MB, free: 6.965 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.01339, allocations: 29.7 kB / 463.4 MB, free: 6.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.01346, allocations: 230.9 kB / 463.6 MB, free: 6.699 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.01356, allocations: 150.6 kB / 463.8 MB, free: 6.551 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.01361, allocations: 66.05 kB / 463.9 MB, free: 6.477 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.0137, allocations: 368.4 kB / 464.2 MB, free: 6.109 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.01375, allocations: 36.73 kB / 464.3 MB, free: 6.074 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.01379, allocations: 37.48 kB / 464.3 MB, free: 6.039 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.0139, allocations: 134.1 kB / 464.4 MB, free: 5.906 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0139, allocations: 0 / 464.4 MB, free: 5.906 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002213/0.01412, allocations: 189.6 kB / 464.6 MB, free: 5.715 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.01413, allocations: 4 kB / 464.6 MB, free: 5.711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01414, allocations: 3.406 kB / 464.6 MB, free: 5.711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.01415, allocations: 0 / 464.6 MB, free: 5.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.01455, allocations: 212.1 kB / 464.8 MB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.01456, allocations: 4 kB / 464.8 MB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.01464, allocations: 37.17 kB / 464.9 MB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01465, allocations: 4 kB / 464.9 MB, free: 5.469 MB / 442.7 MB 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 8.446e-05/0.01473, allocations: 132.5 kB / 465 MB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.01477, allocations: 37.45 kB / 465 MB, free: 5.293 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.01483, allocations: 60.8 kB / 465.1 MB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01483, allocations: 4.594 kB / 465.1 MB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01483, allocations: 0 / 465.1 MB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01484, allocations: 1.438 kB / 465.1 MB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.01508, allocations: 293.4 kB / 465.4 MB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01509, allocations: 0 / 465.4 MB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.01544, allocations: 204.5 kB / 465.6 MB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.01548, allocations: 51.58 kB / 465.6 MB, free: 4.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01548, allocations: 0 / 465.6 MB, free: 4.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.0155, allocations: 12 kB / 465.6 MB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.0155, allocations: 0.7812 kB / 465.6 MB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.0155, allocations: 0 / 465.6 MB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.01578, allocations: 372.5 kB / 466 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.01581, allocations: 8.75 kB / 466 MB, free: 4.281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.0159, allocations: 13.39 kB / 466 MB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.01593, allocations: 25.83 kB / 466.1 MB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.01594, allocations: 8 kB / 466.1 MB, free: 4.238 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.984e-05/0.01604, allocations: 152.7 kB / 466.2 MB, free: 4.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01604, allocations: 0 / 466.2 MB, free: 4.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.01624, allocations: 147.7 kB / 466.4 MB, free: 3.945 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001944/0.01644, allocations: 93.48 kB / 466.4 MB, free: 3.848 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.0166, allocations: 161 kB / 466.6 MB, free: 3.688 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.01661, allocations: 10.25 kB / 466.6 MB, free: 3.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.01671, allocations: 128.7 kB / 466.7 MB, free: 3.551 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.01733, allocations: 1.325 MB / 468.1 MB, free: 1.973 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.02299, allocations: 1.018 MB / 469.1 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.824e-05/0.02307, allocations: 134.7 kB / 469.2 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.02318, allocations: 50.02 kB / 469.3 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.02339, allocations: 169.3 kB / 469.4 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of SimCode: time 3.7e-07/0.02339, allocations: 1.562 kB / 469.4 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of Templates: time 0.008786/0.03217, allocations: 7.217 MB / 476.6 MB, free: 9.926 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.249983111396432]