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.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.001053/0.001053, allocations: 77.09 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.001874/0.001874, allocations: 169 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 1.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8008/0.8008, allocations: 154.9 MB / 415.9 MB, free: 268 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.522 GB, free: 356 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.85e-05, allocations: 4 kB / 0.522 GB, free: 352 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002322/0.00234, allocations: 1.478 MB / 0.5234 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.00636, allocations: 2.727 MB / 0.5261 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.006403, allocations: 0 / 0.5261 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.006425, allocations: 3.938 kB / 0.5261 GB, free: 12.14 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.006489, allocations: 15.8 kB / 0.5261 GB, free: 12.13 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.009737, allocations: 1.634 MB / 0.5277 GB, free: 10.54 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.009823, allocations: 51.67 kB / 0.5278 GB, free: 10.48 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.009856, allocations: 0 / 0.5278 GB, free: 10.48 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.009894, allocations: 19.92 kB / 0.5278 GB, free: 10.46 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.259e-05/0.009916, allocations: 8 kB / 0.5278 GB, free: 10.46 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.009927, allocations: 0 / 0.5278 GB, free: 10.46 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.01194, allocations: 1.463 MB / 0.5292 GB, free: 8.992 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.01196, allocations: 7.938 kB / 0.5292 GB, free: 8.984 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.01199, allocations: 11.98 kB / 0.5292 GB, free: 8.973 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.01355, allocations: 1.251 MB / 0.5304 GB, free: 7.719 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01355, allocations: 1.281 kB / 0.5304 GB, free: 7.719 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01355, allocations: 0 / 0.5304 GB, free: 7.719 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.01356, allocations: 0 / 0.5304 GB, free: 7.719 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.0005881/0.01415, allocations: 0.5615 MB / 0.531 GB, free: 7.121 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.01419, allocations: 12.75 kB / 0.531 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.01424, allocations: 120.8 kB / 0.5311 GB, free: 6.992 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.01437, allocations: 252.1 kB / 0.5314 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.01444, allocations: 238.8 kB / 0.5316 GB, free: 6.484 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/0.0145, allocations: 241.3 kB / 0.5318 GB, free: 6.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.18e-05/0.01457, allocations: 145.5 kB / 0.532 GB, free: 6.102 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.0146, allocations: 127.4 kB / 0.5321 GB, free: 5.977 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.01467, allocations: 242.5 kB / 0.5323 GB, free: 5.738 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/0.01473, allocations: 238.4 kB / 0.5325 GB, free: 5.504 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.328e-05/0.01479, allocations: 242.3 kB / 0.5328 GB, free: 5.266 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.01506, allocations: 0.5724 MB / 0.5333 GB, free: 4.668 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.01516, allocations: 263.9 kB / 0.5336 GB, free: 4.398 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.0152, allocations: 130.9 kB / 0.5337 GB, free: 4.266 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.01523, allocations: 119.2 kB / 0.5338 GB, free: 4.148 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.01528, allocations: 152.6 kB / 0.534 GB, free: 3.988 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.01528, allocations: 0 / 0.534 GB, free: 3.988 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.22e-05/0.01534, allocations: 33.64 kB / 0.534 GB, free: 3.949 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.0154, allocations: 172.3 kB / 0.5342 GB, free: 3.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.01552, allocations: 196.6 kB / 0.5344 GB, free: 3.562 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.01553, allocations: 25.7 kB / 0.5344 GB, free: 3.531 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.01558, allocations: 142.8 kB / 0.5345 GB, free: 3.387 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.01558, allocations: 0.9688 kB / 0.5345 GB, free: 3.387 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.01562, allocations: 27.36 kB / 0.5345 GB, free: 3.352 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.01576, allocations: 496.1 kB / 0.535 GB, free: 2.855 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.01578, allocations: 4.594 kB / 0.535 GB, free: 2.852 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.01579, allocations: 0.5938 kB / 0.535 GB, free: 2.852 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.01582, allocations: 11.69 kB / 0.535 GB, free: 2.836 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01582, allocations: 4.531 kB / 0.535 GB, free: 2.832 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.972e-05/0.01592, allocations: 42.22 kB / 0.5351 GB, free: 2.785 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01593, allocations: 8 kB / 0.5351 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.01595, allocations: 0.6875 kB / 0.5351 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.01596, allocations: 5.219 kB / 0.5351 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.01596, allocations: 0 / 0.5351 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01596, allocations: 3.938 kB / 0.5351 GB, free: 2.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.01598, allocations: 11.89 kB / 0.5351 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.01599, allocations: 0.625 kB / 0.5351 GB, free: 2.758 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 0.0001057/0.0161, allocations: 284.9 kB / 0.5354 GB, free: 2.469 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.01616, allocations: 152.8 kB / 0.5355 GB, free: 2.312 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.01622, allocations: 156.8 kB / 0.5357 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.357e-05/0.01629, allocations: 270.5 kB / 0.5359 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.202e-05/0.01636, allocations: 272 kB / 0.5362 GB, free: 1.605 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.088e-05/0.01643, allocations: 268 kB / 0.5364 GB, free: 1.336 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.01665, allocations: 0.4888 MB / 0.5369 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/0.0167, allocations: 144.9 kB / 0.5371 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.01674, allocations: 148.9 kB / 0.5372 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-05/0.01681, allocations: 274.4 kB / 0.5375 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/0.0169, allocations: 264.1 kB / 0.5377 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-05/0.01696, allocations: 268 kB / 0.538 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-05/0.01703, allocations: 268.1 kB / 0.5382 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.01719, allocations: 455.8 kB / 0.5387 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.01724, allocations: 152.8 kB / 0.5388 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.01733, allocations: 268 kB / 0.5391 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.01742, allocations: 150.2 kB / 0.5392 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.01749, allocations: 272 kB / 0.5395 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.01753, allocations: 144.9 kB / 0.5396 GB, free: 13.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.01759, allocations: 147.1 kB / 0.5397 GB, free: 13.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01759, allocations: 0 / 0.5397 GB, free: 13.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006575/0.01824, allocations: 291 kB / 0.54 GB, free: 13.54 MB / 474.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.0009331/0.01918, allocations: 0.6198 MB / 0.5406 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.01926, allocations: 45.39 kB / 0.5407 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01926, allocations: 0 / 0.5407 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.01926, allocations: 3.938 kB / 0.5407 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.01968, allocations: 0.7072 MB / 0.5414 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.01996, allocations: 282.9 kB / 0.5416 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.02, allocations: 55.3 kB / 0.5417 GB, free: 11.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.174e-05/0.02001, allocations: 4.969 kB / 0.5417 GB, free: 11.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.02006, allocations: 78.19 kB / 0.5418 GB, free: 11.68 MB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02006, allocations: 0.75 kB / 0.5418 GB, free: 11.68 MB / 474.7 MB Notification: Performance of Templates: time 0.01097/0.03103, allocations: 7.155 MB / 0.5488 GB, free: 4.699 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9272883501835167]