Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.JSONTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 112.2 kB / 16.43 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 183.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.01084/0.01084, allocations: 2.96 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.857e-05, allocations: 2.281 kB / 406.9 MB, free: 28.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.002046/0.002072, allocations: 1.708 MB / 408.6 MB, free: 27.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.003656, allocations: 1.616 MB / 410.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.003733, allocations: 0 / 410.2 MB, free: 25.6 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo:104:3-139:15:writable] Warning: Pure function 'ExternData.JSONFile' contains a call to impure function 'ExternData.Types.ExternJSONFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000282/0.004022, allocations: 39.73 kB / 410.2 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.004308, allocations: 131.4 kB / 410.4 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.004511, allocations: 84.28 kB / 410.5 MB, free: 25.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.004646, allocations: 95.75 kB / 410.5 MB, free: 25.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.354e-05/0.004726, allocations: 27.95 kB / 410.6 MB, free: 25.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.00479, allocations: 35.86 kB / 410.6 MB, free: 25.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.004953, allocations: 43.77 kB / 410.7 MB, free: 25.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.004979, allocations: 4 kB / 410.7 MB, free: 25.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.005212, allocations: 219.7 kB / 410.9 MB, free: 24.93 MB / 302.1 MB Notification: Performance of combineBinaries: time 7.194e-05/0.005292, allocations: 130.5 kB / 411 MB, free: 24.8 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.282e-05/0.005321, allocations: 82.69 kB / 411.1 MB, free: 24.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.005356, allocations: 8 kB / 411.1 MB, free: 24.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.21e-05/0.005373, allocations: 7.938 kB / 411.1 MB, free: 24.71 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: 12 (8) * Number of variables: 12 (12) Notification: Performance of Bindings: time 0.000469/0.005847, allocations: 498.7 kB / 411.6 MB, free: 24.12 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.744e-05/0.005881, allocations: 11.98 kB / 411.6 MB, free: 24.11 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001455/0.006031, allocations: 184.3 kB / 411.8 MB, free: 23.9 MB / 302.1 MB Notification: Performance of simplify1: time 1.469e-05/0.006052, allocations: 11.94 kB / 411.8 MB, free: 23.89 MB / 302.1 MB Notification: Performance of Alias: time 0.0003393/0.006396, allocations: 237 kB / 412 MB, free: 23.6 MB / 302.1 MB Notification: Performance of simplify2: time 7.885e-06/0.006413, allocations: 11.98 kB / 412 MB, free: 23.59 MB / 302.1 MB Notification: Performance of Events: time 9.555e-05/0.006513, allocations: 31.92 kB / 412.1 MB, free: 23.56 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001063/0.006627, allocations: 100.1 kB / 412.2 MB, free: 23.45 MB / 302.1 MB Notification: Performance of Partitioning: time 7.058e-05/0.006705, allocations: 68.2 kB / 412.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002037/0.006915, allocations: 184.4 kB / 412.4 MB, free: 23.17 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001316/0.007055, allocations: 180.3 kB / 412.6 MB, free: 22.96 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!