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.001746/0.001746, allocations: 80.94 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.001848/0.001848, allocations: 177 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 1.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.7824/0.7824, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.322e-06/1.322e-06, allocations: 0 / 480.1 MB, free: 6.766 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.382e-05, allocations: 2.969 kB / 480.1 MB, free: 6.762 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002/0.002024, allocations: 1.518 MB / 481.7 MB, free: 5.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.005089, allocations: 2.799 MB / 484.5 MB, free: 2.496 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.00512, allocations: 0.75 kB / 484.5 MB, free: 2.496 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.005138, allocations: 3.938 kB / 484.5 MB, free: 2.492 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.005188, allocations: 8.578 kB / 484.5 MB, free: 2.484 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.007308, allocations: 1.536 MB / 486 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.751e-05/0.007376, allocations: 48.69 kB / 486.1 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.007409, allocations: 3.984 kB / 486.1 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.00745, allocations: 19.98 kB / 486.1 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.007469, allocations: 12.47 kB / 486.1 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.007478, allocations: 5.219 kB / 486.1 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.008952, allocations: 1.552 MB / 487.6 MB, free: 15.34 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.008962, allocations: 4.797 kB / 487.6 MB, free: 15.34 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.008978, allocations: 11.94 kB / 487.7 MB, free: 15.33 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.01002, allocations: 1.257 MB / 488.9 MB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.01002, allocations: 4 kB / 488.9 MB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01002, allocations: 0 / 488.9 MB, free: 14.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.01003, allocations: 0 / 488.9 MB, free: 14.07 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.0003466/0.01037, allocations: 438.7 kB / 489.3 MB, free: 13.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.0104, allocations: 12.03 kB / 489.4 MB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.01044, allocations: 81.86 kB / 489.4 MB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.01053, allocations: 196.9 kB / 489.6 MB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.01057, allocations: 150.9 kB / 489.8 MB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.0106, allocations: 154.9 kB / 489.9 MB, free: 13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.707e-05/0.01065, allocations: 105.5 kB / 490 MB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.01066, allocations: 78.73 kB / 490.1 MB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.0107, allocations: 158.7 kB / 490.3 MB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.01073, allocations: 150.6 kB / 490.4 MB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.01077, allocations: 158.5 kB / 490.6 MB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.01099, allocations: 357.2 kB / 490.9 MB, free: 12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.957e-05/0.01105, allocations: 173.8 kB / 491.1 MB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.01107, allocations: 80.14 kB / 491.2 MB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.01109, allocations: 80.25 kB / 491.2 MB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.01112, allocations: 105.8 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 6.12e-07/0.01112, allocations: 1.031 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 4.718e-05/0.01117, allocations: 29.7 kB / 491.4 MB, free: 11.51 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.01121, allocations: 134.6 kB / 491.5 MB, free: 11.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.0113, allocations: 141.6 kB / 491.6 MB, free: 11.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.01131, allocations: 25.7 kB / 491.7 MB, free: 11.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.01133, allocations: 84.12 kB / 491.8 MB, free: 11.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.01133, allocations: 1.562 kB / 491.8 MB, free: 11.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.01135, allocations: 17.7 kB / 491.8 MB, free: 11.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.01142, allocations: 318.8 kB / 492.1 MB, free: 10.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.01143, allocations: 7.984 kB / 492.1 MB, free: 10.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-06/0.01144, allocations: 4.781 kB / 492.1 MB, free: 10.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.01147, allocations: 10.64 kB / 492.1 MB, free: 10.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01147, allocations: 2.281 kB / 492.1 MB, free: 10.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.131e-05/0.01153, allocations: 37.69 kB / 492.1 MB, free: 10.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.01154, allocations: 7.938 kB / 492.2 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.01156, allocations: 0 / 492.2 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.01157, allocations: 0 / 492.2 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-06/0.01157, allocations: 4 kB / 492.2 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.01157, allocations: 1.125 kB / 492.2 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.01159, allocations: 7.891 kB / 492.2 MB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.01159, allocations: 0 / 492.2 MB, free: 10.67 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 6.441e-05/0.01165, allocations: 186.2 kB / 492.3 MB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.01169, allocations: 105 kB / 492.5 MB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.01173, allocations: 117.5 kB / 492.6 MB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.761e-05/0.01177, allocations: 180.3 kB / 492.7 MB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-05/0.01181, allocations: 176.9 kB / 492.9 MB, free: 9.883 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.876e-05/0.01185, allocations: 188.1 kB / 493.1 MB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.01196, allocations: 326.5 kB / 493.4 MB, free: 9.348 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/0.01199, allocations: 112.9 kB / 493.5 MB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.01201, allocations: 101.7 kB / 493.6 MB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-05/0.01205, allocations: 184.2 kB / 493.8 MB, free: 8.938 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.01209, allocations: 186 kB / 494 MB, free: 8.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-05/0.01213, allocations: 176.3 kB / 494.2 MB, free: 8.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.015e-05/0.01217, allocations: 180.9 kB / 494.3 MB, free: 8.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.01241, allocations: 315.7 kB / 494.6 MB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.01244, allocations: 105 kB / 494.7 MB, free: 7.945 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.01248, allocations: 178.5 kB / 494.9 MB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.01252, allocations: 108.9 kB / 495 MB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.01256, allocations: 180.3 kB / 495.2 MB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.01258, allocations: 104.9 kB / 495.3 MB, free: 7.359 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.122e-05/0.0126, allocations: 30.7 kB / 495.3 MB, free: 7.328 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0126, allocations: 0 / 495.3 MB, free: 7.328 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003727/0.01297, allocations: 292 kB / 495.6 MB, free: 7.043 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.0006743/0.01365, allocations: 0.5537 MB / 496.2 MB, free: 6.488 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.507e-05/0.01371, allocations: 47.52 kB / 496.2 MB, free: 6.434 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01372, allocations: 4 kB / 496.2 MB, free: 6.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.01372, allocations: 5.062 kB / 496.2 MB, free: 6.426 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.01393, allocations: 459.7 kB / 496.7 MB, free: 5.973 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.01413, allocations: 235.8 kB / 496.9 MB, free: 5.719 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.01416, allocations: 60.09 kB / 497 MB, free: 5.641 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.789e-06/0.01417, allocations: 0 / 497 MB, free: 5.641 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.01421, allocations: 60.77 kB / 497 MB, free: 5.582 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01421, allocations: 0 / 497 MB, free: 5.582 MB / 458.7 MB Notification: Performance of Templates: time 0.008044/0.02226, allocations: 7.132 MB / 0.4923 GB, free: 14.81 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 -s gbode -gbm=radauIIA3 -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.9548371890559793]