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.000903/0.000903, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009573/0.0009573, allocations: 177 kB / 23.36 MB, free: 1.133 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.9598/0.9598, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.7374/0.7374, allocations: 154.6 MB / 414.9 MB, free: 0.5195 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 1.232e-06/1.232e-06, allocations: 0 / 480.1 MB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.375e-05, allocations: 2.312 kB / 480.1 MB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003732/0.003745, allocations: 4.192 MB / 484.3 MB, free: 2.645 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.006863, allocations: 2.438 MB / 486.7 MB, free: 220 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.007069, allocations: 12.56 kB / 486.8 MB, free: 208 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.008251, allocations: 0.5428 MB / 487.3 MB, free: 15.66 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.008579, allocations: 257.1 kB / 487.5 MB, free: 15.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.008748, allocations: 141.1 kB / 487.7 MB, free: 15.27 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.009364, allocations: 0.8444 MB / 488.5 MB, free: 14.43 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.009639, allocations: 221.6 kB / 488.7 MB, free: 14.2 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.01013, allocations: 467.5 kB / 489.2 MB, free: 13.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.01039, allocations: 252.6 kB / 489.4 MB, free: 13.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.01046, allocations: 76 kB / 489.5 MB, free: 13.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.574e-05/0.01052, allocations: 72 kB / 489.6 MB, free: 13.36 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.01064, allocations: 171.4 kB / 489.8 MB, free: 13.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.01082, allocations: 272.4 kB / 490 MB, free: 12.92 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.01121, allocations: 0.5022 MB / 490.5 MB, free: 12.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01121, allocations: 4 kB / 490.5 MB, free: 12.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01121, allocations: 0.6875 kB / 490.5 MB, free: 12.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.01122, allocations: 0 / 490.5 MB, free: 12.41 MB / 458.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.0007685/0.01199, allocations: 0.857 MB / 491.4 MB, free: 11.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.01201, allocations: 12.78 kB / 491.4 MB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.0121, allocations: 84.88 kB / 491.5 MB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.01265, allocations: 297.8 kB / 491.8 MB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01268, allocations: 37.38 kB / 491.8 MB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.01272, allocations: 45.72 kB / 491.9 MB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.013, allocations: 292.4 kB / 492.1 MB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.01302, allocations: 4.141 kB / 492.1 MB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.01304, allocations: 20.88 kB / 492.2 MB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.01305, allocations: 19.94 kB / 492.2 MB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.01321, allocations: 139.5 kB / 492.3 MB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.01415, allocations: 0.8488 MB / 493.2 MB, free: 9.723 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.01432, allocations: 162.4 kB / 493.3 MB, free: 9.555 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.01447, allocations: 158.7 kB / 493.5 MB, free: 9.398 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.01449, allocations: 8 kB / 493.5 MB, free: 9.391 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.01451, allocations: 43.19 kB / 493.5 MB, free: 9.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.01451, allocations: 0 / 493.5 MB, free: 9.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002571/0.01477, allocations: 218.2 kB / 493.7 MB, free: 9.121 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.0148, allocations: 61.59 kB / 493.8 MB, free: 9.051 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.015, allocations: 343.3 kB / 494.1 MB, free: 8.703 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01502, allocations: 33.7 kB / 494.2 MB, free: 8.664 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.0151, allocations: 229.5 kB / 494.4 MB, free: 8.438 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.01519, allocations: 154.6 kB / 494.6 MB, free: 8.285 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.01525, allocations: 66.05 kB / 494.6 MB, free: 8.215 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.01534, allocations: 364.4 kB / 495 MB, free: 7.852 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.01539, allocations: 32.73 kB / 495 MB, free: 7.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.888e-05/0.01544, allocations: 45.23 kB / 495 MB, free: 7.777 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.01556, allocations: 133.5 kB / 495.2 MB, free: 7.645 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01556, allocations: 0 / 495.2 MB, free: 7.645 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001781/0.01574, allocations: 183 kB / 495.4 MB, free: 7.461 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01575, allocations: 8 kB / 495.4 MB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.01576, allocations: 3.984 kB / 495.4 MB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.01577, allocations: 3.938 kB / 495.4 MB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.01618, allocations: 199.9 kB / 495.6 MB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.01618, allocations: 0 / 495.6 MB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.01626, allocations: 31.77 kB / 495.6 MB, free: 7.227 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.01627, allocations: 9.562 kB / 495.6 MB, free: 7.219 MB / 458.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 9.747e-05/0.01637, allocations: 136.5 kB / 495.7 MB, free: 7.074 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.01641, allocations: 36.75 kB / 495.8 MB, free: 7.039 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.01646, allocations: 60.8 kB / 495.8 MB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01646, allocations: 4.875 kB / 495.8 MB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01646, allocations: 0 / 495.8 MB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01647, allocations: 2.297 kB / 495.8 MB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.01676, allocations: 293.4 kB / 496.1 MB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01676, allocations: 0 / 496.1 MB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.01714, allocations: 205.7 kB / 496.3 MB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.01714, allocations: 4 kB / 496.3 MB, free: 6.477 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.01716, allocations: 7.984 kB / 496.3 MB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01716, allocations: 4 kB / 496.3 MB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01717, allocations: 0.75 kB / 496.3 MB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.01747, allocations: 363.3 kB / 496.7 MB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.01752, allocations: 55.42 kB / 496.8 MB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01755, allocations: 12 kB / 496.8 MB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.01765, allocations: 11.98 kB / 496.8 MB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.01769, allocations: 25.17 kB / 496.8 MB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.0177, allocations: 8 kB / 496.8 MB, free: 5.988 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01781, allocations: 148.7 kB / 497 MB, free: 5.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01781, allocations: 0.5938 kB / 497 MB, free: 5.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.01803, allocations: 143.7 kB / 497.1 MB, free: 5.699 MB / 458.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 9.488e-05/0.01813, allocations: 97.75 kB / 497.2 MB, free: 5.598 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.01831, allocations: 164.4 kB / 497.4 MB, free: 5.434 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.01832, allocations: 5.125 kB / 497.4 MB, free: 5.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.0184, allocations: 108.8 kB / 497.5 MB, free: 5.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.01873, allocations: 118.8 kB / 497.6 MB, free: 5.215 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.01985, allocations: 0.9597 MB / 498.5 MB, free: 4.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.01993, allocations: 133.6 kB / 498.7 MB, free: 4.102 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.02006, allocations: 48.53 kB / 498.7 MB, free: 4.055 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.02027, allocations: 150.5 kB / 498.9 MB, free: 3.91 MB / 458.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02027, allocations: 0 / 498.9 MB, free: 3.91 MB / 458.7 MB Notification: Performance of Templates: time 0.009217/0.02949, allocations: 6.187 MB / 0.4932 GB, free: 14.21 MB / 474.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 -s gbode -gbm=radauIIA3 -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.5006194189190865]