Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007152/0.0007152, 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.0007013/0.0007013, allocations: 177.9 kB / 23.21 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.8119/0.8119, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.6693/0.6693, 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 4 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.821e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003205/0.003224, allocations: 3.783 MB / 0.623 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.005328, allocations: 2.23 MB / 0.6252 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.005508, allocations: 12 kB / 0.6252 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009967/0.006505, allocations: 0.5198 MB / 0.6257 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.006759, allocations: 257.8 kB / 0.626 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.006898, allocations: 139.8 kB / 0.6261 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.007395, allocations: 0.8405 MB / 0.6269 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.007638, allocations: 211 kB / 0.6271 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.007991, allocations: 467 kB / 0.6276 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.008195, allocations: 243.3 kB / 0.6278 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.008246, allocations: 72 kB / 0.6279 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/0.008303, allocations: 76 kB / 0.628 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.008409, allocations: 167.4 kB / 0.6281 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.008561, allocations: 275.4 kB / 0.6284 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.009132, allocations: 0.9891 MB / 0.6294 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.009134, allocations: 0 / 0.6294 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.32e-07/0.009135, allocations: 0 / 0.6294 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.009142, allocations: 0 / 0.6294 GB, free: 2.895 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.0009825/0.01012, allocations: 0.8783 MB / 0.6302 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.01016, allocations: 9.469 kB / 0.6302 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.01023, allocations: 80.47 kB / 0.6303 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.01062, allocations: 399.5 kB / 0.6307 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.01064, allocations: 37.38 kB / 0.6307 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.01068, allocations: 44.38 kB / 0.6308 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.01113, allocations: 431 kB / 0.6312 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.01115, allocations: 192 / 0.6312 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.01117, allocations: 24.31 kB / 0.6312 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01118, allocations: 23.81 kB / 0.6312 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.0116, allocations: 359.8 kB / 0.6316 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.01275, allocations: 1.176 MB / 0.6327 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.01307, allocations: 307 kB / 0.633 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.01336, allocations: 298.1 kB / 0.6333 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.01337, allocations: 4 kB / 0.6333 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.01339, allocations: 34.5 kB / 0.6333 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.232e-06/0.01339, allocations: 0 / 0.6333 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0005696/0.01396, allocations: 0.4898 MB / 0.6338 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.01399, allocations: 59.34 kB / 0.6338 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.0143, allocations: 434 kB / 0.6343 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01432, allocations: 33.7 kB / 0.6343 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01444, allocations: 284.5 kB / 0.6346 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.01452, allocations: 146.7 kB / 0.6347 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.01458, allocations: 62.08 kB / 0.6348 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.01467, allocations: 354.8 kB / 0.6351 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.01482, allocations: 124.6 kB / 0.6352 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.01495, allocations: 129.4 kB / 0.6353 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.01526, allocations: 290.2 kB / 0.6356 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01526, allocations: 0 / 0.6356 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003758/0.01564, allocations: 396.5 kB / 0.636 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.01565, allocations: 4 kB / 0.636 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01565, allocations: 0 / 0.636 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01567, allocations: 0 / 0.636 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.01593, allocations: 135.8 kB / 0.6361 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01593, allocations: 7.938 kB / 0.6361 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.01602, allocations: 27.84 kB / 0.6362 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.01603, allocations: 8 kB / 0.6362 GB, free: 11.73 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.0001358/0.01617, allocations: 201.7 kB / 0.6364 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.01621, allocations: 47.67 kB / 0.6364 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.01627, allocations: 60.8 kB / 0.6365 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01627, allocations: 4 kB / 0.6365 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01628, allocations: 11.92 kB / 0.6365 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.01628, allocations: 0 / 0.6365 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.01673, allocations: 420.8 kB / 0.6369 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01673, allocations: 0 / 0.6369 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.01698, allocations: 123.9 kB / 0.637 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01699, allocations: 4 kB / 0.637 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.017, allocations: 12 kB / 0.637 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.017, allocations: 4 kB / 0.637 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.017, allocations: 0 / 0.637 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.01758, allocations: 0.6598 MB / 0.6377 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.01763, allocations: 55.58 kB / 0.6377 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.01766, allocations: 12 kB / 0.6377 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.01775, allocations: 8 kB / 0.6377 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.0178, allocations: 31.88 kB / 0.6378 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.01781, allocations: 12 kB / 0.6378 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002075/0.01802, allocations: 315.1 kB / 0.6381 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01802, allocations: 4 kB / 0.6381 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002271/0.01824, allocations: 147.7 kB / 0.6382 GB, free: 9.566 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 7.631e-05/0.01832, allocations: 107.2 kB / 0.6383 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.01866, allocations: 307.4 kB / 0.6386 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01866, allocations: 0 / 0.6386 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.01882, allocations: 163.8 kB / 0.6388 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.01915, allocations: 99.77 kB / 0.6389 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.02024, allocations: 1.124 MB / 0.64 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.0204, allocations: 271.2 kB / 0.6402 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.02047, allocations: 36.5 kB / 0.6403 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.02047, allocations: 0 / 0.6403 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of Templates: time 0.005528/0.026, allocations: 6.717 MB / 0.6468 GB, free: 0.75 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4865550780668855] Failed to read output from testmodel.py, exit status != 0: 0.030653629451990128 0.038178134 0.027611058 Calling exit ...