Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Chemical.Examples.SimpleReaction.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.002233/0.002233, allocations: 77.97 kB / 20.67 MB, free: 3.836 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.002784/0.002784, allocations: 165.4 kB / 24.07 MB, free: 448 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.609/1.609, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.09092/0.09092, allocations: 12.77 MB / 273.8 MB, free: 120 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.SimpleReaction") translateModel(Bodylight.Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.461e-05, allocations: 2.312 kB / 347.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.SimpleReaction): time 0.004088/0.004102, allocations: 2.677 MB / 350.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.009281, allocations: 2.73 MB / 353.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.009403, allocations: 15.88 kB / 353.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.009558, allocations: 35.58 kB / 353.4 MB, free: 11.48 MB / 282.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.SimpleReaction.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.SimpleReaction.A.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.SimpleReaction.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.SimpleReaction.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.SimpleReaction.B.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.SimpleReaction.B.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.001104/0.01066, allocations: 405.8 kB / 353.8 MB, free: 11.09 MB / 282.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.SimpleReaction.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.SimpleReaction.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.SimpleReaction.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.SimpleReaction.B.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.0009643/0.01163, allocations: 430.6 kB / 354.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.01212, allocations: 370.4 kB / 354.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.01225, allocations: 32.56 kB / 354.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.0148, allocations: 1.686 MB / 356.3 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.015, allocations: 103.7 kB / 356.4 MB, free: 8.477 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.01503, allocations: 12 kB / 356.4 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.902e-05/0.01511, allocations: 16 kB / 356.4 MB, free: 8.449 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.0006306/0.01574, allocations: 369.5 kB / 356.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0002255/0.01597, allocations: 242.1 kB / 357 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.016, allocations: 20 kB / 357 MB, free: 7.828 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.596e-05/0.01609, allocations: 43.81 kB / 357.1 MB, free: 7.785 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 (25) * Number of variables: 25 (25) Notification: Performance of [SIM] Bindings: time 0.001288/0.01738, allocations: 0.9725 MB / 358 MB, free: 6.691 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002683/0.01765, allocations: 153.3 kB / 358.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.0006692/0.01832, allocations: 0.5245 MB / 358.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0001204/0.01844, allocations: 73.69 kB / 358.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.0009743/0.01941, allocations: 0.5849 MB / 359.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0001195/0.01953, allocations: 81.17 kB / 359.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 8.647e-05/0.01962, allocations: 64.34 kB / 359.5 MB, free: 4.973 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0002909/0.01991, allocations: 195.5 kB / 359.7 MB, free: 4.719 MB / 282.7 MB Notification: Performance of [SIM] Events: time 4.531e-05/0.01995, allocations: 31.97 kB / 359.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.0002921/0.02024, allocations: 188.3 kB / 359.9 MB, free: 4.469 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.0003114/0.02056, allocations: 188.2 kB / 360.1 MB, free: 4.285 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003024/0.02086, allocations: 283.7 kB / 360.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.0006926/0.02155, allocations: 394.5 kB / 360.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.000595/0.02215, allocations: 0.5229 MB / 361.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of [INI] Partitioning: time 2.6e-05/0.02217, allocations: 12.12 kB / 361.3 MB, free: 3.027 MB / 282.7 MB Notification: Performance of [INI] Cleanup: time 9.476e-05/0.02227, allocations: 83.84 kB / 361.4 MB, free: 2.945 MB / 282.7 MB Notification: Performance of [INI] Causalize: time 0.0005735/0.02284, allocations: 338.7 kB / 361.7 MB, free: 2.617 MB / 282.7 MB Notification: Performance of [INI] Tearing: time 1.519e-05/0.02286, allocations: 12 kB / 361.7 MB, free: 2.605 MB / 282.7 MB Notification: Performance of [SIM] Initialization: time 4.71e-07/0.02286, allocations: 0 / 361.7 MB, free: 2.605 MB / 282.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.306e-06/0.02286, allocations: 4 kB / 361.7 MB, free: 2.602 MB / 282.7 MB Notification: Performance of [SIM] Tearing: time 7.044e-06/0.02287, allocations: 8 kB / 361.7 MB, free: 2.594 MB / 282.7 MB Notification: Performance of [SIM] Categorize: time 8.266e-06/0.02287, allocations: 3.938 kB / 361.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of [SIM] Solve: time 0.0003606/0.02323, allocations: 199.9 kB / 361.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of [SIM] Jacobian: time 0.0003718/0.02361, allocations: 212.4 kB / 362.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.51e-07/0.02361, allocations: 0 / 362.1 MB, free: 2.148 MB / 282.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 4.596e-05/0.02365, allocations: 24.41 kB / 362.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of SimCode: time 0.001038/0.02469, allocations: 0.5941 MB / 362.8 MB, free: 1.508 MB / 282.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.4290318279527128]