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.0009439/0.0009439, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009773/0.0009773, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 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.9486/0.9486, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.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.7583/0.7583, allocations: 154.6 MB / 414.5 MB, free: 0.6836 MB / 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. " [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 2.023e-06/2.023e-06, allocations: 0 / 0.5204 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.206e-05, allocations: 6.016 kB / 0.5204 GB, free: 2.133 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005745/0.005777, allocations: 4.232 MB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.00977, allocations: 2.423 MB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.01026, allocations: 12.56 kB / 0.5269 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.01213, allocations: 0.5161 MB / 0.5274 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007194/0.01285, allocations: 253.6 kB / 0.5276 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.01324, allocations: 139.8 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.01427, allocations: 0.8444 MB / 0.5286 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.01468, allocations: 211 kB / 0.5288 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007972/0.01547, allocations: 467 kB / 0.5292 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004388/0.01591, allocations: 250 kB / 0.5295 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.01603, allocations: 76 kB / 0.5296 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.01615, allocations: 72 kB / 0.5296 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.01634, allocations: 175.4 kB / 0.5298 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.01666, allocations: 267.4 kB / 0.53 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.01739, allocations: 0.5061 MB / 0.5305 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.0174, allocations: 0 / 0.5305 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.0174, allocations: 0 / 0.5305 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.01742, allocations: 0.7812 kB / 0.5305 GB, free: 7.734 MB / 0.4948 GB 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.001485/0.0189, allocations: 0.9994 MB / 0.5315 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.01896, allocations: 8.031 kB / 0.5315 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.01916, allocations: 116.5 kB / 0.5316 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/0.01978, allocations: 389 kB / 0.532 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.01981, allocations: 37.38 kB / 0.532 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.01989, allocations: 48.38 kB / 0.5321 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.02047, allocations: 311.7 kB / 0.5324 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.02049, allocations: 4.141 kB / 0.5324 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.02053, allocations: 20.38 kB / 0.5324 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.02055, allocations: 23.86 kB / 0.5324 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.02096, allocations: 186.7 kB / 0.5326 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.02272, allocations: 1.194 MB / 0.5338 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.02312, allocations: 219.5 kB / 0.534 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.02343, allocations: 195.2 kB / 0.5342 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.02346, allocations: 4.688 kB / 0.5342 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.02349, allocations: 41.39 kB / 0.5342 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.966e-06/0.02349, allocations: 3.938 kB / 0.5342 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0006434/0.02413, allocations: 333.8 kB / 0.5345 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.02417, allocations: 63.12 kB / 0.5346 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.02465, allocations: 478.7 kB / 0.5351 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.02468, allocations: 33.7 kB / 0.5351 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.02488, allocations: 343.2 kB / 0.5354 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.025, allocations: 154.1 kB / 0.5356 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.0251, allocations: 67.73 kB / 0.5356 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.02529, allocations: 0.5469 MB / 0.5362 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.02542, allocations: 52.72 kB / 0.5362 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.02554, allocations: 65.2 kB / 0.5363 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.02583, allocations: 161.3 kB / 0.5364 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02583, allocations: 0 / 0.5364 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004281/0.02626, allocations: 284.6 kB / 0.5367 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.02628, allocations: 4 kB / 0.5367 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.02629, allocations: 5.406 kB / 0.5367 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.02631, allocations: 7.984 kB / 0.5367 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.02671, allocations: 125.2 kB / 0.5368 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.02672, allocations: 0 / 0.5368 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.02687, allocations: 31.77 kB / 0.5369 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.02689, allocations: 12 kB / 0.5369 GB, free: 1.055 MB / 0.4948 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 (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 0.000147/0.02704, allocations: 177.6 kB / 0.537 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.02713, allocations: 59.67 kB / 0.5371 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.529e-05/0.02721, allocations: 57.56 kB / 0.5372 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.02722, allocations: 4 kB / 0.5372 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.02723, allocations: 4.5 kB / 0.5372 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.02723, allocations: 5.453 kB / 0.5372 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.02776, allocations: 432.1 kB / 0.5376 GB, free: 292 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.02776, allocations: 3.938 kB / 0.5376 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.02816, allocations: 128.4 kB / 0.5377 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.02817, allocations: 0.5625 kB / 0.5377 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.0282, allocations: 12.94 kB / 0.5377 GB, free: 148 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.0282, allocations: 0 / 0.5377 GB, free: 148 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.0282, allocations: 3.984 kB / 0.5377 GB, free: 144 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.02896, allocations: 0.4997 MB / 0.5382 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.02904, allocations: 52.48 kB / 0.5383 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.02908, allocations: 8 kB / 0.5383 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.02923, allocations: 9.5 kB / 0.5383 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.02929, allocations: 27.89 kB / 0.5383 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.02931, allocations: 15.98 kB / 0.5383 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002886/0.0296, allocations: 303.1 kB / 0.5386 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.0296, allocations: 0.5312 kB / 0.5386 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004304/0.03003, allocations: 155.6 kB / 0.5388 GB, free: 15.07 MB / 0.5105 GB 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.0001426/0.03017, allocations: 117.2 kB / 0.5389 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.03054, allocations: 195.4 kB / 0.5391 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.03054, allocations: 4 kB / 0.5391 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.03072, allocations: 132.3 kB / 0.5392 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.03127, allocations: 102 kB / 0.5393 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.03332, allocations: 1.027 MB / 0.5403 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.03343, allocations: 129.8 kB / 0.5404 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.03361, allocations: 45.75 kB / 0.5405 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.03371, allocations: 32.5 kB / 0.5405 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/0.03371, allocations: 1.438 kB / 0.5405 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.01044/0.04415, allocations: 4.972 MB / 0.5453 GB, free: 8.551 MB / 0.5105 GB " [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.830040622036904]