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.001941/0.001941, allocations: 93.47 kB / 19.44 MB, free: 336 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.002238/0.002238, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.544/1.544, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.325/1.325, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 178] 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.463e-06/1.463e-06, allocations: 0 / 0.5197 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.273e-05, allocations: 4.438 kB / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.007278/0.007311, allocations: 4.205 MB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004765/0.01208, allocations: 2.407 MB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004737/0.01255, allocations: 8 kB / 0.5261 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.01454, allocations: 0.5036 MB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00075/0.01529, allocations: 264.8 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.0156, allocations: 136.5 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.01677, allocations: 0.8414 MB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.01723, allocations: 215 kB / 0.528 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008664/0.01809, allocations: 466.2 kB / 0.5285 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.01856, allocations: 251.3 kB / 0.5287 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.01868, allocations: 72 kB / 0.5288 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.01882, allocations: 76 kB / 0.5289 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.01905, allocations: 179.4 kB / 0.529 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.01941, allocations: 263.4 kB / 0.5293 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.02094, allocations: 1.005 MB / 0.5303 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.02095, allocations: 0 / 0.5303 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.472e-06/0.02095, allocations: 0 / 0.5303 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.02097, allocations: 3.031 kB / 0.5303 GB, free: 7.645 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.00192/0.02289, allocations: 1.046 MB / 0.5313 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.02293, allocations: 10.78 kB / 0.5313 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.02315, allocations: 120.4 kB / 0.5314 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.02385, allocations: 398.3 kB / 0.5318 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.02389, allocations: 33.38 kB / 0.5318 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-05/0.02398, allocations: 48.38 kB / 0.5319 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/0.02481, allocations: 409.5 kB / 0.5323 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.02484, allocations: 8.141 kB / 0.5323 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.02488, allocations: 16.38 kB / 0.5323 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.02491, allocations: 15.94 kB / 0.5323 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.02567, allocations: 343.8 kB / 0.5326 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.02872, allocations: 1.567 MB / 0.5342 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/0.02937, allocations: 326.2 kB / 0.5345 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.02991, allocations: 283.8 kB / 0.5348 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.02995, allocations: 8 kB / 0.5348 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.03, allocations: 41.16 kB / 0.5348 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.615e-06/0.03, allocations: 1.406 kB / 0.5348 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.001107/0.03111, allocations: 485.8 kB / 0.5353 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.03117, allocations: 59.34 kB / 0.5353 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/0.03199, allocations: 0.5508 MB / 0.5359 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.03204, allocations: 34.47 kB / 0.5359 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.03241, allocations: 359.3 kB / 0.5362 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.03261, allocations: 163.3 kB / 0.5364 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.03278, allocations: 79.73 kB / 0.5365 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000742/0.03352, allocations: 0.5749 MB / 0.537 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.03377, allocations: 110.2 kB / 0.5371 GB, free: 448 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.03403, allocations: 117.2 kB / 0.5372 GB, free: 332 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.03458, allocations: 301.2 kB / 0.5375 GB, free: 28 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.03458, allocations: 0.9688 kB / 0.5375 GB, free: 28 kB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008647/0.03545, allocations: 392.5 kB / 0.5379 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.03548, allocations: 4.594 kB / 0.5379 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.03549, allocations: 0 / 0.5379 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.03552, allocations: 4.594 kB / 0.5379 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.03617, allocations: 132.5 kB / 0.538 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.03618, allocations: 0.5625 kB / 0.538 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.03643, allocations: 33.06 kB / 0.5381 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.03645, allocations: 12 kB / 0.5381 GB, free: 15.46 MB / 0.5105 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.0003534/0.03681, allocations: 220.5 kB / 0.5383 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.03692, allocations: 65.05 kB / 0.5384 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.03707, allocations: 56.8 kB / 0.5384 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.03708, allocations: 4 kB / 0.5384 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.03709, allocations: 6.375 kB / 0.5384 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.0371, allocations: 4 kB / 0.5384 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.03835, allocations: 0.5432 MB / 0.539 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.03836, allocations: 0 / 0.539 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/0.03914, allocations: 123.9 kB / 0.5391 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.03915, allocations: 5.312 kB / 0.5391 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.03919, allocations: 8 kB / 0.5391 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.0392, allocations: 7.938 kB / 0.5391 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.0392, allocations: 0 / 0.5391 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.0408, allocations: 0.688 MB / 0.5398 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.04098, allocations: 59.53 kB / 0.5398 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.04106, allocations: 10.06 kB / 0.5398 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.04134, allocations: 11.94 kB / 0.5398 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.04146, allocations: 27.89 kB / 0.5399 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.04149, allocations: 12 kB / 0.5399 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006873/0.04218, allocations: 363 kB / 0.5402 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.04218, allocations: 0.9688 kB / 0.5402 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008152/0.04299, allocations: 151.7 kB / 0.5404 GB, free: 13.05 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.000285/0.04328, allocations: 112.6 kB / 0.5405 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.04435, allocations: 319.4 kB / 0.5408 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.04436, allocations: 1.344 kB / 0.5408 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.04486, allocations: 195.4 kB / 0.541 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009697/0.04583, allocations: 101.1 kB / 0.5411 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.04925, allocations: 1.098 MB / 0.5421 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.04971, allocations: 265.9 kB / 0.5424 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002768/0.04998, allocations: 41.45 kB / 0.5424 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.05014, allocations: 42.03 kB / 0.5425 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.963e-06/0.05014, allocations: 0 / 0.5425 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.01733/0.06747, allocations: 4.982 MB / 0.5473 GB, free: 6.137 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: 6.197333749965765]