Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001162/0.001162, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001783/0.002945, allocations: 435.8 kB / 10.33 MB, free: 368 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.001142/0.001142, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002533, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9156/0.9156, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08445/1, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7333/0.7333, allocations: 154.6 MB / 398.5 MB, free: 0.5352 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2266/0.96, allocations: 49.04 MB / 447.6 MB, free: 6.699 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 448.9 MB, free: 5.383 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.831e-05, allocations: 2.312 kB / 448.9 MB, free: 5.379 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00304/0.003059, allocations: 3.125 MB / 452 MB, free: 2.305 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.005154, allocations: 2.176 MB / 454.2 MB, free: 140 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.005285, allocations: 4.844 kB / 454.2 MB, free: 136 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008891/0.006174, allocations: 495.8 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.00635, allocations: 148.5 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.244e-05/0.006442, allocations: 64.48 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.006767, allocations: 471.2 kB / 455.4 MB, free: 14.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.006923, allocations: 108.2 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/0.00724, allocations: 321 kB / 455.8 MB, free: 14.56 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.007653, allocations: 139.6 kB / 455.9 MB, free: 14.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.007686, allocations: 33.44 kB / 455.9 MB, free: 14.39 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.88e-05/0.007724, allocations: 36 kB / 456 MB, free: 14.36 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.007797, allocations: 75.73 kB / 456.1 MB, free: 14.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.007891, allocations: 123.8 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.008141, allocations: 283.7 kB / 456.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.008155, allocations: 4 kB / 456.5 MB, free: 13.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.008156, allocations: 1.438 kB / 456.5 MB, free: 13.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.008168, allocations: 0 / 456.5 MB, free: 13.88 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006434/0.008812, allocations: 0.6785 MB / 457.1 MB, free: 13.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.00884, allocations: 12.03 kB / 457.2 MB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.00889, allocations: 44.89 kB / 457.2 MB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.00913, allocations: 255.6 kB / 457.4 MB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.009142, allocations: 12.88 kB / 457.5 MB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.009169, allocations: 20.38 kB / 457.5 MB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.009337, allocations: 149.3 kB / 457.6 MB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.009348, allocations: 0.9375 kB / 457.6 MB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.00936, allocations: 8.375 kB / 457.6 MB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.009366, allocations: 7.938 kB / 457.6 MB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.00945, allocations: 62.19 kB / 457.7 MB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.009948, allocations: 451 kB / 458.1 MB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.01005, allocations: 83.03 kB / 458.2 MB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.0101, allocations: 50.02 kB / 458.3 MB, free: 12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.01011, allocations: 5.172 kB / 458.3 MB, free: 12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.01013, allocations: 34.56 kB / 458.3 MB, free: 11.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.01013, allocations: 0.5625 kB / 458.3 MB, free: 11.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001624/0.01029, allocations: 119.7 kB / 458.4 MB, free: 11.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.01032, allocations: 55.41 kB / 458.5 MB, free: 11.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.0105, allocations: 308 kB / 458.8 MB, free: 11.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.01052, allocations: 29.7 kB / 458.8 MB, free: 11.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.01058, allocations: 165.8 kB / 459 MB, free: 11.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.01062, allocations: 76.03 kB / 459 MB, free: 11.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.01066, allocations: 33.7 kB / 459.1 MB, free: 11.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.01074, allocations: 355.3 kB / 459.4 MB, free: 10.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.01077, allocations: 12.72 kB / 459.4 MB, free: 10.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.01079, allocations: 18.06 kB / 459.5 MB, free: 10.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.879e-05/0.01085, allocations: 59.7 kB / 459.5 MB, free: 10.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01085, allocations: 0 / 459.5 MB, free: 10.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 9.6e-05/0.01094, allocations: 102.7 kB / 459.6 MB, free: 10.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.01096, allocations: 8 kB / 459.6 MB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.01096, allocations: 0 / 459.6 MB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.01097, allocations: 0.8125 kB / 459.6 MB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.01122, allocations: 89.77 kB / 459.7 MB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01123, allocations: 4 kB / 459.7 MB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.01128, allocations: 11.95 kB / 459.7 MB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.01129, allocations: 0.625 kB / 459.7 MB, free: 10.48 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 (20): * Single equations (assignments): 20 * 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 7.302e-05/0.01136, allocations: 121.9 kB / 459.8 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.01139, allocations: 29.19 kB / 459.9 MB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.01143, allocations: 35.41 kB / 459.9 MB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01144, allocations: 5.375 kB / 459.9 MB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01144, allocations: 3.938 kB / 459.9 MB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01144, allocations: 3.984 kB / 459.9 MB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.01161, allocations: 181.6 kB / 460.1 MB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01161, allocations: 1.031 kB / 460.1 MB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.01179, allocations: 85.73 kB / 460.2 MB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.01183, allocations: 40.45 kB / 460.2 MB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01183, allocations: 3.938 kB / 460.2 MB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.01185, allocations: 1.969 kB / 460.2 MB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01185, allocations: 3.984 kB / 460.2 MB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01185, allocations: 0 / 460.2 MB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.01203, allocations: 228 kB / 460.5 MB, free: 9.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.01205, allocations: 7.938 kB / 460.5 MB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.01212, allocations: 12.55 kB / 460.5 MB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.01215, allocations: 13.45 kB / 460.5 MB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.01216, allocations: 0 / 460.5 MB, free: 9.699 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.249e-05/0.01225, allocations: 128.7 kB / 460.6 MB, free: 9.574 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01225, allocations: 0 / 460.6 MB, free: 9.574 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001637/0.01241, allocations: 80.59 kB / 460.7 MB, free: 9.496 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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 9.432e-05/0.01251, allocations: 89.44 kB / 460.8 MB, free: 9.398 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.686e-05/0.0126, allocations: 72.67 kB / 460.9 MB, free: 9.324 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.01261, allocations: 9.094 kB / 460.9 MB, free: 9.316 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.01265, allocations: 40.78 kB / 460.9 MB, free: 9.273 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.01294, allocations: 114.4 kB / 461 MB, free: 9.172 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.0163, allocations: 0.6403 MB / 461.7 MB, free: 8.516 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.01636, allocations: 96.61 kB / 461.7 MB, free: 8.402 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.814e-05/0.01644, allocations: 30.75 kB / 461.8 MB, free: 8.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.01659, allocations: 125.3 kB / 461.9 MB, free: 8.254 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01659, allocations: 0 / 461.9 MB, free: 8.254 MB / 442.7 MB Notification: Performance of Templates: time 0.00666/0.02325, allocations: 4.438 MB / 466.3 MB, free: 4.223 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2052631890401244]