Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Chemical.Examples.ExothermicReaction.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.001742/0.001742, allocations: 77.97 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.002299/0.002299, allocations: 169.4 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.546/1.546, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.1416/0.1416, allocations: 12.77 MB / 273.8 MB, free: 100 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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.ExothermicReaction") translateModel(Bodylight.Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.ExothermicReaction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/1.951e-05, allocations: 2.312 kB / 347.9 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.ExothermicReaction): time 0.005033/0.005053, allocations: 2.895 MB / 350.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005412/0.01047, allocations: 2.765 MB / 353.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.01071, allocations: 15.81 kB / 353.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.01093, allocations: 47.52 kB / 353.6 MB, free: 12.27 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.ExothermicReaction.A.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.ExothermicReaction.A.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.ExothermicReaction.A.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.ExothermicReaction.B.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.ExothermicReaction.B.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.ExothermicReaction.B.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.001392/0.01232, allocations: 421.7 kB / 354.1 MB, free: 11.85 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.ExothermicReaction.A.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.ExothermicReaction.A.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.ExothermicReaction.B.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.ExothermicReaction.B.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.01348, allocations: 438.6 kB / 354.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000703/0.01418, allocations: 446 kB / 354.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.01437, allocations: 32.92 kB / 355 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.01723, allocations: 1.721 MB / 356.7 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.01752, allocations: 107.7 kB / 356.8 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.01756, allocations: 20 kB / 356.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.401e-05/0.01765, allocations: 20 kB / 356.8 MB, free: 9.086 MB / 330.7 MB Notification: Performance of combineBinaries: time 0.0004785/0.01812, allocations: 441 kB / 357.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of replaceArrayConstructors: time 0.0002742/0.0184, allocations: 277.8 kB / 357.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.01844, allocations: 24 kB / 357.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0001029/0.01855, allocations: 51.86 kB / 357.6 MB, free: 8.305 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 (35) * Number of variables: 35 (35) Notification: Performance of [SIM] Bindings: time 0.001523/0.02007, allocations: 1.125 MB / 358.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002865/0.02035, allocations: 175.6 kB / 358.9 MB, free: 6.867 MB / 330.7 MB Notification: Performance of [SIM] Early Inline: time 0.0007793/0.02113, allocations: 0.6442 MB / 359.5 MB, free: 6.195 MB / 330.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0001388/0.02127, allocations: 88.3 kB / 359.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of [SIM] Alias: time 0.001391/0.02266, allocations: 0.7819 MB / 360.4 MB, free: 5.172 MB / 330.7 MB Notification: Performance of [SIM] Simplify 2: time 0.000107/0.02277, allocations: 68.38 kB / 360.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of [SIM] Remove Stream: time 8.752e-05/0.02286, allocations: 72.33 kB / 360.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of [SIM] Detect States: time 0.0002829/0.02314, allocations: 200.2 kB / 360.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of [SIM] Events: time 5.149e-05/0.02319, allocations: 39.97 kB / 360.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of [SIM] Partitioning: time 0.000297/0.02349, allocations: 196.3 kB / 361 MB, free: 4.453 MB / 330.7 MB Notification: Performance of [SIM] Causalize: time 0.0003075/0.0238, allocations: 188.5 kB / 361.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002921/0.02409, allocations: 275.7 kB / 361.4 MB, free: 4 MB / 330.7 MB Notification: Performance of [INI] Simplify: time 0.0007723/0.02486, allocations: 456.1 kB / 361.9 MB, free: 3.5 MB / 330.7 MB Notification: Performance of [INI] Inline: time 0.0005756/0.02544, allocations: 0.5267 MB / 362.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of [INI] Partitioning: time 3.006e-05/0.02547, allocations: 20.11 kB / 362.4 MB, free: 2.941 MB / 330.7 MB Notification: Performance of [INI] Cleanup: time 9.293e-05/0.02556, allocations: 87.84 kB / 362.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of [INI] Causalize: time 0.0005666/0.02613, allocations: 328.7 kB / 362.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of [INI] Tearing: time 1.942e-05/0.02615, allocations: 16 kB / 362.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of [SIM] Initialization: time 5.01e-07/0.02615, allocations: 0 / 362.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of [SIM] Remove Dummies: time 6.743e-06/0.02615, allocations: 4 kB / 362.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of [SIM] Tearing: time 7.374e-06/0.02616, allocations: 8 kB / 362.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of [SIM] Categorize: time 1.387e-05/0.02617, allocations: 7.938 kB / 362.9 MB, free: 2.492 MB / 330.7 MB Notification: Performance of [SIM] Solve: time 0.0003372/0.02651, allocations: 195.9 kB / 363 MB, free: 2.301 MB / 330.7 MB Notification: Performance of [SIM] Jacobian: time 0.0006145/0.02713, allocations: 200.5 kB / 363.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.11e-07/0.02713, allocations: 4 kB / 363.2 MB, free: 2.062 MB / 330.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {A.state, B.state} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 18 (scalar:16, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 27 (scalar:25, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.921e-05/0.02717, allocations: 21.92 kB / 363.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of SimCode: time 0.001119/0.02828, allocations: 0.6403 MB / 363.9 MB, free: 1.379 MB / 330.7 MB [CodegenCFunctions.tpl:6720:40-6720:40:writable] Error: Template error: daeExpBinary:ERR for POW_ARR2 not implemented. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.541820358019322]