Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.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.004288/0.004288, 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.002536/0.002536, allocations: 165 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.605/1.605, 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.09174/0.09174, allocations: 12.77 MB / 273.8 MB, free: 124 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.SteadyStates.Examples.SimpleReaction_NormalInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit") translateModel(Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/1.978e-05, allocations: 6.25 kB / 348 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit): time 0.004657/0.004677, allocations: 2.871 MB / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006929/0.01161, allocations: 2.761 MB / 353.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.01179, allocations: 11.88 kB / 353.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.01202, allocations: 47.52 kB / 353.7 MB, free: 11.13 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.SteadyStates.Examples.SimpleReaction_NormalInit.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.SteadyStates.Examples.SimpleReaction_NormalInit.A.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.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.SteadyStates.Examples.SimpleReaction_NormalInit.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.SteadyStates.Examples.SimpleReaction_NormalInit.B.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.B.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.001578/0.0136, allocations: 413.7 kB / 354.1 MB, free: 10.72 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.SteadyStates.Examples.SimpleReaction_NormalInit.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.SteadyStates.Examples.SimpleReaction_NormalInit.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.SteadyStates.Examples.SimpleReaction_NormalInit.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.SteadyStates.Examples.SimpleReaction_NormalInit.B.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.01507, allocations: 446.6 kB / 354.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007737/0.01585, allocations: 430.2 kB / 355 MB, free: 9.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.01602, allocations: 36.86 kB / 355 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/0.01985, allocations: 1.714 MB / 356.7 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.02016, allocations: 111.6 kB / 356.9 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.0202, allocations: 12 kB / 356.9 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.02032, allocations: 27.98 kB / 356.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.0006049/0.02092, allocations: 409.2 kB / 357.3 MB, free: 7.562 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0003517/0.02127, allocations: 277.8 kB / 357.6 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.02134, allocations: 24 kB / 357.6 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.0001037/0.02144, allocations: 43.88 kB / 357.6 MB, free: 7.223 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: 31 (31) * Number of variables: 31 (30) Notification: Performance of [SIM] Bindings: time 0.00194/0.02338, allocations: 1.089 MB / 358.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004738/0.02385, allocations: 202.1 kB / 358.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.001124/0.02498, allocations: 0.6403 MB / 359.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0002198/0.0252, allocations: 100.2 kB / 359.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.001595/0.02679, allocations: 0.7114 MB / 360.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0001676/0.02696, allocations: 77.03 kB / 360.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001327/0.02709, allocations: 72.41 kB / 360.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0004366/0.02753, allocations: 204.8 kB / 360.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of [SIM] Events: time 9.361e-05/0.02762, allocations: 51.89 kB / 360.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.0004591/0.02808, allocations: 208.4 kB / 361 MB, free: 3.402 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.0006128/0.02869, allocations: 253.2 kB / 361.2 MB, free: 3.152 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005539/0.02925, allocations: 351.6 kB / 361.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.001052/0.0303, allocations: 438.4 kB / 362 MB, free: 2.324 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.001256/0.03156, allocations: 0.6632 MB / 362.7 MB, free: 1.656 MB / 282.7 MB Notification: Performance of [INI] Partitioning: time 4.669e-05/0.0316, allocations: 16.12 kB / 362.7 MB, free: 1.633 MB / 282.7 MB Notification: Performance of [INI] Cleanup: time 0.0001467/0.03175, allocations: 91.91 kB / 362.8 MB, free: 1.543 MB / 282.7 MB Notification: Performance of [INI] Causalize: time 0.001/0.03275, allocations: 417.9 kB / 363.2 MB, free: 1.133 MB / 282.7 MB Notification: Performance of [INI] Tearing: time 2.92e-05/0.03278, allocations: 20.16 kB / 363.2 MB, free: 1.113 MB / 282.7 MB Notification: Performance of [SIM] Initialization: time 6.12e-07/0.03278, allocations: 0 / 363.2 MB, free: 1.113 MB / 282.7 MB Notification: Performance of [SIM] Remove Dummies: time 4.178e-06/0.03278, allocations: 4 kB / 363.2 MB, free: 1.109 MB / 282.7 MB Notification: Performance of [SIM] Tearing: time 1.437e-05/0.0328, allocations: 15.94 kB / 363.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of [SIM] Categorize: time 7.114e-06/0.03281, allocations: 0 / 363.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of [SIM] Solve: time 0.0005583/0.03336, allocations: 225.7 kB / 363.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of [SIM] Jacobian: time 0.0006532/0.03402, allocations: 265 kB / 363.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 9.72e-07/0.03402, allocations: 0 / 363.7 MB, free: 0.5742 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: ........... 22 (scalar:20, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, 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: ........... 31 (scalar:29, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.833e-05/0.03408, allocations: 30.53 kB / 363.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of SimCode: time 0.001641/0.03572, allocations: 0.7141 MB / 364.4 MB, free: 15.8 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.513229880016297]