Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.WriteRealVariables.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.001317/0.001317, allocations: 106.1 kB / 19.6 MB, free: 2.34 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.001887/0.001887, allocations: 213.4 kB / 22.89 MB, free: 5.633 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.521/1.521, allocations: 230.5 MB / 256.5 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.007094/0.007094, allocations: 1.011 MB / 313.9 MB, free: 2.293 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.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(KeyWordIO.Examples.WriteRealVariables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariables") translateModel(KeyWordIO.Examples.WriteRealVariables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariables") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.336e-05, allocations: 2.281 kB / 436.5 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.WriteRealVariables): time 0.002081/0.002104, allocations: 1.373 MB / 437.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009871/0.003091, allocations: 0.8997 MB / 438.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.003122, allocations: 4 kB / 438.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.003151, allocations: 3.938 kB / 438.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.00337, allocations: 11.92 kB / 438.8 MB, free: 14.01 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/writeRealVariables.mo:2:1-21:23:writable] Warning: Pure function 'KeyWordIO.writeRealVariables' contains a call to impure function 'Modelica.Utilities.Files.removeFile'. Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.003598, allocations: 43.89 kB / 438.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.879e-05/0.003686, allocations: 27.92 kB / 438.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.00373, allocations: 3.984 kB / 438.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.003761, allocations: 11.94 kB / 438.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.003824, allocations: 15.86 kB / 438.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.003837, allocations: 4 kB / 438.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.003945, allocations: 59.89 kB / 439 MB, free: 13.84 MB / 302.1 MB Notification: Performance of combineBinaries: time 5.234e-05/0.003997, allocations: 47.42 kB / 439 MB, free: 13.8 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.321e-05/0.00401, allocations: 35.5 kB / 439.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.004034, allocations: 4 kB / 439.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.224e-05/0.004046, allocations: 3.984 kB / 439.1 MB, free: 13.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (2) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0003536/0.0044, allocations: 284.7 kB / 439.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.265e-05/0.004432, allocations: 27.98 kB / 439.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of Early Inline: time 6.381e-05/0.004496, allocations: 84.25 kB / 439.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of Simplify 1: time 6.091e-05/0.004557, allocations: 96.58 kB / 439.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of Alias: time 6.544e-05/0.004622, allocations: 92.78 kB / 439.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of Simplify 2: time 4.237e-05/0.004665, allocations: 68.67 kB / 439.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Remove Stream: time 2.665e-05/0.004691, allocations: 44.42 kB / 439.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of Detect States: time 6.196e-05/0.004753, allocations: 88.7 kB / 439.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Events: time 9.835e-05/0.004852, allocations: 27.97 kB / 439.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Partitioning: time 6.951e-05/0.004921, allocations: 36.11 kB / 439.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002064/0.005128, allocations: 60.03 kB / 440 MB, free: 12.46 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 5.211e-05/0.00518, allocations: 75.88 kB / 440.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Simplify: time 0.0001494/0.005329, allocations: 133.7 kB / 440.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of Inline: time 6.465e-05/0.005394, allocations: 99.98 kB / 440.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Partitioning: time 8.115e-06/0.005402, allocations: 8.125 kB / 440.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Cleanup: time 3.501e-05/0.005437, allocations: 31.97 kB / 440.3 MB, free: 12.04 MB / 302.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real y_end (start = 0.0) Following equations were created by fixing variables: Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.483591765165329] Failed to read output from testmodel.py, exit status != 0: 0.011556640267372131 0.022889894 0.015823002000000003 Calling exit ...