Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001043/0.001043, 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.001581/0.001581, allocations: 173 kB / 23.49 MB, free: 1.062 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7763/0.7763, allocations: 154.6 MB / 414.9 MB, free: 0.6758 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0.875 kB / 0.5204 GB, free: 2.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.442e-05, allocations: 4 kB / 0.5204 GB, free: 2.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.008175/0.0082, allocations: 1.475 MB / 0.5219 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.009836/0.01804, allocations: 2.784 MB / 0.5246 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.01809, allocations: 0 / 0.5246 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.01812, allocations: 10.64 kB / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.01818, allocations: 11.86 kB / 0.5246 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.009206/0.02738, allocations: 1.616 MB / 0.5262 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.02747, allocations: 48.33 kB / 0.5262 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.02751, allocations: 3.984 kB / 0.5262 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.02755, allocations: 23.42 kB / 0.5263 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.542e-05/0.02758, allocations: 15.92 kB / 0.5263 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.02759, allocations: 0 / 0.5263 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008061/0.03565, allocations: 1.458 MB / 0.5277 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.03566, allocations: 7.938 kB / 0.5277 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.03569, allocations: 8 kB / 0.5277 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003893/0.03958, allocations: 1.243 MB / 0.5289 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.03959, allocations: 0 / 0.5289 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.03959, allocations: 2.594 kB / 0.5289 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.03959, allocations: 3.938 kB / 0.5289 GB, free: 9.758 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.0004559/0.04005, allocations: 0.5531 MB / 0.5295 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.04008, allocations: 8.031 kB / 0.5295 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.04014, allocations: 128.1 kB / 0.5296 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.04024, allocations: 249.5 kB / 0.5298 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.04029, allocations: 242.8 kB / 0.5301 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.04035, allocations: 239.5 kB / 0.5303 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.491e-05/0.0404, allocations: 145.5 kB / 0.5304 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.04043, allocations: 120.7 kB / 0.5306 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.04048, allocations: 246.5 kB / 0.5308 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/0.04053, allocations: 242.4 kB / 0.531 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.576e-05/0.04059, allocations: 243 kB / 0.5313 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.0408, allocations: 0.5798 MB / 0.5318 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.037e-05/0.04088, allocations: 271.8 kB / 0.5321 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.04092, allocations: 126.9 kB / 0.5322 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.04094, allocations: 119.2 kB / 0.5323 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.04099, allocations: 160.6 kB / 0.5325 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.04099, allocations: 0 / 0.5325 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.318e-05/0.04104, allocations: 29.64 kB / 0.5325 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.04109, allocations: 181 kB / 0.5327 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.04121, allocations: 193.8 kB / 0.5329 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.04122, allocations: 25.7 kB / 0.5329 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.04127, allocations: 138.9 kB / 0.533 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.04127, allocations: 0 / 0.533 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.0413, allocations: 23.38 kB / 0.533 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.0414, allocations: 0.4884 MB / 0.5335 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.04142, allocations: 5.438 kB / 0.5335 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.04143, allocations: 4 kB / 0.5335 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.04146, allocations: 15.62 kB / 0.5335 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.04146, allocations: 1.875 kB / 0.5335 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.997e-05/0.04156, allocations: 45.64 kB / 0.5336 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.04157, allocations: 10.19 kB / 0.5336 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.04159, allocations: 0 / 0.5336 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.0416, allocations: 0 / 0.5336 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.0416, allocations: 4.75 kB / 0.5336 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.04161, allocations: 4 kB / 0.5336 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.04162, allocations: 0.6562 kB / 0.5336 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.04162, allocations: 0 / 0.5336 GB, free: 4.777 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 0.0003555/0.04198, allocations: 280.4 kB / 0.5339 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.04203, allocations: 158.3 kB / 0.534 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.04207, allocations: 164.7 kB / 0.5342 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-05/0.04212, allocations: 264.1 kB / 0.5344 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.535e-05/0.04217, allocations: 280 kB / 0.5347 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.516e-05/0.04223, allocations: 265.2 kB / 0.5349 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.04238, allocations: 0.4999 MB / 0.5354 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/0.04241, allocations: 148.9 kB / 0.5356 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.04244, allocations: 145.6 kB / 0.5357 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-05/0.04249, allocations: 272 kB / 0.536 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.04255, allocations: 268.7 kB / 0.5362 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.767e-05/0.0426, allocations: 272 kB / 0.5365 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.232e-05/0.04266, allocations: 268.8 kB / 0.5367 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.04276, allocations: 443.9 kB / 0.5372 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.04281, allocations: 158.4 kB / 0.5373 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.04287, allocations: 276 kB / 0.5376 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.04292, allocations: 144.9 kB / 0.5377 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.04298, allocations: 272 kB / 0.538 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.04302, allocations: 146.8 kB / 0.5381 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.04307, allocations: 143.1 kB / 0.5383 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.04307, allocations: 0 / 0.5383 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004126/0.04348, allocations: 298.9 kB / 0.5385 GB, free: 15.52 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.0007473/0.04423, allocations: 0.6111 MB / 0.5391 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.195e-05/0.04432, allocations: 42.61 kB / 0.5392 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.04432, allocations: 0 / 0.5392 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.04432, allocations: 3.938 kB / 0.5392 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.04464, allocations: 0.7184 MB / 0.5399 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.04491, allocations: 283.8 kB / 0.5402 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.04494, allocations: 55.34 kB / 0.5402 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.382e-05/0.04495, allocations: 0 / 0.5402 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.04496, allocations: 13.16 kB / 0.5402 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/0.04496, allocations: 0 / 0.5402 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.006889/0.05185, allocations: 5.806 MB / 0.5459 GB, free: 8.117 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9991965158842504]