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.0009392/0.0009392, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001956/0.001956, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9458/0.9458, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.75/0.75, allocations: 154.6 MB / 414.8 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.784e-06/1.784e-06, allocations: 0.5469 kB / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.012e-05, allocations: 4.531 kB / 480.1 MB, free: 6.863 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003197/0.003227, allocations: 1.484 MB / 481.6 MB, free: 5.398 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004803/0.00803, allocations: 2.795 MB / 484.4 MB, free: 2.633 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.008093, allocations: 0.625 kB / 484.4 MB, free: 2.633 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.008123, allocations: 0 / 484.4 MB, free: 2.633 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.008202, allocations: 18.95 kB / 484.4 MB, free: 2.617 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.0116, allocations: 1.625 MB / 486 MB, free: 1.023 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.01168, allocations: 40.42 kB / 486.1 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.01172, allocations: 8.578 kB / 486.1 MB, free: 0.9766 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.01176, allocations: 19.98 kB / 486.1 MB, free: 0.957 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.367e-05/0.01178, allocations: 17.36 kB / 486.1 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.01179, allocations: 0 / 486.1 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.01362, allocations: 1.458 MB / 487.6 MB, free: 15.48 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.01364, allocations: 8.719 kB / 487.6 MB, free: 15.47 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.01367, allocations: 11.94 kB / 487.6 MB, free: 15.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.01519, allocations: 1.26 MB / 488.8 MB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01519, allocations: 0 / 488.8 MB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0152, allocations: 0 / 488.8 MB, free: 14.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.0152, allocations: 0 / 488.8 MB, free: 14.2 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.0005172/0.01572, allocations: 446.6 kB / 489.3 MB, free: 13.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.01575, allocations: 8.688 kB / 489.3 MB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.01579, allocations: 84.2 kB / 489.4 MB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.01589, allocations: 192.8 kB / 489.6 MB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.01593, allocations: 150.9 kB / 489.7 MB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.01597, allocations: 155.4 kB / 489.9 MB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.34e-05/0.01602, allocations: 102.1 kB / 490 MB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.01604, allocations: 75.47 kB / 490 MB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.01608, allocations: 155.9 kB / 490.2 MB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.01612, allocations: 162.5 kB / 490.3 MB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.01615, allocations: 150.6 kB / 490.5 MB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.0163, allocations: 366.1 kB / 490.8 MB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.01636, allocations: 165.1 kB / 491 MB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.01638, allocations: 87.05 kB / 491.1 MB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.0164, allocations: 79.27 kB / 491.2 MB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.01644, allocations: 109.8 kB / 491.3 MB, free: 11.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.01644, allocations: 0 / 491.3 MB, free: 11.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 5.005e-05/0.01649, allocations: 30.55 kB / 491.3 MB, free: 11.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.01654, allocations: 130.7 kB / 491.4 MB, free: 11.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.01663, allocations: 137 kB / 491.6 MB, free: 11.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.01664, allocations: 27.61 kB / 491.6 MB, free: 11.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.01666, allocations: 92.11 kB / 491.7 MB, free: 11.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.01666, allocations: 0 / 491.7 MB, free: 11.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.01669, allocations: 13.72 kB / 491.7 MB, free: 11.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.01677, allocations: 314.8 kB / 492 MB, free: 10.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.01678, allocations: 4 kB / 492 MB, free: 10.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.01679, allocations: 9.891 kB / 492 MB, free: 10.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.01681, allocations: 8.859 kB / 492 MB, free: 10.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01681, allocations: 0 / 492 MB, free: 10.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.733e-05/0.01688, allocations: 33.7 kB / 492.1 MB, free: 10.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.01689, allocations: 7.984 kB / 492.1 MB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.01691, allocations: 5.75 kB / 492.1 MB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.01692, allocations: 2.297 kB / 492.1 MB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.485e-06/0.01692, allocations: 0 / 492.1 MB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-06/0.01692, allocations: 0 / 492.1 MB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.01694, allocations: 9.203 kB / 492.1 MB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.01694, allocations: 0 / 492.1 MB, free: 10.81 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.526e-05/0.01701, allocations: 189.1 kB / 492.3 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.01704, allocations: 105.5 kB / 492.4 MB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.01708, allocations: 116.8 kB / 492.5 MB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.921e-05/0.01713, allocations: 186.1 kB / 492.7 MB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-05/0.01717, allocations: 184.2 kB / 492.8 MB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-05/0.01721, allocations: 180.2 kB / 493 MB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.01733, allocations: 329.5 kB / 493.3 MB, free: 9.477 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-05/0.01735, allocations: 105 kB / 493.5 MB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.01738, allocations: 105.9 kB / 493.6 MB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-05/0.01742, allocations: 184.2 kB / 493.7 MB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.01746, allocations: 184.8 kB / 493.9 MB, free: 8.883 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.812e-05/0.0175, allocations: 180.2 kB / 494.1 MB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.8e-05/0.01754, allocations: 182.5 kB / 494.3 MB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.01764, allocations: 311.7 kB / 494.6 MB, free: 8.188 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.01767, allocations: 108.9 kB / 494.7 MB, free: 8.074 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.01771, allocations: 176.3 kB / 494.9 MB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.01776, allocations: 105 kB / 495 MB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.0178, allocations: 184.2 kB / 495.1 MB, free: 7.598 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.01782, allocations: 101.8 kB / 495.2 MB, free: 7.492 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.01785, allocations: 24.83 kB / 495.3 MB, free: 7.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01785, allocations: 0.7812 kB / 495.3 MB, free: 7.465 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004639/0.01831, allocations: 295 kB / 495.5 MB, free: 7.176 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.0007047/0.01902, allocations: 0.5565 MB / 496.1 MB, free: 6.621 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.997e-05/0.01909, allocations: 46.42 kB / 496.1 MB, free: 6.566 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.01909, allocations: 4 kB / 496.2 MB, free: 6.562 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.01909, allocations: 0 / 496.2 MB, free: 6.562 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.0193, allocations: 461.2 kB / 496.6 MB, free: 6.109 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.01952, allocations: 244.1 kB / 496.8 MB, free: 5.848 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.633e-05/0.01955, allocations: 51.89 kB / 496.9 MB, free: 5.777 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.2e-05/0.01956, allocations: 0.9688 kB / 496.9 MB, free: 5.777 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.01961, allocations: 59.36 kB / 496.9 MB, free: 5.719 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01961, allocations: 0 / 496.9 MB, free: 5.719 MB / 458.7 MB Notification: Performance of Templates: time 0.008363/0.02797, allocations: 7.134 MB / 0.4923 GB, free: 14.95 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 -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.8071510270237923]