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.001264/0.001264, allocations: 78.95 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001397/0.001397, allocations: 167.4 kB / 22.46 MB, free: 5.371 MB / 14.72 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.4/1.4, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 1.167/1.167, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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 178] 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 2.044e-06/2.044e-06, allocations: 0 / 0.6186 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.354e-05, allocations: 8.453 kB / 0.6186 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005566/0.005599, allocations: 3.792 MB / 0.6223 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003591/0.009191, allocations: 2.228 MB / 0.6245 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.009415, allocations: 16 kB / 0.6245 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.0109, allocations: 0.509 MB / 0.625 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.01137, allocations: 257.8 kB / 0.6253 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.01159, allocations: 139.8 kB / 0.6254 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008738/0.01246, allocations: 0.8405 MB / 0.6262 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.01284, allocations: 219 kB / 0.6264 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006477/0.01348, allocations: 467 kB / 0.6269 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/0.01384, allocations: 231.3 kB / 0.6271 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-05/0.01393, allocations: 80 kB / 0.6272 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.01407, allocations: 76 kB / 0.6273 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.01425, allocations: 167.4 kB / 0.6274 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.01456, allocations: 271.4 kB / 0.6277 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.0156, allocations: 0.9969 MB / 0.6287 GB, free: 10.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.0156, allocations: 0 / 0.6287 GB, free: 10.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.0156, allocations: 0 / 0.6287 GB, free: 10.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.01561, allocations: 0 / 0.6287 GB, free: 10.23 MB / 0.545 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.00151/0.01712, allocations: 0.8782 MB / 0.6295 GB, free: 9.316 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.01716, allocations: 12.03 kB / 0.6295 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.01727, allocations: 88.41 kB / 0.6296 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.01793, allocations: 399.5 kB / 0.63 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.01797, allocations: 37.38 kB / 0.63 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.569e-05/0.01806, allocations: 48.38 kB / 0.6301 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.01885, allocations: 423 kB / 0.6305 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.01887, allocations: 8.125 kB / 0.6305 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.01892, allocations: 20.38 kB / 0.6305 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.01893, allocations: 15.94 kB / 0.6305 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.0197, allocations: 363.8 kB / 0.6309 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.02165, allocations: 1.16 MB / 0.632 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.0222, allocations: 316.4 kB / 0.6323 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.0227, allocations: 290.1 kB / 0.6326 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.02273, allocations: 4 kB / 0.6326 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.02276, allocations: 38.56 kB / 0.6326 GB, free: 6.055 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.02276, allocations: 4 kB / 0.6326 GB, free: 6.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.001033/0.02379, allocations: 486.6 kB / 0.6331 GB, free: 5.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.02384, allocations: 67.28 kB / 0.6331 GB, free: 5.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.02438, allocations: 446 kB / 0.6336 GB, free: 5.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.02441, allocations: 29.7 kB / 0.6336 GB, free: 5.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.02463, allocations: 280.5 kB / 0.6339 GB, free: 4.734 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.02477, allocations: 154.6 kB / 0.634 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.02487, allocations: 62.08 kB / 0.6341 GB, free: 4.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.02505, allocations: 358.8 kB / 0.6344 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.02531, allocations: 120.7 kB / 0.6345 GB, free: 4.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.02558, allocations: 133.2 kB / 0.6347 GB, free: 3.906 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.02614, allocations: 290.4 kB / 0.6349 GB, free: 3.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.02614, allocations: 0 / 0.6349 GB, free: 3.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007252/0.02687, allocations: 392.5 kB / 0.6353 GB, free: 3.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.02689, allocations: 12 kB / 0.6353 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.02689, allocations: 0 / 0.6353 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.02691, allocations: 0 / 0.6353 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.02745, allocations: 131.7 kB / 0.6354 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.02746, allocations: 4 kB / 0.6355 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.02768, allocations: 27.83 kB / 0.6355 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.0277, allocations: 8 kB / 0.6355 GB, free: 3.051 MB / 0.545 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.0002406/0.02794, allocations: 202.8 kB / 0.6357 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.02802, allocations: 47.72 kB / 0.6357 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.02814, allocations: 56.81 kB / 0.6358 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.02814, allocations: 4 kB / 0.6358 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.02815, allocations: 7.922 kB / 0.6358 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.02816, allocations: 3.984 kB / 0.6358 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.02874, allocations: 420.9 kB / 0.6362 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02874, allocations: 7.875 kB / 0.6362 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.02928, allocations: 123.9 kB / 0.6363 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.02929, allocations: 7.984 kB / 0.6363 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.02931, allocations: 8 kB / 0.6363 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.02931, allocations: 0 / 0.6363 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.02932, allocations: 4 kB / 0.6363 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.03038, allocations: 0.6471 MB / 0.637 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.03048, allocations: 59.64 kB / 0.637 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.03054, allocations: 11.98 kB / 0.637 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.03078, allocations: 12 kB / 0.6371 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.03085, allocations: 27.89 kB / 0.6371 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.03087, allocations: 12 kB / 0.6371 GB, free: 1.348 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003812/0.03126, allocations: 319.1 kB / 0.6374 GB, free: 1.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.03126, allocations: 4 kB / 0.6374 GB, free: 1.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004268/0.03168, allocations: 143.7 kB / 0.6375 GB, free: 0.8945 MB / 0.545 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.0001458/0.03183, allocations: 111.2 kB / 0.6376 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006333/0.03246, allocations: 303.4 kB / 0.6379 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03246, allocations: 4 kB / 0.6379 GB, free: 488 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.03277, allocations: 175.9 kB / 0.6381 GB, free: 312 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.03335, allocations: 90.69 kB / 0.6382 GB, free: 224 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.03522, allocations: 1.09 MB / 0.6393 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.0355, allocations: 263.2 kB / 0.6395 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.03566, allocations: 47.39 kB / 0.6395 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.03576, allocations: 32.5 kB / 0.6396 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.03576, allocations: 0 / 0.6396 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.01109/0.04685, allocations: 4.951 MB / 0.6444 GB, free: 9.941 MB / 0.5606 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.705020520836115] Failed to read output from testmodel.py, exit status != 0: 0.05578240752220154 0.070140178 0.051469248 Calling exit ...