Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.0009806/0.0009806, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002301, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009779/0.0009779, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.002163, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.945/0.945, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09683/1.042, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7501/0.7501, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3063/1.056, allocations: 49.13 MB / 448.4 MB, free: 6.051 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 4 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/2.012e-05, allocations: 2.312 kB / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001889/0.001909, allocations: 1.463 MB / 451.2 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.003282, allocations: 1.099 MB / 452.3 MB, free: 2.195 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.003308, allocations: 0 / 452.3 MB, free: 2.195 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.003321, allocations: 8.609 kB / 452.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.003358, allocations: 13.77 kB / 452.3 MB, free: 2.18 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.003724, allocations: 185.8 kB / 452.5 MB, free: 2.004 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.049e-05/0.003794, allocations: 28.69 kB / 452.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.003842, allocations: 11.73 kB / 452.5 MB, free: 1.969 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.003975, allocations: 24.42 kB / 452.6 MB, free: 1.945 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.004045, allocations: 15.98 kB / 452.6 MB, free: 1.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.004057, allocations: 0.5 kB / 452.6 MB, free: 1.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.00456, allocations: 436.7 kB / 453 MB, free: 1.504 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.004575, allocations: 7.938 kB / 453 MB, free: 1.496 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.004592, allocations: 4 kB / 453 MB, free: 1.492 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.00487, allocations: 216 kB / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.004886, allocations: 0 / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004887, allocations: 1.969 kB / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.004903, allocations: 0 / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004455/0.005348, allocations: 314.1 kB / 453.5 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.005387, allocations: 8.031 kB / 453.5 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.005414, allocations: 1.5 kB / 453.5 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.005504, allocations: 109.8 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.005514, allocations: 5 kB / 453.7 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.005523, allocations: 384 / 453.7 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.011e-05/0.005603, allocations: 44.97 kB / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.00561, allocations: 192 / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-06/0.005616, allocations: 384 / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.005621, allocations: 3.938 kB / 453.7 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.005648, allocations: 13.36 kB / 453.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.545e-05/0.005743, allocations: 68.94 kB / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.005814, allocations: 27.8 kB / 453.8 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.005835, allocations: 13.73 kB / 453.8 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.006157, allocations: 99.53 kB / 453.9 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.006182, allocations: 34.5 kB / 454 MB, free: 488 kB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.006183, allocations: 0 / 454 MB, free: 488 kB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001083/0.006291, allocations: 44.86 kB / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.006325, allocations: 51.41 kB / 454 MB, free: 376 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.006386, allocations: 114.7 kB / 454.2 MB, free: 248 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.006398, allocations: 25.7 kB / 454.2 MB, free: 216 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.006423, allocations: 84.14 kB / 454.3 MB, free: 128 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.006456, allocations: 7.938 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.006481, allocations: 18.61 kB / 454.3 MB, free: 96 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.006597, allocations: 326.8 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-06/0.006605, allocations: 0.9062 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.006616, allocations: 7.984 kB / 454.6 MB, free: 15.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.006643, allocations: 16.8 kB / 454.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.006646, allocations: 1.188 kB / 454.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.847e-05/0.006694, allocations: 38.53 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.006708, allocations: 8 kB / 454.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006713, allocations: 0.625 kB / 454.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.475e-06/0.006722, allocations: 0.5938 kB / 454.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.006921, allocations: 36.59 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.006925, allocations: 4.531 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.00694, allocations: 8.453 kB / 454.7 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.006944, allocations: 0 / 454.7 MB, free: 15.64 MB / 442.7 MB 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 (4): * Single equations (assignments): 4 * 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 5.85e-05/0.007002, allocations: 110.4 kB / 454.8 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.00701, allocations: 8.812 kB / 454.8 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.007092, allocations: 55.64 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.007095, allocations: 5.219 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.007096, allocations: 0 / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.007102, allocations: 3.938 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.093e-05/0.007162, allocations: 70.61 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007165, allocations: 3.984 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.007254, allocations: 36.8 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-06/0.007261, allocations: 5 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007263, allocations: 0 / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.007267, allocations: 0.625 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007267, allocations: 320 / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007268, allocations: 1.312 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.222e-05/0.00733, allocations: 80.98 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-06/0.007339, allocations: 0 / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.007348, allocations: 0 / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.007359, allocations: 0.5 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.007361, allocations: 1.375 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.446e-05/0.007376, allocations: 24.81 kB / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007376, allocations: 0 / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.007511, allocations: 43.81 kB / 455.2 MB, free: 15.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001733/0.007684, allocations: 156.4 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.388e-05/0.007748, allocations: 21.5 kB / 455.3 MB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.007753, allocations: 4 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.778e-06/0.007763, allocations: 9.766 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.122e-05/0.007854, allocations: 12.59 kB / 455.4 MB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/0.008438, allocations: 151.7 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.008477, allocations: 59.2 kB / 455.6 MB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.372e-05/0.008501, allocations: 5.969 kB / 455.6 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.008551, allocations: 55.38 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.008552, allocations: 0 / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of Templates: time 0.003131/0.01168, allocations: 1.597 MB / 457.2 MB, free: 13.2 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.441808495670557]