Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Chemical.Examples.SimpleReaction2.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.002216/0.002216, allocations: 73.22 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.002794/0.002794, allocations: 169 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.61/1.61, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.09217/0.09217, allocations: 12.77 MB / 273.8 MB, free: 92 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.SimpleReaction2") translateModel(Bodylight.Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.46e-05, allocations: 2.312 kB / 347.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.SimpleReaction2): time 0.004031/0.004046, allocations: 2.907 MB / 350.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.009904, allocations: 3.509 MB / 354.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.01002, allocations: 15.81 kB / 354.3 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.01018, allocations: 51.45 kB / 354.4 MB, free: 10.44 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.SimpleReaction2.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.SimpleReaction2.A.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.SimpleReaction2.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.SimpleReaction2.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.SimpleReaction2.B.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.SimpleReaction2.B.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.SimpleReaction2.C.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.SimpleReaction2.C.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.SimpleReaction2.C.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.001253/0.01143, allocations: 0.5207 MB / 354.9 MB, free: 9.914 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.SimpleReaction2.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.SimpleReaction2.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.SimpleReaction2.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.SimpleReaction2.B.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.SimpleReaction2.C.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.SimpleReaction2.C.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.01261, allocations: 0.5606 MB / 355.5 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.01315, allocations: 478 kB / 355.9 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.01327, allocations: 32.92 kB / 356 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.0167, allocations: 2.502 MB / 358.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.0169, allocations: 115.6 kB / 358.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.01693, allocations: 12 kB / 358.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.01701, allocations: 24 kB / 358.6 MB, free: 6.195 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.0005723/0.01758, allocations: 468.8 kB / 359.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0002576/0.01784, allocations: 305.6 kB / 359.4 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.01788, allocations: 24 kB / 359.4 MB, free: 5.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.458e-05/0.01796, allocations: 63.73 kB / 359.5 MB, free: 5.348 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: 34 (33) * Number of variables: 34 (32) Notification: Performance of [SIM] Bindings: time 0.001576/0.01954, allocations: 1.181 MB / 360.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002809/0.01982, allocations: 186.4 kB / 360.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.0008027/0.02062, allocations: 0.6364 MB / 361.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0001332/0.02075, allocations: 84.25 kB / 361.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.001124/0.02188, allocations: 0.7353 MB / 362.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of [SIM] Simplify 2: time 0.000115/0.02199, allocations: 82.31 kB / 362.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 9.104e-05/0.02208, allocations: 77.64 kB / 362.4 MB, free: 1.988 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0002983/0.02238, allocations: 208.8 kB / 362.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of [SIM] Events: time 5.631e-05/0.02244, allocations: 43.89 kB / 362.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.0003128/0.02275, allocations: 229.6 kB / 362.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.000396/0.02315, allocations: 251.2 kB / 363.2 MB, free: 1.164 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003385/0.02349, allocations: 335.6 kB / 363.5 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.0007041/0.02419, allocations: 441.1 kB / 363.9 MB, free: 360 kB / 282.7 MB Notification: Performance of [INI] Inline: time 0.0007497/0.02494, allocations: 0.6568 MB / 364.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of [INI] Partitioning: time 3.823e-05/0.02498, allocations: 22.73 kB / 364.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of [INI] Cleanup: time 0.00011/0.02509, allocations: 95.89 kB / 364.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of [INI] Causalize: time 0.0007398/0.02583, allocations: 490.3 kB / 365.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of [INI] Tearing: time 1.748e-05/0.02585, allocations: 16 kB / 365.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of [SIM] Initialization: time 4.21e-07/0.02585, allocations: 0 / 365.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.707e-06/0.02585, allocations: 0 / 365.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of [SIM] Tearing: time 1.168e-05/0.02586, allocations: 12 kB / 365.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of [SIM] Categorize: time 6.061e-06/0.02587, allocations: 0 / 365.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of [SIM] Solve: time 0.0003916/0.02626, allocations: 237.8 kB / 365.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of [SIM] Jacobian: time 0.0004215/0.02668, allocations: 261.8 kB / 365.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.61e-07/0.02668, allocations: 7.938 kB / 365.7 MB, free: 14.52 MB / 298.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: ............................. 3 (3) {A.state, B.state, C.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: ........... 23 (scalar:21, 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: ........... 37 (scalar:35, 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.413e-05/0.02673, allocations: 33.2 kB / 365.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of SimCode: time 0.001145/0.02787, allocations: 0.7196 MB / 366.4 MB, free: 13.75 MB / 298.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.605124275200069]