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.0008939/0.0008939, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009202/0.0009202, allocations: 165 kB / 23.02 MB, free: 1.551 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.9428/0.9428, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7508/0.7508, allocations: 154.8 MB / 414.7 MB, free: 452 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.112e-06/1.112e-06, allocations: 0 / 0.5206 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.698e-05, allocations: 4.797 kB / 0.5206 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003824/0.003841, allocations: 4.24 MB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.00643, allocations: 2.415 MB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.00663, allocations: 12.56 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.007783, allocations: 0.5197 MB / 0.5276 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.008077, allocations: 256.9 kB / 0.5279 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.008226, allocations: 143.8 kB / 0.528 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005319/0.008758, allocations: 0.8405 MB / 0.5288 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.009029, allocations: 217.8 kB / 0.5291 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.009412, allocations: 463 kB / 0.5295 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.009648, allocations: 251.3 kB / 0.5297 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.009708, allocations: 72 kB / 0.5298 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.00978, allocations: 76 kB / 0.5299 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.009904, allocations: 171.4 kB / 0.53 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.01008, allocations: 267.4 kB / 0.5303 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.01049, allocations: 0.5074 MB / 0.5308 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.01049, allocations: 3.938 kB / 0.5308 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.01049, allocations: 0 / 0.5308 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.0105, allocations: 0 / 0.5308 GB, free: 7.48 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.0009597/0.01146, allocations: 0.9997 MB / 0.5318 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.0115, allocations: 8.031 kB / 0.5318 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.01162, allocations: 120.5 kB / 0.5319 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.01201, allocations: 385.4 kB / 0.5323 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.01203, allocations: 37.38 kB / 0.5323 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.01209, allocations: 48.38 kB / 0.5323 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.01249, allocations: 311.7 kB / 0.5326 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.01251, allocations: 8.078 kB / 0.5326 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.01253, allocations: 16.38 kB / 0.5327 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.01255, allocations: 15.94 kB / 0.5327 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.01283, allocations: 189.8 kB / 0.5329 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01402, allocations: 1.203 MB / 0.534 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.01426, allocations: 208.5 kB / 0.5342 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.01449, allocations: 195.6 kB / 0.5344 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.01451, allocations: 16 kB / 0.5344 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.01453, allocations: 41.39 kB / 0.5345 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.01453, allocations: 0 / 0.5345 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0004248/0.01496, allocations: 332.8 kB / 0.5348 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.01499, allocations: 63.12 kB / 0.5348 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.01531, allocations: 478.7 kB / 0.5353 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.01533, allocations: 29.7 kB / 0.5353 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.01548, allocations: 343.2 kB / 0.5357 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.01556, allocations: 149.8 kB / 0.5358 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.01562, allocations: 67.73 kB / 0.5359 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.01578, allocations: 0.5469 MB / 0.5364 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.01586, allocations: 52.72 kB / 0.5365 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.507e-05/0.01595, allocations: 69.2 kB / 0.5365 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.01615, allocations: 165.2 kB / 0.5367 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01615, allocations: 0 / 0.5367 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002837/0.01643, allocations: 280.6 kB / 0.5369 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.01644, allocations: 4 kB / 0.5369 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.01645, allocations: 3.969 kB / 0.537 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.01646, allocations: 0 / 0.537 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.01674, allocations: 127.8 kB / 0.5371 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.01675, allocations: 4 kB / 0.5371 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.01683, allocations: 31.77 kB / 0.5371 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01684, allocations: 8 kB / 0.5371 GB, free: 0.8164 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.0001053/0.01695, allocations: 176.5 kB / 0.5373 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.017, allocations: 63.61 kB / 0.5373 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/0.01706, allocations: 61.69 kB / 0.5374 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01706, allocations: 4 kB / 0.5374 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01707, allocations: 5.906 kB / 0.5374 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.01707, allocations: 3.984 kB / 0.5374 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.01741, allocations: 432.1 kB / 0.5378 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01741, allocations: 0 / 0.5378 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.01767, allocations: 124.5 kB / 0.5379 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01768, allocations: 4 kB / 0.538 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.0177, allocations: 4.656 kB / 0.538 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.0177, allocations: 4.562 kB / 0.538 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0177, allocations: 0 / 0.538 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.01814, allocations: 0.5053 MB / 0.5385 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.01819, allocations: 55.64 kB / 0.5385 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.01822, allocations: 4 kB / 0.5385 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.01831, allocations: 8.656 kB / 0.5385 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.01836, allocations: 32.45 kB / 0.5386 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.01837, allocations: 12 kB / 0.5386 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001924/0.01856, allocations: 311.8 kB / 0.5389 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01856, allocations: 0 / 0.5389 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002398/0.0188, allocations: 152.2 kB / 0.539 GB, free: 14.82 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 9.797e-05/0.0189, allocations: 119.4 kB / 0.5391 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.01915, allocations: 199.4 kB / 0.5393 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01915, allocations: 0.9375 kB / 0.5393 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.01927, allocations: 123.6 kB / 0.5394 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.01963, allocations: 104.1 kB / 0.5395 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.0209, allocations: 1.029 MB / 0.5405 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.239e-05/0.02097, allocations: 125.8 kB / 0.5407 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.962e-05/0.02106, allocations: 50.42 kB / 0.5407 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.02113, allocations: 32.5 kB / 0.5407 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/0.02113, allocations: 0 / 0.5407 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.007343/0.02848, allocations: 4.991 MB / 0.5456 GB, free: 8.297 MB / 0.5105 GB " [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.7700489768758416]