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.001009/0.001009, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001014/0.001014, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9368/0.9368, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7566/0.7566, allocations: 154.6 MB / 415.6 MB, free: 0.5078 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 3.146e-06/3.146e-06, allocations: 0 / 0.5216 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.958e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005426/0.005465, allocations: 4.134 MB / 0.5256 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003391/0.008856, allocations: 2.38 MB / 0.528 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.009153, allocations: 8.781 kB / 0.528 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.01067, allocations: 0.5165 MB / 0.5285 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.01116, allocations: 254.8 kB / 0.5287 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.01138, allocations: 141.3 kB / 0.5288 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007515/0.01213, allocations: 0.8444 MB / 0.5297 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.01248, allocations: 211 kB / 0.5299 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005504/0.01303, allocations: 459.7 kB / 0.5303 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.01336, allocations: 256.1 kB / 0.5306 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.258e-05/0.01345, allocations: 72 kB / 0.5306 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-05/0.01354, allocations: 76 kB / 0.5307 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.0137, allocations: 172 kB / 0.5309 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.01394, allocations: 268.1 kB / 0.5311 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.01452, allocations: 0.506 MB / 0.5316 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.01453, allocations: 0.625 kB / 0.5316 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01453, allocations: 0 / 0.5316 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.01453, allocations: 0.5 kB / 0.5316 GB, free: 7.602 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.001215/0.01575, allocations: 1.01 MB / 0.5326 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.01578, allocations: 12.03 kB / 0.5326 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.01593, allocations: 116.5 kB / 0.5327 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.01638, allocations: 371.7 kB / 0.5331 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.01642, allocations: 37.38 kB / 0.5331 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.01648, allocations: 49.41 kB / 0.5332 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.01691, allocations: 279.7 kB / 0.5334 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.01693, allocations: 5.297 kB / 0.5334 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.01696, allocations: 20.38 kB / 0.5334 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.01698, allocations: 15.94 kB / 0.5335 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.01725, allocations: 154 kB / 0.5336 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.01879, allocations: 1.108 MB / 0.5347 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.01919, allocations: 191.9 kB / 0.5349 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.01952, allocations: 173.5 kB / 0.535 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.01953, allocations: 8.688 kB / 0.535 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.01956, allocations: 45.39 kB / 0.5351 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.795e-06/0.01956, allocations: 1.406 kB / 0.5351 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0003742/0.01993, allocations: 293.8 kB / 0.5354 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.01997, allocations: 59.19 kB / 0.5354 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.02026, allocations: 467.2 kB / 0.5359 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.02028, allocations: 34.97 kB / 0.5359 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.02044, allocations: 351.2 kB / 0.5362 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.535e-05/0.02052, allocations: 154.7 kB / 0.5364 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.02059, allocations: 68.34 kB / 0.5365 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.02074, allocations: 0.5508 MB / 0.537 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.02079, allocations: 41.33 kB / 0.537 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.02084, allocations: 53.16 kB / 0.5371 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.02098, allocations: 142.7 kB / 0.5372 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.02098, allocations: 0 / 0.5372 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002248/0.02121, allocations: 252.6 kB / 0.5375 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.02122, allocations: 8 kB / 0.5375 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.02123, allocations: 0.9688 kB / 0.5375 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.824e-06/0.02123, allocations: 0 / 0.5375 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.02151, allocations: 125 kB / 0.5376 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.02152, allocations: 7.938 kB / 0.5376 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.02162, allocations: 24.44 kB / 0.5376 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.02163, allocations: 8.562 kB / 0.5376 GB, free: 1.254 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.0003884/0.02202, allocations: 177.9 kB / 0.5378 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.02211, allocations: 63.67 kB / 0.5379 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.02219, allocations: 56.8 kB / 0.5379 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02219, allocations: 4 kB / 0.5379 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.02219, allocations: 9.438 kB / 0.5379 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.0222, allocations: 3.938 kB / 0.5379 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.02252, allocations: 340.8 kB / 0.5383 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.02252, allocations: 4 kB / 0.5383 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.02279, allocations: 126.3 kB / 0.5384 GB, free: 464 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.0228, allocations: 0 / 0.5384 GB, free: 464 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.02281, allocations: 8 kB / 0.5384 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.02281, allocations: 0 / 0.5384 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.02281, allocations: 0 / 0.5384 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.02319, allocations: 481.2 kB / 0.5388 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.02324, allocations: 51.64 kB / 0.5389 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.02327, allocations: 11.94 kB / 0.5389 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.02337, allocations: 8 kB / 0.5389 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.02341, allocations: 23.95 kB / 0.5389 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.02342, allocations: 4.812 kB / 0.5389 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001801/0.0236, allocations: 298.9 kB / 0.5392 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.0236, allocations: 1.281 kB / 0.5392 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002722/0.02387, allocations: 155.6 kB / 0.5394 GB, free: 15.41 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.0001098/0.02398, allocations: 116.7 kB / 0.5395 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.02418, allocations: 171.4 kB / 0.5396 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.02419, allocations: 0 / 0.5396 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.02428, allocations: 120 kB / 0.5398 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.02466, allocations: 102.8 kB / 0.5399 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.02585, allocations: 1.021 MB / 0.5409 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.548e-05/0.02592, allocations: 129.8 kB / 0.541 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.02603, allocations: 38.3 kB / 0.541 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.02621, allocations: 166.1 kB / 0.5412 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/0.02621, allocations: 0 / 0.5412 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.007588/0.0338, allocations: 5.529 MB / 0.5466 GB, free: 8.27 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.5598271950148046]