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.0007967/0.0007967, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007223/0.0007223, allocations: 177.9 kB / 23.22 MB, free: 1.348 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.8418/0.8418, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:190: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-531:198: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.6694/0.6694, allocations: 154.6 MB / 414.5 MB, free: 0.8398 MB / 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.172e-06/1.172e-06, allocations: 0 / 0.6194 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.045e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001612/0.001632, allocations: 1.438 MB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.004474, allocations: 2.672 MB / 0.6234 GB, free: 9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.004513, allocations: 0 / 0.6234 GB, free: 9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.004533, allocations: 7.922 kB / 0.6234 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.004589, allocations: 15.8 kB / 0.6234 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.007076, allocations: 1.662 MB / 0.625 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.45e-05/0.007151, allocations: 47.67 kB / 0.6251 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.007186, allocations: 4 kB / 0.6251 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.007222, allocations: 23.92 kB / 0.6251 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.051e-05/0.007243, allocations: 11.92 kB / 0.6251 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.007254, allocations: 4 kB / 0.6251 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.008707, allocations: 1.485 MB / 0.6266 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.00872, allocations: 7.984 kB / 0.6266 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.008746, allocations: 11.94 kB / 0.6266 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.009842, allocations: 1.27 MB / 0.6278 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.009844, allocations: 4 kB / 0.6278 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.41e-07/0.009845, allocations: 0 / 0.6278 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.009849, allocations: 0 / 0.6278 GB, free: 4.469 MB / 0.5886 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.0004111/0.01026, allocations: 476 kB / 0.6283 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.0103, allocations: 12.03 kB / 0.6283 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.01034, allocations: 80.17 kB / 0.6284 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.01044, allocations: 193 kB / 0.6286 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.01049, allocations: 150.9 kB / 0.6287 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.01052, allocations: 154.9 kB / 0.6288 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.248e-05/0.01058, allocations: 109.5 kB / 0.629 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.0106, allocations: 75.47 kB / 0.629 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.01063, allocations: 158.7 kB / 0.6292 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/0.01067, allocations: 150.6 kB / 0.6293 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.01071, allocations: 150.6 kB / 0.6295 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.01091, allocations: 417.5 kB / 0.6299 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.83e-05/0.01097, allocations: 177.1 kB / 0.63 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.011, allocations: 84.08 kB / 0.6301 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.01102, allocations: 79.28 kB / 0.6302 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.01106, allocations: 105.8 kB / 0.6303 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.01106, allocations: 0 / 0.6303 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.798e-05/0.01111, allocations: 41.59 kB / 0.6303 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.01116, allocations: 134.6 kB / 0.6305 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.01126, allocations: 132.1 kB / 0.6306 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.01127, allocations: 25.7 kB / 0.6306 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.01131, allocations: 96.12 kB / 0.6307 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.01131, allocations: 0 / 0.6307 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.01134, allocations: 21.66 kB / 0.6307 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.01142, allocations: 318.8 kB / 0.631 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.01144, allocations: 8 kB / 0.631 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.236e-05/0.01145, allocations: 4 kB / 0.631 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.01148, allocations: 12.86 kB / 0.631 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01148, allocations: 0 / 0.631 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.855e-05/0.01158, allocations: 57.62 kB / 0.6311 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01159, allocations: 7.984 kB / 0.6311 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.01161, allocations: 4.062 kB / 0.6311 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01162, allocations: 7.938 kB / 0.6311 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.01162, allocations: 0 / 0.6311 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01163, allocations: 4 kB / 0.6311 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.01164, allocations: 0 / 0.6311 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.01165, allocations: 0 / 0.6311 GB, free: 0.9102 MB / 0.5886 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.221e-05/0.01172, allocations: 186.1 kB / 0.6313 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.01175, allocations: 108.9 kB / 0.6314 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.0118, allocations: 124.8 kB / 0.6315 GB, free: 488 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/0.01184, allocations: 180.2 kB / 0.6317 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-05/0.01188, allocations: 180.3 kB / 0.6319 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/0.01193, allocations: 180.2 kB / 0.632 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.01207, allocations: 364.9 kB / 0.6324 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/0.01209, allocations: 108.9 kB / 0.6325 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.01212, allocations: 105 kB / 0.6326 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-05/0.01216, allocations: 180.2 kB / 0.6328 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.0122, allocations: 176.3 kB / 0.6329 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-05/0.01225, allocations: 180.3 kB / 0.6331 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-05/0.01229, allocations: 196.1 kB / 0.6333 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.01239, allocations: 315.7 kB / 0.6336 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.01242, allocations: 108.9 kB / 0.6337 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.01247, allocations: 184.2 kB / 0.6339 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.72e-05/0.01252, allocations: 105.2 kB / 0.634 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.01257, allocations: 184.2 kB / 0.6341 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.0126, allocations: 109 kB / 0.6343 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.01264, allocations: 95.27 kB / 0.6343 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.01264, allocations: 0 / 0.6343 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003986/0.01304, allocations: 299 kB / 0.6346 GB, free: 13.13 MB / 0.6042 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.0007109/0.01375, allocations: 0.587 MB / 0.6352 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.663e-05/0.01382, allocations: 37.69 kB / 0.6352 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01383, allocations: 0 / 0.6352 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.01383, allocations: 4 kB / 0.6352 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.0141, allocations: 465.9 kB / 0.6357 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.01436, allocations: 257.7 kB / 0.6359 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.0144, allocations: 67.34 kB / 0.636 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.172e-05/0.01442, allocations: 8.5 kB / 0.636 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.01442, allocations: 0 / 0.636 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.004816/0.01923, allocations: 5.002 MB / 0.6409 GB, free: 6.652 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.527683357708156] Failed to read output from testmodel.py, exit status != 0: 0.024211794137954712 0.031635343 0.020169178000000003 Calling exit ...