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.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.001418/0.001418, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001757/0.001757, allocations: 164.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.513/1.513, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.207/1.207, allocations: 154.6 MB / 413.7 MB, free: 5.277 MB / 382.1 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 178] 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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.639e-05/3.897e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.004122/0.004161, allocations: 1.415 MB / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007054/0.01122, allocations: 2.649 MB / 0.6226 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.01127, allocations: 0 / 0.6226 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.0113, allocations: 3.984 kB / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.01142, allocations: 19.8 kB / 0.6226 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006627/0.01805, allocations: 1.629 MB / 0.6242 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.01819, allocations: 39.69 kB / 0.6242 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.01825, allocations: 3.984 kB / 0.6242 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.01832, allocations: 19.92 kB / 0.6243 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.01836, allocations: 12 kB / 0.6243 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.01838, allocations: 0 / 0.6243 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.02201, allocations: 1.462 MB / 0.6257 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.02203, allocations: 3.938 kB / 0.6257 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.02207, allocations: 11.94 kB / 0.6257 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.02467, allocations: 1.247 MB / 0.6269 GB, free: 12.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.02468, allocations: 0 / 0.6269 GB, free: 12.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.02468, allocations: 0 / 0.6269 GB, free: 12.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.02468, allocations: 0 / 0.6269 GB, free: 12.03 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000875/0.02556, allocations: 468.1 kB / 0.6274 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.02561, allocations: 12.03 kB / 0.6274 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.77e-05/0.0257, allocations: 84.17 kB / 0.6275 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.02592, allocations: 200.9 kB / 0.6277 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-05/0.02601, allocations: 150.9 kB / 0.6278 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.0261, allocations: 150.9 kB / 0.6279 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.02621, allocations: 109.5 kB / 0.6281 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.02626, allocations: 79.47 kB / 0.6281 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.02635, allocations: 154.7 kB / 0.6283 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.6e-05/0.02644, allocations: 150.6 kB / 0.6284 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/0.02652, allocations: 150.6 kB / 0.6286 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.02696, allocations: 421.5 kB / 0.629 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.02709, allocations: 169.2 kB / 0.6291 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.02715, allocations: 84.14 kB / 0.6292 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.02721, allocations: 75.28 kB / 0.6293 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.726e-05/0.02729, allocations: 109.8 kB / 0.6294 GB, free: 9.395 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.02729, allocations: 0 / 0.6294 GB, free: 9.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001135/0.02741, allocations: 33.59 kB / 0.6294 GB, free: 9.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.02751, allocations: 134.6 kB / 0.6295 GB, free: 9.211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.02772, allocations: 132.3 kB / 0.6297 GB, free: 9.074 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.02774, allocations: 25.7 kB / 0.6297 GB, free: 9.043 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.02783, allocations: 100.1 kB / 0.6298 GB, free: 8.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.02783, allocations: 0 / 0.6298 GB, free: 8.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.02789, allocations: 13.72 kB / 0.6298 GB, free: 8.922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.02807, allocations: 322.8 kB / 0.6301 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.02811, allocations: 4 kB / 0.6301 GB, free: 8.594 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.02813, allocations: 4 kB / 0.6301 GB, free: 8.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.02818, allocations: 12.86 kB / 0.6301 GB, free: 8.574 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.02818, allocations: 0 / 0.6301 GB, free: 8.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001799/0.02836, allocations: 53.56 kB / 0.6302 GB, free: 8.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.02838, allocations: 4 kB / 0.6302 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.02841, allocations: 4 kB / 0.6302 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.02843, allocations: 3.938 kB / 0.6302 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.02843, allocations: 0 / 0.6302 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.02844, allocations: 4.062 kB / 0.6302 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.02848, allocations: 7.953 kB / 0.6302 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.02849, allocations: 4 kB / 0.6302 GB, free: 8.488 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000144/0.02864, allocations: 186 kB / 0.6304 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.02874, allocations: 109 kB / 0.6305 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.02881, allocations: 108.7 kB / 0.6306 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/0.02892, allocations: 184.2 kB / 0.6308 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001119/0.02903, allocations: 184.2 kB / 0.6309 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.704e-05/0.02913, allocations: 184.2 kB / 0.6311 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.02946, allocations: 356.9 kB / 0.6315 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.256e-05/0.02952, allocations: 113 kB / 0.6316 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.02958, allocations: 105 kB / 0.6317 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.02969, allocations: 184.2 kB / 0.6318 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.866e-05/0.02978, allocations: 180.3 kB / 0.632 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.907e-05/0.02988, allocations: 180.2 kB / 0.6322 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001041/0.02999, allocations: 188.2 kB / 0.6324 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.03021, allocations: 311.7 kB / 0.6327 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.03029, allocations: 112.9 kB / 0.6328 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.0304, allocations: 176.5 kB / 0.6329 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.03054, allocations: 108.9 kB / 0.633 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.03066, allocations: 188.2 kB / 0.6332 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.03073, allocations: 108.9 kB / 0.6333 GB, free: 5.102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001052/0.03083, allocations: 103.2 kB / 0.6334 GB, free: 5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.03083, allocations: 0 / 0.6334 GB, free: 5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001338/0.03217, allocations: 291 kB / 0.6337 GB, free: 4.715 MB / 0.545 GB 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 (0): * Single equations (assignments): 0 * 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.001739/0.03391, allocations: 0.5636 MB / 0.6343 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.03406, allocations: 37.7 kB / 0.6343 GB, free: 4.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.03407, allocations: 4.062 kB / 0.6343 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.03407, allocations: 0 / 0.6343 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.03474, allocations: 469.8 kB / 0.6347 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.03521, allocations: 215.9 kB / 0.6349 GB, free: 3.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.234e-05/0.0353, allocations: 71.33 kB / 0.635 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.716e-05/0.03532, allocations: 0 / 0.635 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.03534, allocations: 12.5 kB / 0.635 GB, free: 3.293 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.03534, allocations: 0 / 0.635 GB, free: 3.293 MB / 0.545 GB Notification: Performance of Templates: time 0.01595/0.05129, allocations: 5.743 MB / 0.6406 GB, free: 13.61 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.354033205658197] Failed to read output from testmodel.py, exit status != 0: 0.06345565244555473 0.086607525 0.056988950000000003 Calling exit ...