Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009927/0.0009927, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.002027, 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.001051/0.001051, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002328, 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.8869/0.8869, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07952/0.9664, 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-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7103/0.7103, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2398/0.9501, allocations: 49.13 MB / 448.4 MB, free: 6.039 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-master/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_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.267e-05, allocations: 3.562 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005144/0.005157, allocations: 4.217 MB / 453.9 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003687/0.008844, allocations: 2.471 MB / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.009111, allocations: 12.84 kB / 456.4 MB, free: 14.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.01052, allocations: 0.5265 MB / 456.9 MB, free: 13.55 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.01103, allocations: 252.9 kB / 457.2 MB, free: 13.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.01127, allocations: 140.5 kB / 457.3 MB, free: 13.16 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.01229, allocations: 0.8424 MB / 458.2 MB, free: 12.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.01264, allocations: 234.2 kB / 458.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007377/0.01338, allocations: 0.5375 MB / 458.9 MB, free: 11.55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.01372, allocations: 247.3 kB / 459.2 MB, free: 11.31 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.049e-05/0.01381, allocations: 77.5 kB / 459.3 MB, free: 11.24 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.01392, allocations: 72 kB / 459.3 MB, free: 11.17 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.01406, allocations: 143.5 kB / 459.5 MB, free: 11.03 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.01432, allocations: 231.6 kB / 459.7 MB, free: 10.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.01486, allocations: 484.4 kB / 460.2 MB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.01487, allocations: 0 / 460.2 MB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01487, allocations: 0 / 460.2 MB, free: 10.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.0149, allocations: 0 / 460.2 MB, free: 10.33 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.001258/0.01615, allocations: 1.003 MB / 461.2 MB, free: 9.305 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.01618, allocations: 8.688 kB / 461.2 MB, free: 9.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.01631, allocations: 85.39 kB / 461.3 MB, free: 9.215 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.01672, allocations: 293.3 kB / 461.5 MB, free: 8.906 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.01675, allocations: 38 kB / 461.6 MB, free: 8.871 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.01682, allocations: 53.17 kB / 461.6 MB, free: 8.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.01723, allocations: 295.6 kB / 461.9 MB, free: 8.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.01725, allocations: 1.406 kB / 461.9 MB, free: 8.523 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.01728, allocations: 16.38 kB / 461.9 MB, free: 8.508 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.0173, allocations: 15.94 kB / 462 MB, free: 8.492 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.01754, allocations: 135.6 kB / 462.1 MB, free: 8.359 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.01887, allocations: 0.8631 MB / 463 MB, free: 7.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.01912, allocations: 170.1 kB / 463.1 MB, free: 7.309 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.01933, allocations: 154.1 kB / 463.3 MB, free: 7.156 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.01934, allocations: 8 kB / 463.3 MB, free: 7.148 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.01937, allocations: 39.25 kB / 463.3 MB, free: 7.102 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.01937, allocations: 0 / 463.3 MB, free: 7.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003761/0.01975, allocations: 229.9 kB / 463.5 MB, free: 6.871 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.01978, allocations: 59.41 kB / 463.6 MB, free: 6.801 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.02008, allocations: 344.2 kB / 463.9 MB, free: 6.457 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.02011, allocations: 37.7 kB / 464 MB, free: 6.414 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.02022, allocations: 221.5 kB / 464.2 MB, free: 6.191 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.02033, allocations: 155.4 kB / 464.3 MB, free: 6.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.02041, allocations: 62.05 kB / 464.4 MB, free: 5.973 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.02053, allocations: 364.6 kB / 464.8 MB, free: 5.609 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.0206, allocations: 32.73 kB / 464.8 MB, free: 5.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.02067, allocations: 41.48 kB / 464.8 MB, free: 5.539 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.02085, allocations: 129 kB / 465 MB, free: 5.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.02085, allocations: 4 kB / 465 MB, free: 5.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002603/0.02111, allocations: 189.8 kB / 465.1 MB, free: 5.215 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.02112, allocations: 4 kB / 465.1 MB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.02113, allocations: 5.344 kB / 465.2 MB, free: 5.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.02114, allocations: 0 / 465.2 MB, free: 5.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/0.02203, allocations: 212.9 kB / 465.4 MB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.02203, allocations: 0.5625 kB / 465.4 MB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.02216, allocations: 31.78 kB / 465.4 MB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.02218, allocations: 5.031 kB / 465.4 MB, free: 4.977 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 0.0001162/0.02229, allocations: 136.5 kB / 465.5 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.02236, allocations: 44.69 kB / 465.6 MB, free: 4.789 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.02244, allocations: 48.81 kB / 465.6 MB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.02245, allocations: 8.516 kB / 465.6 MB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.02245, allocations: 0.5312 kB / 465.6 MB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.02246, allocations: 6.859 kB / 465.6 MB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.02284, allocations: 293.4 kB / 465.9 MB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.02284, allocations: 0 / 465.9 MB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.02342, allocations: 202.6 kB / 466.1 MB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.02349, allocations: 53.2 kB / 466.2 MB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.02349, allocations: 7.938 kB / 466.2 MB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.02351, allocations: 7.984 kB / 466.2 MB, free: 4.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.02352, allocations: 7.938 kB / 466.2 MB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02352, allocations: 0 / 466.2 MB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.02393, allocations: 361.6 kB / 466.5 MB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.02397, allocations: 4 kB / 466.6 MB, free: 3.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.02412, allocations: 12 kB / 466.6 MB, free: 3.773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.02417, allocations: 28.5 kB / 466.6 MB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.02419, allocations: 12 kB / 466.6 MB, free: 3.734 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001635/0.02435, allocations: 157.5 kB / 466.8 MB, free: 3.582 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02435, allocations: 0 / 466.8 MB, free: 3.582 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003575/0.02471, allocations: 144.3 kB / 466.9 MB, free: 3.441 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.0001023/0.02481, allocations: 94.95 kB / 467 MB, free: 3.344 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.02505, allocations: 168.3 kB / 467.2 MB, free: 3.176 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.02507, allocations: 9.375 kB / 467.2 MB, free: 3.168 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.02519, allocations: 96.69 kB / 467.3 MB, free: 3.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.02563, allocations: 150.9 kB / 467.4 MB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00592/0.03155, allocations: 1.014 MB / 468.4 MB, free: 1.887 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.03162, allocations: 138.5 kB / 468.6 MB, free: 1.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.03173, allocations: 48.97 kB / 468.6 MB, free: 1.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.03192, allocations: 146.7 kB / 468.7 MB, free: 1.547 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03192, allocations: 0 / 468.7 MB, free: 1.547 MB / 442.7 MB Notification: Performance of Templates: time 0.008213/0.04013, allocations: 6.553 MB / 475.3 MB, free: 11.54 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.280669517815113]