Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009551/0.0009551, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009672/0.0009672, allocations: 181 kB / 23.36 MB, free: 1.133 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.8938/0.8938, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.7319/0.7319, allocations: 154.6 MB / 414.9 MB, free: 496 kB / 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 4.656 kB / 480.1 MB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007e-05/1.201e-05, allocations: 2.312 kB / 480.1 MB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001614/0.001626, allocations: 1.495 MB / 481.6 MB, free: 5.309 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.00463, allocations: 2.818 MB / 484.4 MB, free: 2.512 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.004668, allocations: 4 kB / 484.4 MB, free: 2.508 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.004689, allocations: 9.062 kB / 484.4 MB, free: 2.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.791e-05/0.004746, allocations: 15.84 kB / 484.4 MB, free: 2.484 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.007497, allocations: 1.658 MB / 486.1 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.007572, allocations: 43.66 kB / 486.1 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.00761, allocations: 8 kB / 486.1 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.007649, allocations: 25.61 kB / 486.2 MB, free: 0.793 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.1e-05/0.00767, allocations: 11.98 kB / 486.2 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.007681, allocations: 0 / 486.2 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.009128, allocations: 1.495 MB / 487.7 MB, free: 15.29 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.009142, allocations: 3.938 kB / 487.7 MB, free: 15.28 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.009163, allocations: 12 kB / 487.7 MB, free: 15.27 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.01026, allocations: 1.295 MB / 489 MB, free: 13.97 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01026, allocations: 0.75 kB / 489 MB, free: 13.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01026, allocations: 0 / 489 MB, free: 13.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.01027, allocations: 0 / 489 MB, free: 13.97 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.0004081/0.01068, allocations: 455.6 kB / 489.4 MB, free: 13.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.01071, allocations: 12.03 kB / 489.4 MB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.01076, allocations: 77.19 kB / 489.5 MB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.01087, allocations: 198.8 kB / 489.7 MB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.01091, allocations: 152.7 kB / 489.9 MB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.01095, allocations: 152.1 kB / 490 MB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.576e-05/0.01101, allocations: 105.5 kB / 490.1 MB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.01103, allocations: 79.45 kB / 490.2 MB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.01107, allocations: 155.7 kB / 490.3 MB, free: 12.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.01111, allocations: 150.6 kB / 490.5 MB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.01115, allocations: 158.5 kB / 490.7 MB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.01131, allocations: 354.1 kB / 491 MB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.265e-05/0.01139, allocations: 169.1 kB / 491.2 MB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.01141, allocations: 80.8 kB / 491.2 MB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.01144, allocations: 76.12 kB / 491.3 MB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.01148, allocations: 113.8 kB / 491.4 MB, free: 11.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.01148, allocations: 0.75 kB / 491.4 MB, free: 11.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.233e-05/0.01154, allocations: 29.69 kB / 491.5 MB, free: 11.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.0116, allocations: 131.2 kB / 491.6 MB, free: 11.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.0117, allocations: 144.4 kB / 491.7 MB, free: 11.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.01171, allocations: 27.05 kB / 491.8 MB, free: 11.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.01174, allocations: 96.08 kB / 491.8 MB, free: 10.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.01174, allocations: 0 / 491.8 MB, free: 10.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.01177, allocations: 18.64 kB / 491.9 MB, free: 10.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.01185, allocations: 314.8 kB / 492.2 MB, free: 10.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.01187, allocations: 4 kB / 492.2 MB, free: 10.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.01188, allocations: 1.219 kB / 492.2 MB, free: 10.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.01191, allocations: 12.8 kB / 492.2 MB, free: 10.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01191, allocations: 0 / 492.2 MB, free: 10.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.494e-05/0.01199, allocations: 50.75 kB / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.012, allocations: 4 kB / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.01201, allocations: 0 / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.01203, allocations: 1.234 kB / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-06/0.01203, allocations: 5.344 kB / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.01203, allocations: 0 / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.01205, allocations: 3.938 kB / 492.3 MB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.01205, allocations: 0 / 492.3 MB, free: 10.56 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 7.942e-05/0.01213, allocations: 189.9 kB / 492.4 MB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.01217, allocations: 109.8 kB / 492.5 MB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.01222, allocations: 112.8 kB / 492.7 MB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/0.01227, allocations: 185.5 kB / 492.8 MB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-05/0.01231, allocations: 176.3 kB / 493 MB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.584e-05/0.01236, allocations: 186.1 kB / 493.2 MB, free: 9.582 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.01277, allocations: 333.4 kB / 493.5 MB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.01279, allocations: 101.6 kB / 493.6 MB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.01281, allocations: 108.9 kB / 493.7 MB, free: 9.012 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-05/0.01285, allocations: 177.1 kB / 493.9 MB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.01288, allocations: 180.3 kB / 494.1 MB, free: 8.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.74e-05/0.01292, allocations: 184.8 kB / 494.3 MB, free: 8.461 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-05/0.01296, allocations: 184.2 kB / 494.4 MB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.398e-05/0.01304, allocations: 304.9 kB / 494.7 MB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.01307, allocations: 116.9 kB / 494.8 MB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.01311, allocations: 180.2 kB / 495 MB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.01316, allocations: 106.5 kB / 495.1 MB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.0132, allocations: 180.2 kB / 495.3 MB, free: 7.355 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.01322, allocations: 105 kB / 495.4 MB, free: 7.246 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.339e-05/0.01325, allocations: 30.69 kB / 495.4 MB, free: 7.215 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01325, allocations: 0.7812 kB / 495.4 MB, free: 7.215 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003744/0.01362, allocations: 302.9 kB / 495.7 MB, free: 6.918 MB / 458.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.0006642/0.01428, allocations: 0.5695 MB / 496.3 MB, free: 6.348 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.242e-05/0.01435, allocations: 43.34 kB / 496.3 MB, free: 6.297 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01435, allocations: 0 / 496.3 MB, free: 6.297 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/0.01435, allocations: 4 kB / 496.3 MB, free: 6.293 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.01455, allocations: 464.6 kB / 496.8 MB, free: 5.836 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.01475, allocations: 236.1 kB / 497 MB, free: 5.582 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.664e-05/0.01478, allocations: 59.34 kB / 497.1 MB, free: 5.504 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.957e-06/0.01479, allocations: 0 / 497.1 MB, free: 5.504 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.01483, allocations: 56.28 kB / 497.1 MB, free: 5.449 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01483, allocations: 0 / 497.1 MB, free: 5.449 MB / 458.7 MB Notification: Performance of Templates: time 0.007792/0.02262, allocations: 7.318 MB / 0.4926 GB, free: 14.49 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.666982172988355]