Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.000839/0.000839, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007991/0.0007991, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8917/0.8917, allocations: 177.1 MB / 203.5 MB, free: 5.719 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-531:686: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-531:694: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.7165/0.7165, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.781e-05, allocations: 5.094 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003726/0.003754, allocations: 3.795 MB / 0.6231 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.006047, allocations: 2.226 MB / 0.6253 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.006229, allocations: 15.94 kB / 0.6253 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.007288, allocations: 0.5129 MB / 0.6258 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.007539, allocations: 257.8 kB / 0.626 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.007682, allocations: 139.8 kB / 0.6262 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.008226, allocations: 0.8431 MB / 0.627 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.0085, allocations: 207 kB / 0.6272 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004101/0.00891, allocations: 463 kB / 0.6276 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.009149, allocations: 243.3 kB / 0.6279 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.289e-05/0.009211, allocations: 72 kB / 0.6279 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.009274, allocations: 76 kB / 0.628 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.0094, allocations: 171.4 kB / 0.6282 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.009569, allocations: 271.4 kB / 0.6284 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.01024, allocations: 0.9968 MB / 0.6294 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01024, allocations: 0 / 0.6294 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.714e-06/0.01024, allocations: 0 / 0.6294 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.01025, allocations: 0 / 0.6294 GB, free: 2.812 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001051/0.0113, allocations: 0.8822 MB / 0.6303 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.01135, allocations: 8.031 kB / 0.6303 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.01144, allocations: 76.47 kB / 0.6303 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.0119, allocations: 403.5 kB / 0.6307 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.01192, allocations: 33.38 kB / 0.6308 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.01198, allocations: 48.38 kB / 0.6308 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.01268, allocations: 427 kB / 0.6312 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.0127, allocations: 8.141 kB / 0.6312 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.01273, allocations: 20.38 kB / 0.6312 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.01274, allocations: 15.94 kB / 0.6313 GB, free: 0.8516 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.01319, allocations: 363.8 kB / 0.6316 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.01451, allocations: 1.176 MB / 0.6328 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.01487, allocations: 303.2 kB / 0.633 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.01521, allocations: 287.8 kB / 0.6333 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.01523, allocations: 8 kB / 0.6333 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.01525, allocations: 34.55 kB / 0.6334 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.505e-06/0.01526, allocations: 3.938 kB / 0.6334 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.000613/0.01587, allocations: 498.5 kB / 0.6338 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.01591, allocations: 67.28 kB / 0.6339 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.01625, allocations: 434 kB / 0.6343 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.01628, allocations: 33.7 kB / 0.6344 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.01641, allocations: 284.5 kB / 0.6346 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.0165, allocations: 146.7 kB / 0.6348 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.01657, allocations: 58.08 kB / 0.6348 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.01668, allocations: 362.8 kB / 0.6352 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.01684, allocations: 124.7 kB / 0.6353 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.01698, allocations: 129.2 kB / 0.6354 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.0173, allocations: 298.4 kB / 0.6357 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.0173, allocations: 0 / 0.6357 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004041/0.01771, allocations: 388.5 kB / 0.6361 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.01773, allocations: 8 kB / 0.6361 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.01773, allocations: 0 / 0.6361 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01775, allocations: 4 kB / 0.6361 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.01803, allocations: 131.8 kB / 0.6362 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.01804, allocations: 4 kB / 0.6362 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.825e-05/0.01813, allocations: 35.77 kB / 0.6362 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.01815, allocations: 8 kB / 0.6362 GB, free: 11.64 MB / 0.6042 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001588/0.01831, allocations: 193.7 kB / 0.6364 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.01835, allocations: 51.67 kB / 0.6365 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.01842, allocations: 64.73 kB / 0.6365 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01842, allocations: 8 kB / 0.6365 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.01843, allocations: 7.938 kB / 0.6366 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.01844, allocations: 3.984 kB / 0.6366 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.01878, allocations: 405 kB / 0.6369 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01878, allocations: 3.938 kB / 0.6369 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.01906, allocations: 123.9 kB / 0.6371 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01907, allocations: 3.984 kB / 0.6371 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.01908, allocations: 12 kB / 0.6371 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01909, allocations: 0 / 0.6371 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01909, allocations: 8 kB / 0.6371 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.01973, allocations: 0.6432 MB / 0.6377 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.01979, allocations: 59.58 kB / 0.6378 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.01983, allocations: 12 kB / 0.6378 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.964e-05/0.01993, allocations: 11.98 kB / 0.6378 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.01999, allocations: 27.89 kB / 0.6378 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.02, allocations: 12 kB / 0.6378 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004099/0.02041, allocations: 319.1 kB / 0.6381 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02041, allocations: 4 kB / 0.6381 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002443/0.02065, allocations: 151.6 kB / 0.6383 GB, free: 9.484 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001171/0.02077, allocations: 111.2 kB / 0.6384 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.02115, allocations: 303.4 kB / 0.6387 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02116, allocations: 0 / 0.6387 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.02132, allocations: 167.9 kB / 0.6388 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.02171, allocations: 93.59 kB / 0.6389 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.02297, allocations: 1.112 MB / 0.64 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.02316, allocations: 271.2 kB / 0.6403 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.02325, allocations: 36.5 kB / 0.6403 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.02325, allocations: 0 / 0.6403 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of Templates: time 0.006768/0.03002, allocations: 6.715 MB / 0.6469 GB, free: 0.6797 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.696968553587794] Failed to read output from testmodel.py, exit status != 0: 0.03647040203213692 0.044714241 0.032680398 Calling exit ...