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.00132/0.00132, allocations: 74.66 kB / 19.95 MB, free: 1.945 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.001398/0.001398, allocations: 165.1 kB / 23.22 MB, free: 4.957 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.281/1.281, allocations: 177.2 MB / 203.6 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.00624/0.00624, allocations: 0.8021 MB / 260.8 MB, free: 15.94 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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 1.623e-05/1.623e-05, allocations: 5.375 kB / 383.6 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.WriteRealVariables): time 0.002303/0.002319, allocations: 1.398 MB / 385 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003549, allocations: 0.9037 MB / 385.9 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.003585, allocations: 0 / 385.9 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.003611, allocations: 3.938 kB / 385.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.003812, allocations: 7.938 kB / 385.9 MB, free: 1.477 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.0002903/0.004103, allocations: 55.69 kB / 386 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.004195, allocations: 31.91 kB / 386 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.004232, allocations: 0 / 386 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.004279, allocations: 11.98 kB / 386 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.004333, allocations: 11.88 kB / 386 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.004345, allocations: 4 kB / 386 MB, free: 1.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.004464, allocations: 43.95 kB / 386.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.066e-05/0.004525, allocations: 43.55 kB / 386.1 MB, free: 1.277 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.995e-05/0.004545, allocations: 31.56 kB / 386.1 MB, free: 1.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.004565, allocations: 4 kB / 386.1 MB, free: 1.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.013e-05/0.004575, allocations: 4 kB / 386.2 MB, free: 1.238 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 [SIM] Bindings: time 0.0004203/0.004996, allocations: 276.8 kB / 386.4 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.163e-05/0.005057, allocations: 39.98 kB / 386.5 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001068/0.005164, allocations: 96.31 kB / 386.6 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.432e-05/0.005248, allocations: 76.61 kB / 386.6 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000107/0.005355, allocations: 92.66 kB / 386.7 MB, free: 424 kB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.476e-05/0.00542, allocations: 68.72 kB / 386.8 MB, free: 308 kB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.278e-05/0.005473, allocations: 48.41 kB / 386.8 MB, free: 232 kB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001406/0.005614, allocations: 121 kB / 387 MB, free: 44 kB / 302.1 MB Notification: Performance of [SIM] Events: time 8.433e-05/0.005698, allocations: 19.88 kB / 387 MB, free: 24 kB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001534/0.005851, allocations: 92.59 kB / 387.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0002017/0.006053, allocations: 56.28 kB / 387.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.837e-05/0.006121, allocations: 67.86 kB / 387.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0002096/0.006331, allocations: 149.1 kB / 387.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of [INI] Inline: time 9.624e-05/0.006427, allocations: 99.97 kB / 387.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 1.467e-05/0.006442, allocations: 12.12 kB / 387.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 4.402e-05/0.006486, allocations: 31.97 kB / 387.5 MB, free: 15.4 MB / 318.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.0051884930580854] Failed to read output from testmodel.py, exit status != 0: 0.01318877562880516 0.026564395 0.019231913 Calling exit ...