Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.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.001941/0.001941, 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.002171/0.002171, 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.697/1.697, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.1252/0.1252, allocations: 12.75 MB / 273.8 MB, free: 132 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_InitSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState") translateModel(Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.574e-05, allocations: 2.312 kB / 348.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState): time 0.004401/0.004417, allocations: 2.865 MB / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005232/0.009649, allocations: 2.761 MB / 353.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.009839, allocations: 11.88 kB / 353.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.01001, allocations: 47.5 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_InitSteadyState.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_InitSteadyState.A.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.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_InitSteadyState.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_InitSteadyState.B.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.B.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.001228/0.01124, allocations: 417.8 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_InitSteadyState.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_InitSteadyState.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_InitSteadyState.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_InitSteadyState.B.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.01236, allocations: 442.6 kB / 354.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005895/0.01295, allocations: 426.2 kB / 355 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.01308, allocations: 44.84 kB / 355 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.01579, allocations: 1.714 MB / 356.8 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.01606, allocations: 115.6 kB / 356.9 MB, free: 8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.01611, allocations: 12 kB / 356.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.01619, allocations: 16 kB / 356.9 MB, free: 7.973 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.0004829/0.01667, allocations: 417.2 kB / 357.3 MB, free: 7.562 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0002944/0.01696, allocations: 273.8 kB / 357.6 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.01702, allocations: 20 kB / 357.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.788e-05/0.01712, allocations: 43.88 kB / 357.6 MB, free: 7.23 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.001497/0.01861, allocations: 1.097 MB / 358.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.000364/0.01898, allocations: 198.2 kB / 358.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.0008364/0.01981, allocations: 0.6435 MB / 359.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0001572/0.01997, allocations: 96.22 kB / 359.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.001179/0.02115, allocations: 0.7043 MB / 360.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0001379/0.02129, allocations: 88.34 kB / 360.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 9.381e-05/0.02138, allocations: 60.41 kB / 360.5 MB, free: 3.977 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0003192/0.0217, allocations: 208.8 kB / 360.7 MB, free: 3.707 MB / 282.7 MB Notification: Performance of [SIM] Events: time 7.042e-05/0.02177, allocations: 51.89 kB / 360.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.0003495/0.02212, allocations: 218.3 kB / 361 MB, free: 3.406 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.0004275/0.02255, allocations: 246.8 kB / 361.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004033/0.02295, allocations: 351.8 kB / 361.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.0007628/0.02371, allocations: 432 kB / 362 MB, free: 2.336 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.0007609/0.02447, allocations: 0.6554 MB / 362.6 MB, free: 1.676 MB / 282.7 MB Notification: Performance of [INI] Partitioning: time 3.121e-05/0.02451, allocations: 16.12 kB / 362.7 MB, free: 1.652 MB / 282.7 MB Notification: Performance of [INI] Cleanup: time 0.0001067/0.02461, allocations: 91.91 kB / 362.7 MB, free: 1.562 MB / 282.7 MB Notification: Performance of [INI] Causalize: time 0.0007602/0.02537, allocations: 437.7 kB / 363.2 MB, free: 1.129 MB / 282.7 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: product Notification: Performance of [INI] Tearing: time 0.0006617/0.02603, allocations: 378.6 kB / 363.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of [SIM] Initialization: time 6.11e-07/0.02604, allocations: 0 / 363.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.948e-06/0.02604, allocations: 0 / 363.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of [SIM] Tearing: time 1.651e-05/0.02606, allocations: 12 kB / 363.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of [SIM] Categorize: time 9.238e-06/0.02606, allocations: 7.938 kB / 363.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of [SIM] Solve: time 0.0005629/0.02663, allocations: 345.6 kB / 363.9 MB, free: 408 kB / 282.7 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: product Notification: Performance of [SIM] Jacobian: time 0.001034/0.02766, allocations: 0.5888 MB / 364.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 7.92e-07/0.02766, allocations: 3.938 kB / 364.5 MB, free: 15.73 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: ............................. 2 (2) {B.state, A.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: ........... 21 (scalar:19, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.954e-05/0.02771, allocations: 34.61 kB / 364.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of SimCode: time 0.001438/0.02915, allocations: 0.8945 MB / 365.4 MB, free: 14.77 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.699445690959692]