Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Chemical.Examples.AcidBase.Phosphate.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.001859/0.001859, allocations: 77.22 kB / 20.67 MB, free: 3.832 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.002002/0.002002, allocations: 165 kB / 24.07 MB, free: 444 kB / 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 1.587/1.587, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.1132/0.1132, allocations: 12.76 MB / 273.8 MB, free: 116 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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(Bodylight.Chemical.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.AcidBase.Phosphate") translateModel(Bodylight.Chemical.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.AcidBase.Phosphate") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.257e-05, allocations: 2.312 kB / 347.9 MB, free: 1.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.AcidBase.Phosphate): time 0.009237/0.00926, allocations: 4.606 MB / 352.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.02261, allocations: 5.395 MB / 357.9 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004218/0.02303, allocations: 39.62 kB / 358 MB, free: 7.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.02347, allocations: 130.7 kB / 358.1 MB, free: 7.781 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H3PO4.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H3PO4.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H3PO4.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H2PO4.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H2PO4.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H2PO4.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.HPO4.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.HPO4.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.HPO4.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.PO4.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.PO4.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.PO4.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.003287/0.02676, allocations: 0.9129 MB / 359 MB, free: 6.863 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H3PO4.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H3PO4.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H2PO4.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.H2PO4.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.HPO4.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.HPO4.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.PO4.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.Phosphate.PO4.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.03007, allocations: 0.919 MB / 359.9 MB, free: 5.941 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.03198, allocations: 1.148 MB / 361.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.03234, allocations: 110.1 kB / 361.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008306/0.04064, allocations: 4.348 MB / 365.5 MB, free: 328 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007545/0.0414, allocations: 315.1 kB / 365.9 MB, free: 12 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.04152, allocations: 40.05 kB / 365.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.04169, allocations: 51.94 kB / 365.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of combineBinaries: time 0.001458/0.04315, allocations: 1.129 MB / 367.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of replaceArrayConstructors: time 0.0006865/0.04383, allocations: 0.7209 MB / 367.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.04397, allocations: 63.94 kB / 367.9 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0002298/0.0442, allocations: 127.5 kB / 368 MB, free: 13.87 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 (91) * Number of variables: 94 (83) Notification: Performance of [SIM] Bindings: time 0.003328/0.04753, allocations: 2.776 MB / 370.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009296/0.04846, allocations: 0.5159 MB / 371.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of [SIM] Early Inline: time 0.002138/0.05059, allocations: 1.804 MB / 373.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0003313/0.05093, allocations: 196 kB / 373.3 MB, free: 8.344 MB / 346.7 MB Notification: Performance of [SIM] Alias: time 0.003098/0.05402, allocations: 1.84 MB / 375.1 MB, free: 6.215 MB / 346.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0002783/0.0543, allocations: 168.2 kB / 375.3 MB, free: 6.023 MB / 346.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001849/0.05449, allocations: 140.1 kB / 375.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of [SIM] Detect States: time 0.0006315/0.05512, allocations: 454.3 kB / 375.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of [SIM] Events: time 0.0002163/0.05534, allocations: 131.8 kB / 376 MB, free: 5.211 MB / 346.7 MB Notification: Performance of [SIM] Partitioning: time 0.0008216/0.05616, allocations: 0.5775 MB / 376.6 MB, free: 4.574 MB / 346.7 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: product " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.679054918233305]