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.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.001301/0.001301, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.0009736/0.0009736, allocations: 173 kB / 23.28 MB, free: 1.219 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.873/0.873, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.7305/0.7305, allocations: 154.9 MB / 415.1 MB, free: 264 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0.7656 kB / 0.5212 GB, free: 1.422 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.496e-05, allocations: 5.922 kB / 0.5212 GB, free: 1.418 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00153/0.001544, allocations: 1.482 MB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.004395, allocations: 2.764 MB / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.004423, allocations: 0 / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.00444, allocations: 9.281 kB / 0.5254 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.004486, allocations: 11.86 kB / 0.5254 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.006531, allocations: 1.651 MB / 0.527 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.00659, allocations: 43.67 kB / 0.527 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.678e-05/0.006617, allocations: 4 kB / 0.527 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.006652, allocations: 23.91 kB / 0.5271 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 1.729e-05/0.00667, allocations: 13.52 kB / 0.5271 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.006679, allocations: 4 kB / 0.5271 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.007936, allocations: 1.494 MB / 0.5285 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.007946, allocations: 7.938 kB / 0.5285 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.007961, allocations: 8 kB / 0.5286 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009709/0.008932, allocations: 1.294 MB / 0.5298 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.008933, allocations: 0 / 0.5298 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.32e-07/0.008934, allocations: 0 / 0.5298 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.008937, allocations: 1.344 kB / 0.5298 GB, free: 8.645 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.0003514/0.009288, allocations: 0.5609 MB / 0.5304 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.00932, allocations: 16.73 kB / 0.5304 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.009361, allocations: 124.1 kB / 0.5305 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.00967, allocations: 242.1 kB / 0.5307 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.009717, allocations: 238.8 kB / 0.531 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.009762, allocations: 238.8 kB / 0.5312 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.695e-05/0.009809, allocations: 153.4 kB / 0.5313 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.009832, allocations: 119.4 kB / 0.5315 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.009877, allocations: 242.5 kB / 0.5317 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.009922, allocations: 240.6 kB / 0.5319 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.009967, allocations: 242.4 kB / 0.5321 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.01014, allocations: 0.5609 MB / 0.5327 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.01021, allocations: 269.4 kB / 0.5329 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.01024, allocations: 130.9 kB / 0.5331 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.01026, allocations: 119.2 kB / 0.5332 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.0103, allocations: 162 kB / 0.5333 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.0103, allocations: 4 kB / 0.5333 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.106e-05/0.01034, allocations: 29.66 kB / 0.5334 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.01038, allocations: 171.9 kB / 0.5335 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.01047, allocations: 191.7 kB / 0.5337 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.01048, allocations: 25.7 kB / 0.5337 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.01052, allocations: 142.8 kB / 0.5339 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.01052, allocations: 4.594 kB / 0.5339 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.01054, allocations: 19.38 kB / 0.5339 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.01064, allocations: 0.4929 MB / 0.5344 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.01065, allocations: 5.562 kB / 0.5344 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.01066, allocations: 0 / 0.5344 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.01068, allocations: 23.69 kB / 0.5344 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01068, allocations: 4 kB / 0.5344 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.512e-05/0.01075, allocations: 46.27 kB / 0.5345 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.01076, allocations: 4 kB / 0.5345 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.01077, allocations: 4.938 kB / 0.5345 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.01078, allocations: 0 / 0.5345 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-06/0.01078, allocations: 1.5 kB / 0.5345 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.01078, allocations: 7.875 kB / 0.5345 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.0108, allocations: 4 kB / 0.5345 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.0108, allocations: 0 / 0.5345 GB, free: 3.676 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 6.845e-05/0.01087, allocations: 276.7 kB / 0.5347 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.01091, allocations: 156.9 kB / 0.5349 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.01095, allocations: 161.3 kB / 0.535 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-05/0.011, allocations: 268 kB / 0.5353 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.774e-05/0.01104, allocations: 264.7 kB / 0.5356 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.356e-05/0.0111, allocations: 276.7 kB / 0.5358 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.01124, allocations: 488.5 kB / 0.5363 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/0.01127, allocations: 157.4 kB / 0.5364 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.01129, allocations: 148.8 kB / 0.5366 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.855e-05/0.01134, allocations: 269.3 kB / 0.5368 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.01139, allocations: 272 kB / 0.5371 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.564e-05/0.01144, allocations: 264.1 kB / 0.5373 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.908e-05/0.01149, allocations: 269.9 kB / 0.5376 GB, free: 364 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.01183, allocations: 451.9 kB / 0.538 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.01186, allocations: 160.8 kB / 0.5382 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.01192, allocations: 264.1 kB / 0.5384 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.01197, allocations: 148.8 kB / 0.5386 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.01202, allocations: 268.9 kB / 0.5388 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.01205, allocations: 148.9 kB / 0.539 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.01209, allocations: 142 kB / 0.5391 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01209, allocations: 0 / 0.5391 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003813/0.01247, allocations: 304.7 kB / 0.5394 GB, free: 14.45 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.0006223/0.01309, allocations: 0.6379 MB / 0.54 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.01315, allocations: 45.39 kB / 0.5401 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01315, allocations: 1.969 kB / 0.5401 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.01316, allocations: 0 / 0.5401 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.01343, allocations: 0.714 MB / 0.5408 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.01365, allocations: 284.6 kB / 0.541 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.718e-05/0.01368, allocations: 59.34 kB / 0.5411 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.887e-06/0.01368, allocations: 0 / 0.5411 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.01372, allocations: 82.12 kB / 0.5412 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.01372, allocations: 0 / 0.5412 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.007463/0.02119, allocations: 7.349 MB / 0.5484 GB, free: 5.383 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7001663562841713]