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.0008905/0.0008905, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0008916/0.0008916, allocations: 173 kB / 23.5 MB, free: 1.055 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.914/0.914, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.7823/0.7823, allocations: 154.6 MB / 414.9 MB, free: 0.707 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.493e-06/1.493e-06, allocations: 0 / 0.5204 GB, free: 2.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.193e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00487/0.004902, allocations: 4.221 MB / 0.5245 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.008267, allocations: 2.41 MB / 0.5269 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.008597, allocations: 12.88 kB / 0.5269 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.01009, allocations: 0.5031 MB / 0.5274 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.01049, allocations: 261.1 kB / 0.5276 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.0107, allocations: 135.8 kB / 0.5278 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007589/0.01146, allocations: 0.8418 MB / 0.5286 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.0118, allocations: 215 kB / 0.5288 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006714/0.01247, allocations: 467.9 kB / 0.5292 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.01283, allocations: 251.3 kB / 0.5295 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.797e-05/0.01292, allocations: 76 kB / 0.5295 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.013, allocations: 72.69 kB / 0.5296 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.01314, allocations: 171.4 kB / 0.5298 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.01335, allocations: 270.5 kB / 0.53 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004853/0.01384, allocations: 0.5061 MB / 0.5305 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01384, allocations: 0 / 0.5305 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01384, allocations: 0 / 0.5305 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.01386, allocations: 3.938 kB / 0.5305 GB, free: 8.082 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.001085/0.01494, allocations: 0.9982 MB / 0.5315 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.01498, allocations: 12.03 kB / 0.5315 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.01513, allocations: 112.5 kB / 0.5316 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.01575, allocations: 387.3 kB / 0.532 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.01578, allocations: 33.38 kB / 0.532 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.01583, allocations: 51.34 kB / 0.5321 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.01628, allocations: 311.7 kB / 0.5324 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.0163, allocations: 12.12 kB / 0.5324 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.01633, allocations: 20.38 kB / 0.5324 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.01634, allocations: 15.94 kB / 0.5324 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.01665, allocations: 185.8 kB / 0.5326 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.01805, allocations: 1.198 MB / 0.5338 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.01837, allocations: 209.5 kB / 0.534 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.01863, allocations: 194.6 kB / 0.5341 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.01864, allocations: 9.844 kB / 0.5342 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.01867, allocations: 37.39 kB / 0.5342 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.01867, allocations: 0 / 0.5342 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0004942/0.01917, allocations: 339.2 kB / 0.5345 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.01921, allocations: 63.12 kB / 0.5346 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.01957, allocations: 474.7 kB / 0.535 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.0196, allocations: 37.7 kB / 0.5351 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.01976, allocations: 352.5 kB / 0.5354 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/0.01985, allocations: 142.7 kB / 0.5355 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.01993, allocations: 67.72 kB / 0.5356 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.02009, allocations: 0.543 MB / 0.5361 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.02019, allocations: 61.36 kB / 0.5362 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.29e-05/0.02028, allocations: 61.84 kB / 0.5363 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.0205, allocations: 169.2 kB / 0.5364 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.0205, allocations: 1.5 kB / 0.5364 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003097/0.02081, allocations: 280.6 kB / 0.5367 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.02083, allocations: 8 kB / 0.5367 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.02083, allocations: 3.984 kB / 0.5367 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.02085, allocations: 0.9688 kB / 0.5367 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.02115, allocations: 128.4 kB / 0.5368 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.02116, allocations: 4.594 kB / 0.5368 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.926e-05/0.02126, allocations: 23.78 kB / 0.5368 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.02127, allocations: 12.66 kB / 0.5369 GB, free: 1.41 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.0001286/0.0214, allocations: 177.1 kB / 0.537 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.02146, allocations: 65.14 kB / 0.5371 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.02153, allocations: 56.8 kB / 0.5371 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.02153, allocations: 7.938 kB / 0.5371 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.02154, allocations: 3.938 kB / 0.5372 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02155, allocations: 1.594 kB / 0.5372 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.02195, allocations: 440.1 kB / 0.5376 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02195, allocations: 0 / 0.5376 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.02225, allocations: 126.3 kB / 0.5377 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.02225, allocations: 0 / 0.5377 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.02228, allocations: 12 kB / 0.5377 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.02228, allocations: 0 / 0.5377 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02228, allocations: 0 / 0.5377 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.02278, allocations: 0.4992 MB / 0.5382 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.02284, allocations: 53.66 kB / 0.5382 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.02287, allocations: 8 kB / 0.5383 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.02298, allocations: 12 kB / 0.5383 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.02304, allocations: 31.88 kB / 0.5383 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.02305, allocations: 8 kB / 0.5383 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002199/0.02327, allocations: 315 kB / 0.5386 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.02327, allocations: 5.312 kB / 0.5386 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004266/0.02369, allocations: 147.6 kB / 0.5387 GB, free: 15.42 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.0001175/0.02381, allocations: 115.4 kB / 0.5389 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.02409, allocations: 203.4 kB / 0.5391 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02409, allocations: 0 / 0.5391 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.02422, allocations: 125.6 kB / 0.5392 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.02466, allocations: 102.4 kB / 0.5393 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.02613, allocations: 1.035 MB / 0.5403 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.564e-05/0.02621, allocations: 129.8 kB / 0.5404 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.02633, allocations: 39.39 kB / 0.5404 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.0264, allocations: 32.5 kB / 0.5405 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/0.0264, allocations: 1.062 kB / 0.5405 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.00777/0.03417, allocations: 4.988 MB / 0.5453 GB, free: 8.891 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.690236679976806]