Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008578/0.0008578, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.000952/0.000952, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9554/0.9554, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8026/0.8026, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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 179] 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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5204 GB, free: 1.297 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.635e-05, allocations: 6.031 kB / 0.5204 GB, free: 1.293 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002328/0.002354, allocations: 1.476 MB / 0.5219 GB, free: 15.82 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.005854, allocations: 2.784 MB / 0.5246 GB, free: 13.03 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.0059, allocations: 0 / 0.5246 GB, free: 13.03 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.005924, allocations: 4.5 kB / 0.5246 GB, free: 13.03 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.005983, allocations: 16.55 kB / 0.5246 GB, free: 13.01 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.00878, allocations: 1.611 MB / 0.5262 GB, free: 11.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.008869, allocations: 49.08 kB / 0.5262 GB, free: 11.38 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.008914, allocations: 3.938 kB / 0.5262 GB, free: 11.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.008956, allocations: 19.92 kB / 0.5263 GB, free: 11.36 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.174e-05/0.008978, allocations: 8 kB / 0.5263 GB, free: 11.35 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.008993, allocations: 0.9375 kB / 0.5263 GB, free: 11.35 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.01058, allocations: 1.455 MB / 0.5277 GB, free: 9.895 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.0106, allocations: 11.94 kB / 0.5277 GB, free: 9.883 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.01063, allocations: 12.64 kB / 0.5277 GB, free: 9.871 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.01202, allocations: 1.247 MB / 0.5289 GB, free: 8.621 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.01202, allocations: 0.9375 kB / 0.5289 GB, free: 8.621 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01203, allocations: 0 / 0.5289 GB, free: 8.621 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.01203, allocations: 0 / 0.5289 GB, free: 8.621 MB / 458.7 MB 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.0006186/0.01265, allocations: 0.5596 MB / 0.5295 GB, free: 8.027 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.0127, allocations: 8.031 kB / 0.5295 GB, free: 8.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.01277, allocations: 124.1 kB / 0.5296 GB, free: 7.898 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.01291, allocations: 243.6 kB / 0.5298 GB, free: 7.633 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.01298, allocations: 250.7 kB / 0.5301 GB, free: 7.387 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.01305, allocations: 238.8 kB / 0.5303 GB, free: 7.152 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.006e-05/0.01312, allocations: 145.5 kB / 0.5304 GB, free: 7.004 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.01315, allocations: 122.5 kB / 0.5306 GB, free: 6.887 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/0.01322, allocations: 246.5 kB / 0.5308 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.01329, allocations: 238.4 kB / 0.531 GB, free: 6.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.01335, allocations: 242.4 kB / 0.5313 GB, free: 6.172 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.01362, allocations: 0.5875 MB / 0.5318 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.01373, allocations: 265.4 kB / 0.5321 GB, free: 5.277 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.01377, allocations: 126.9 kB / 0.5322 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.0138, allocations: 119.2 kB / 0.5323 GB, free: 5.031 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.01385, allocations: 158.3 kB / 0.5325 GB, free: 4.867 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.01385, allocations: 4 kB / 0.5325 GB, free: 4.863 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.829e-05/0.01392, allocations: 29.64 kB / 0.5325 GB, free: 4.828 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.01399, allocations: 178.5 kB / 0.5327 GB, free: 4.641 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.01413, allocations: 191.8 kB / 0.5328 GB, free: 4.441 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.01414, allocations: 25.7 kB / 0.5329 GB, free: 4.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.01419, allocations: 142.8 kB / 0.533 GB, free: 4.266 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.0142, allocations: 0 / 0.533 GB, free: 4.266 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.01423, allocations: 23.36 kB / 0.533 GB, free: 4.234 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.01436, allocations: 0.4884 MB / 0.5335 GB, free: 3.734 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.01438, allocations: 0 / 0.5335 GB, free: 3.734 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.01439, allocations: 4 kB / 0.5335 GB, free: 3.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.01443, allocations: 23.7 kB / 0.5335 GB, free: 3.703 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01443, allocations: 3.438 kB / 0.5335 GB, free: 3.703 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001176/0.01455, allocations: 45.64 kB / 0.5336 GB, free: 3.652 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01456, allocations: 4 kB / 0.5336 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.01459, allocations: 4 kB / 0.5336 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.0146, allocations: 0 / 0.5336 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.01461, allocations: 3.938 kB / 0.5336 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01461, allocations: 0 / 0.5336 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.01463, allocations: 19.81 kB / 0.5336 GB, free: 3.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.01464, allocations: 0 / 0.5336 GB, free: 3.621 MB / 458.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 (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.0001007/0.01474, allocations: 274.8 kB / 0.5339 GB, free: 3.344 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.01479, allocations: 152.9 kB / 0.534 GB, free: 3.188 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.01485, allocations: 160.6 kB / 0.5342 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.32e-05/0.01492, allocations: 268.1 kB / 0.5344 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.302e-05/0.01499, allocations: 276 kB / 0.5347 GB, free: 2.477 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.586e-05/0.01506, allocations: 264.1 kB / 0.5349 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.01525, allocations: 0.4961 MB / 0.5354 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.131e-05/0.01529, allocations: 152.8 kB / 0.5356 GB, free: 1.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.01533, allocations: 148.9 kB / 0.5357 GB, free: 1.367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.729e-05/0.01541, allocations: 276 kB / 0.536 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.23e-05/0.01548, allocations: 264.1 kB / 0.5362 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.98e-05/0.01556, allocations: 268 kB / 0.5365 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.583e-05/0.01563, allocations: 268.1 kB / 0.5367 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.0158, allocations: 455.8 kB / 0.5372 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.01584, allocations: 152.8 kB / 0.5373 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-05/0.01593, allocations: 268 kB / 0.5376 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.01601, allocations: 148.9 kB / 0.5377 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.01608, allocations: 272 kB / 0.538 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.01613, allocations: 153.6 kB / 0.5381 GB, free: 14.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.01619, allocations: 139.2 kB / 0.5383 GB, free: 14.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01619, allocations: 2.031 kB / 0.5383 GB, free: 14.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.01669, allocations: 291 kB / 0.5385 GB, free: 14.38 MB / 474.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 (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.0008136/0.0175, allocations: 0.6101 MB / 0.5391 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.01761, allocations: 50.56 kB / 0.5392 GB, free: 13.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01761, allocations: 0 / 0.5392 GB, free: 13.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.01761, allocations: 1.219 kB / 0.5392 GB, free: 13.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.01798, allocations: 0.7152 MB / 0.5399 GB, free: 12.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.0183, allocations: 286.8 kB / 0.5402 GB, free: 12.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.01835, allocations: 55.95 kB / 0.5402 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.273e-05/0.01836, allocations: 1.969 kB / 0.5402 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.01838, allocations: 12.5 kB / 0.5402 GB, free: 12.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/0.01838, allocations: 0 / 0.5402 GB, free: 12.6 MB / 474.7 MB Notification: Performance of Templates: time 0.007228/0.02561, allocations: 5.802 MB / 0.5459 GB, free: 6.984 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8398033031262457]