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.InternalResistancesTwoUTube.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.001025/0.001025, allocations: 73.97 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.001005/0.001005, allocations: 169.4 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.9727/0.9727, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-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 master/package.mo): time 0.7812/0.7812, allocations: 154.9 MB / 415.9 MB, free: 248 kB / 378.7 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 179] 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.522 GB, free: 1.422 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.186e-05, allocations: 4 kB / 0.522 GB, free: 1.418 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001761/0.001783, allocations: 1.484 MB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.004728, allocations: 2.767 MB / 0.5261 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.004766, allocations: 5.344 kB / 0.5261 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.004784, allocations: 3.938 kB / 0.5261 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.004837, allocations: 15.8 kB / 0.5262 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.007286, allocations: 1.638 MB / 0.5278 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.007354, allocations: 52.2 kB / 0.5278 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.007391, allocations: 4 kB / 0.5278 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.007423, allocations: 12.48 kB / 0.5278 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.142e-05/0.007444, allocations: 25.69 kB / 0.5279 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.007455, allocations: 4 kB / 0.5279 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.008898, allocations: 1.493 MB / 0.5293 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.008908, allocations: 2.438 kB / 0.5293 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.008928, allocations: 11.94 kB / 0.5293 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.01007, allocations: 1.29 MB / 0.5306 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.01008, allocations: 0 / 0.5306 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01008, allocations: 3.938 kB / 0.5306 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.01008, allocations: 0 / 0.5306 GB, free: 8.637 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.0003885/0.01047, allocations: 0.5594 MB / 0.5311 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.0105, allocations: 12.75 kB / 0.5311 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.01054, allocations: 124.1 kB / 0.5313 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.451e-05/0.01064, allocations: 245.2 kB / 0.5315 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.01069, allocations: 238.8 kB / 0.5317 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.01074, allocations: 242.8 kB / 0.532 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.003e-05/0.01079, allocations: 149.5 kB / 0.5321 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.01081, allocations: 120.4 kB / 0.5322 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.01086, allocations: 246.4 kB / 0.5325 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.0109, allocations: 238.4 kB / 0.5327 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.01095, allocations: 243.2 kB / 0.5329 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.01113, allocations: 0.5608 MB / 0.5335 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.01134, allocations: 272 kB / 0.5337 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.01137, allocations: 126.9 kB / 0.5338 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.01139, allocations: 119.2 kB / 0.534 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.01144, allocations: 160.5 kB / 0.5341 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.01144, allocations: 0 / 0.5341 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.985e-05/0.01149, allocations: 37.64 kB / 0.5341 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.01153, allocations: 170.6 kB / 0.5343 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.01162, allocations: 199.5 kB / 0.5345 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.01163, allocations: 25.7 kB / 0.5345 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.01167, allocations: 142.8 kB / 0.5347 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.01168, allocations: 0 / 0.5347 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.0117, allocations: 23.38 kB / 0.5347 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.0118, allocations: 0.4923 MB / 0.5352 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.01181, allocations: 0 / 0.5352 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.01182, allocations: 4 kB / 0.5352 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.01185, allocations: 15.62 kB / 0.5352 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01185, allocations: 0 / 0.5352 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.533e-05/0.01193, allocations: 52.91 kB / 0.5352 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.01194, allocations: 4 kB / 0.5352 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.01195, allocations: 11.98 kB / 0.5352 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.01196, allocations: 0 / 0.5352 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.01196, allocations: 0 / 0.5352 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.01196, allocations: 3.938 kB / 0.5352 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.345e-05/0.01198, allocations: 4 kB / 0.5353 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.01198, allocations: 0 / 0.5353 GB, free: 3.668 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 7.575e-05/0.01206, allocations: 277.3 kB / 0.5355 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.0121, allocations: 160.8 kB / 0.5357 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.01214, allocations: 156.7 kB / 0.5358 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.887e-05/0.01219, allocations: 268 kB / 0.5361 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.349e-05/0.01225, allocations: 265.4 kB / 0.5363 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.515e-05/0.0123, allocations: 276.1 kB / 0.5366 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.01245, allocations: 488.5 kB / 0.5371 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/0.01248, allocations: 157.5 kB / 0.5372 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.0125, allocations: 148.8 kB / 0.5373 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.121e-05/0.01256, allocations: 264.9 kB / 0.5376 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.01261, allocations: 272.1 kB / 0.5379 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-05/0.01266, allocations: 269.1 kB / 0.5381 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.886e-05/0.01271, allocations: 264.1 kB / 0.5384 GB, free: 360 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.01283, allocations: 455.9 kB / 0.5388 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.01286, allocations: 158.3 kB / 0.539 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.01292, allocations: 268 kB / 0.5392 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.01297, allocations: 144.9 kB / 0.5393 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.01303, allocations: 272 kB / 0.5396 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.01305, allocations: 145.5 kB / 0.5397 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.01309, allocations: 149.3 kB / 0.5399 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.0131, allocations: 0.7188 kB / 0.5399 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000429/0.01352, allocations: 298.9 kB / 0.5402 GB, free: 14.44 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.0006937/0.01422, allocations: 0.6355 MB / 0.5408 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.13e-05/0.01429, allocations: 49.33 kB / 0.5408 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01429, allocations: 0 / 0.5408 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.01429, allocations: 0.9688 kB / 0.5408 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.01473, allocations: 0.7154 MB / 0.5415 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.01494, allocations: 282.5 kB / 0.5418 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.519e-05/0.01496, allocations: 55.34 kB / 0.5419 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.897e-06/0.01497, allocations: 4 kB / 0.5419 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.01501, allocations: 75.3 kB / 0.5419 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.01501, allocations: 0 / 0.5419 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.00804/0.02305, allocations: 7.357 MB / 0.5491 GB, free: 5.395 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9967994298785925]