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.001474/0.001474, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001757/0.001757, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.961/0.961, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7956/0.7956, allocations: 154.6 MB / 415.6 MB, free: 0.5 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.773e-06/1.773e-06, allocations: 0 / 0.5216 GB, free: 1.816 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.975e-05, allocations: 3.938 kB / 0.5216 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002647/0.002667, allocations: 1.467 MB / 0.5231 GB, free: 368 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.007246, allocations: 2.741 MB / 0.5257 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.007303, allocations: 0 / 0.5257 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.007326, allocations: 6.312 kB / 0.5257 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.00739, allocations: 11.91 kB / 0.5258 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.01123, allocations: 1.61 MB / 0.5273 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.01134, allocations: 48.17 kB / 0.5274 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.01138, allocations: 6.453 kB / 0.5274 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.01142, allocations: 19.92 kB / 0.5274 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.868e-05/0.01145, allocations: 15.94 kB / 0.5274 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.01146, allocations: 0 / 0.5274 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.01372, allocations: 1.458 MB / 0.5288 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.01374, allocations: 6.438 kB / 0.5288 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.01377, allocations: 15.92 kB / 0.5289 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.01563, allocations: 1.251 MB / 0.5301 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01563, allocations: 0 / 0.5301 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01563, allocations: 0 / 0.5301 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.01564, allocations: 0 / 0.5301 GB, free: 9.195 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006622/0.0163, allocations: 0.5609 MB / 0.5306 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.01633, allocations: 9.812 kB / 0.5306 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.01639, allocations: 124.1 kB / 0.5308 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.01652, allocations: 239.7 kB / 0.531 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/0.01659, allocations: 242.8 kB / 0.5312 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.01665, allocations: 242.7 kB / 0.5314 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.548e-05/0.01672, allocations: 150.4 kB / 0.5316 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.01675, allocations: 119.4 kB / 0.5317 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/0.01682, allocations: 247.4 kB / 0.5319 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.294e-05/0.01689, allocations: 242.3 kB / 0.5322 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.262e-05/0.01695, allocations: 238.4 kB / 0.5324 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.01748, allocations: 0.5701 MB / 0.533 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.01758, allocations: 265.4 kB / 0.5332 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.01762, allocations: 126.9 kB / 0.5333 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.01765, allocations: 123.2 kB / 0.5334 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.0177, allocations: 153.9 kB / 0.5336 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.0177, allocations: 0 / 0.5336 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.552e-05/0.01777, allocations: 29.7 kB / 0.5336 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.01783, allocations: 179.2 kB / 0.5338 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.01796, allocations: 195.8 kB / 0.534 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.01797, allocations: 26.33 kB / 0.534 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.01802, allocations: 140.4 kB / 0.5341 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.01802, allocations: 0 / 0.5341 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.01805, allocations: 23.36 kB / 0.5342 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.01816, allocations: 0.4884 MB / 0.5346 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.01817, allocations: 0.9688 kB / 0.5346 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-06/0.01818, allocations: 4 kB / 0.5346 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.01821, allocations: 15.67 kB / 0.5347 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01821, allocations: 0.5938 kB / 0.5347 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.538e-05/0.01829, allocations: 58.2 kB / 0.5347 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.0183, allocations: 8 kB / 0.5347 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.01832, allocations: 4.594 kB / 0.5347 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.01832, allocations: 0.75 kB / 0.5347 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.01833, allocations: 0 / 0.5347 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.01833, allocations: 9.062 kB / 0.5347 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.01835, allocations: 0 / 0.5347 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.01835, allocations: 0 / 0.5347 GB, free: 4.23 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 (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 8.134e-05/0.01843, allocations: 272.5 kB / 0.535 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.01848, allocations: 160.9 kB / 0.5352 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.01852, allocations: 157.7 kB / 0.5353 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.095e-05/0.01857, allocations: 264.1 kB / 0.5356 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.228e-05/0.01862, allocations: 268.1 kB / 0.5358 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.079e-05/0.01868, allocations: 282.4 kB / 0.5361 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.01884, allocations: 480.6 kB / 0.5365 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/0.01888, allocations: 156.8 kB / 0.5367 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.01891, allocations: 152.8 kB / 0.5368 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-05/0.01897, allocations: 264.1 kB / 0.5371 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.01903, allocations: 272 kB / 0.5373 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.263e-05/0.01908, allocations: 266.6 kB / 0.5376 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.479e-05/0.01913, allocations: 272 kB / 0.5379 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.01925, allocations: 451.9 kB / 0.5383 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.0193, allocations: 152.8 kB / 0.5384 GB, free: 300 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.01936, allocations: 264.1 kB / 0.5387 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.01943, allocations: 152.8 kB / 0.5388 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.01949, allocations: 268.1 kB / 0.5391 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.01952, allocations: 154 kB / 0.5392 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.01956, allocations: 145.4 kB / 0.5394 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01956, allocations: 0 / 0.5394 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004715/0.02003, allocations: 288.5 kB / 0.5396 GB, free: 15.02 MB / 0.5105 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.000791/0.02083, allocations: 0.6269 MB / 0.5403 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.481e-05/0.0209, allocations: 49.39 kB / 0.5403 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0209, allocations: 0 / 0.5403 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.0209, allocations: 0.625 kB / 0.5403 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.0212, allocations: 0.7148 MB / 0.541 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/0.02142, allocations: 286.6 kB / 0.5413 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.478e-05/0.02144, allocations: 51.36 kB / 0.5413 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.005e-05/0.02145, allocations: 4.547 kB / 0.5413 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.02149, allocations: 74.2 kB / 0.5414 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.02149, allocations: 0.625 kB / 0.5414 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.007988/0.02948, allocations: 7.167 MB / 0.5484 GB, free: 6.172 MB / 0.5105 GB " [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: 4.063384195789695]