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.000902/0.000902, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0008973/0.0008973, allocations: 169 kB / 23.02 MB, free: 1.547 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.9172/0.9172, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7191/0.7191, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.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.774e-06/1.774e-06, allocations: 0 / 0.5204 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.065e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.125 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001785/0.001806, allocations: 1.491 MB / 0.5219 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.005501, allocations: 2.838 MB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.005553, allocations: 1.375 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.005578, allocations: 3.938 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.005638, allocations: 19.84 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.008394, allocations: 1.639 MB / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.359e-05/0.008477, allocations: 52.58 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.008515, allocations: 3.984 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.00855, allocations: 23.97 kB / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 1.924e-05/0.00857, allocations: 14.53 kB / 0.5264 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.00858, allocations: 0 / 0.5264 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.009944, allocations: 1.497 MB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.009955, allocations: 7.922 kB / 0.5278 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.009977, allocations: 12 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.011, allocations: 1.281 MB / 0.5291 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.011, allocations: 0 / 0.5291 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.02e-07/0.011, allocations: 4 kB / 0.5291 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.01101, allocations: 0 / 0.5291 GB, free: 9.281 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.0003967/0.0114, allocations: 0.5609 MB / 0.5296 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.01144, allocations: 8.031 kB / 0.5297 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.01149, allocations: 128.1 kB / 0.5298 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.0116, allocations: 239.7 kB / 0.53 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.01165, allocations: 240.4 kB / 0.5302 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.0117, allocations: 246.7 kB / 0.5305 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.629e-05/0.01176, allocations: 145.5 kB / 0.5306 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.01178, allocations: 119.4 kB / 0.5307 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.01183, allocations: 242.5 kB / 0.531 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/0.01188, allocations: 249.8 kB / 0.5312 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.01193, allocations: 238.4 kB / 0.5314 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.01239, allocations: 0.5837 MB / 0.532 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.856e-05/0.01248, allocations: 269.4 kB / 0.5322 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.01251, allocations: 130.9 kB / 0.5324 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.01254, allocations: 119.2 kB / 0.5325 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.01258, allocations: 152.6 kB / 0.5326 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.01258, allocations: 0 / 0.5326 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.571e-05/0.01264, allocations: 37.59 kB / 0.5327 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.01269, allocations: 181.9 kB / 0.5328 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.0128, allocations: 191.8 kB / 0.533 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.01281, allocations: 29.7 kB / 0.533 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.01285, allocations: 130.9 kB / 0.5332 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.01285, allocations: 0 / 0.5332 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.01288, allocations: 31.36 kB / 0.5332 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.01299, allocations: 492.1 kB / 0.5337 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.013, allocations: 8 kB / 0.5337 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.057e-05/0.01301, allocations: 48 / 0.5337 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.01304, allocations: 26.77 kB / 0.5337 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01305, allocations: 4 kB / 0.5337 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.789e-05/0.01314, allocations: 49.59 kB / 0.5338 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.01316, allocations: 8 kB / 0.5338 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.01317, allocations: 0 / 0.5338 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.01318, allocations: 4 kB / 0.5338 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-06/0.01319, allocations: 7.875 kB / 0.5338 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.01319, allocations: 0 / 0.5338 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.01321, allocations: 7.953 kB / 0.5338 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.01321, allocations: 0 / 0.5338 GB, free: 4.277 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.846e-05/0.01329, allocations: 275.8 kB / 0.534 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.01333, allocations: 152.8 kB / 0.5342 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.01337, allocations: 156.6 kB / 0.5343 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.847e-05/0.01342, allocations: 272.1 kB / 0.5346 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-05/0.01347, allocations: 272 kB / 0.5349 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.77e-05/0.01352, allocations: 264.1 kB / 0.5351 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.01366, allocations: 0.5 MB / 0.5356 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/0.01369, allocations: 148.8 kB / 0.5357 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.01372, allocations: 149.7 kB / 0.5359 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.058e-05/0.01377, allocations: 272 kB / 0.5361 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.01382, allocations: 266.1 kB / 0.5364 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.965e-05/0.01387, allocations: 268.1 kB / 0.5367 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.954e-05/0.01392, allocations: 268 kB / 0.5369 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.01403, allocations: 459.8 kB / 0.5373 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.01406, allocations: 148.8 kB / 0.5375 GB, free: 324 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.01412, allocations: 268.7 kB / 0.5377 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.01417, allocations: 148.8 kB / 0.5379 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.01423, allocations: 280.7 kB / 0.5382 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.01426, allocations: 148.8 kB / 0.5383 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.0143, allocations: 142.5 kB / 0.5384 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.0143, allocations: 1.219 kB / 0.5384 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003936/0.0147, allocations: 298.9 kB / 0.5387 GB, free: 15.03 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.0009626/0.01566, allocations: 0.6354 MB / 0.5393 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.01574, allocations: 46.59 kB / 0.5394 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01574, allocations: 0 / 0.5394 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.01575, allocations: 0 / 0.5394 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.01606, allocations: 0.7188 MB / 0.5401 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.01632, allocations: 275 kB / 0.5403 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.336e-05/0.01635, allocations: 59.34 kB / 0.5404 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.406e-06/0.01636, allocations: 1.938 kB / 0.5404 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.01638, allocations: 8.5 kB / 0.5404 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.01638, allocations: 0 / 0.5404 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.008417/0.02479, allocations: 8.032 MB / 0.5483 GB, free: 5.375 MB / 0.5105 GB " [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.800730633083731]