Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001945/0.001945, allocations: 88.72 kB / 19.44 MB, free: 356 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.002557/0.002557, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.45/1.45, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.229/1.229, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5197 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.064e-05, allocations: 6.656 kB / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005065/0.005096, allocations: 2.836 MB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003761/0.008857, allocations: 1.952 MB / 0.5244 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.009149, allocations: 7.938 kB / 0.5244 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.01087, allocations: 479.3 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.01129, allocations: 148.7 kB / 0.525 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.01145, allocations: 64.67 kB / 0.525 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006584/0.01211, allocations: 460.8 kB / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.01236, allocations: 101.2 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.01289, allocations: 247.4 kB / 0.5258 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.01314, allocations: 127.6 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.0132, allocations: 33.34 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.658e-05/0.01328, allocations: 36 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.01342, allocations: 103.6 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.01362, allocations: 139.7 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.01431, allocations: 0.5388 MB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01432, allocations: 7.875 kB / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01432, allocations: 0 / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.01433, allocations: 0 / 0.5268 GB, free: 11.24 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001241/0.01557, allocations: 0.6315 MB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.01563, allocations: 14.78 kB / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.01578, allocations: 60.66 kB / 0.5274 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.01642, allocations: 323.9 kB / 0.5278 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.01645, allocations: 16.88 kB / 0.5278 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.01649, allocations: 16.38 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.01697, allocations: 201.8 kB / 0.528 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.01698, allocations: 4.125 kB / 0.528 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.01701, allocations: 12.38 kB / 0.528 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.01702, allocations: 8.875 kB / 0.528 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.01744, allocations: 162.8 kB / 0.5282 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.01871, allocations: 0.6337 MB / 0.5288 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.01905, allocations: 143.3 kB / 0.5289 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.01928, allocations: 106 kB / 0.529 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.0193, allocations: 4 kB / 0.529 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.01934, allocations: 37 kB / 0.5291 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.01934, allocations: 0 / 0.5291 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0007065/0.02004, allocations: 263.6 kB / 0.5293 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.02009, allocations: 51.41 kB / 0.5294 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.02064, allocations: 396.8 kB / 0.5297 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.02067, allocations: 29.7 kB / 0.5298 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.02085, allocations: 208.4 kB / 0.53 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.02093, allocations: 67.42 kB / 0.53 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.021, allocations: 33.72 kB / 0.5301 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.02121, allocations: 346.7 kB / 0.5304 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.02137, allocations: 55.97 kB / 0.5304 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.02153, allocations: 65.8 kB / 0.5305 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.02198, allocations: 135.3 kB / 0.5306 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02198, allocations: 0 / 0.5306 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004466/0.02243, allocations: 213.4 kB / 0.5308 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.02245, allocations: 4 kB / 0.5308 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.02245, allocations: 0 / 0.5308 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.02247, allocations: 3.219 kB / 0.5308 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.02275, allocations: 63.89 kB / 0.5309 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.02276, allocations: 4 kB / 0.5309 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.02291, allocations: 15.83 kB / 0.5309 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.02292, allocations: 8 kB / 0.5309 GB, free: 6.824 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 (20): * Single equations (assignments): 20 * 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.0001919/0.02312, allocations: 161.8 kB / 0.5311 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.02319, allocations: 39.03 kB / 0.5311 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.02327, allocations: 39.41 kB / 0.5312 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.02328, allocations: 0 / 0.5312 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.02328, allocations: 0 / 0.5312 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.02329, allocations: 7.984 kB / 0.5312 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.02372, allocations: 273 kB / 0.5314 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.02372, allocations: 0 / 0.5314 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.024, allocations: 55.89 kB / 0.5315 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.024, allocations: 3.812 kB / 0.5315 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.02402, allocations: 8 kB / 0.5315 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.02403, allocations: 0 / 0.5315 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02403, allocations: 0 / 0.5315 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.02474, allocations: 389.4 kB / 0.5319 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.02482, allocations: 31.77 kB / 0.5319 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.02487, allocations: 8 kB / 0.5319 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.02504, allocations: 13.02 kB / 0.5319 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.02509, allocations: 11.97 kB / 0.5319 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.0251, allocations: 4 kB / 0.5319 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003807/0.02548, allocations: 289 kB / 0.5322 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02548, allocations: 0 / 0.5322 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003427/0.02582, allocations: 75.84 kB / 0.5323 GB, free: 5.398 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001654/0.02599, allocations: 111.8 kB / 0.5324 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.02639, allocations: 140.3 kB / 0.5325 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0264, allocations: 0.5625 kB / 0.5325 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.02658, allocations: 81.17 kB / 0.5326 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.02713, allocations: 87.86 kB / 0.5327 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.02856, allocations: 0.6888 MB / 0.5334 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.0288, allocations: 192.6 kB / 0.5335 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.02892, allocations: 29.66 kB / 0.5336 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.029, allocations: 24.5 kB / 0.5336 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of SimCode: time 1.463e-06/0.029, allocations: 3.938 kB / 0.5336 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of Templates: time 0.009286/0.03828, allocations: 3.646 MB / 0.5372 GB, free: 0.6445 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0329175849910825]