Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(TAeZoSysPro.PDE.Examples.AdvectionGaussian,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian") translateModel(TAeZoSysPro.PDE.Examples.AdvectionGaussian,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 107.1 kB / 16.42 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 186.6 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06397/0.06397, allocations: 10.97 MB / 281.6 MB, free: 0.9961 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.228e-05, allocations: 2.281 kB / 391.1 MB, free: 46.03 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002102/0.002133, allocations: 1.488 MB / 392.6 MB, free: 45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.003064, allocations: 0.5907 MB / 393.2 MB, free: 44.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.003127, allocations: 0 / 393.2 MB, free: 44.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.003255, allocations: 16.77 kB / 393.2 MB, free: 44.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.003552, allocations: 72.62 kB / 393.3 MB, free: 44.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.003838, allocations: 77.69 kB / 393.4 MB, free: 44.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.004147, allocations: 204.5 kB / 393.6 MB, free: 44.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.00421, allocations: 10.84 kB / 393.6 MB, free: 44.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.004392, allocations: 111.1 kB / 393.7 MB, free: 44.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.004579, allocations: 94.7 kB / 393.8 MB, free: 44.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.004628, allocations: 15.31 kB / 393.8 MB, free: 44.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-05/0.004666, allocations: 13.44 kB / 393.8 MB, free: 44.38 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002303/0.004902, allocations: 222.2 kB / 394 MB, free: 44.26 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.167e-05/0.004979, allocations: 95.19 kB / 394.1 MB, free: 44.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.005022, allocations: 9.281 kB / 394.1 MB, free: 44.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.876e-05/0.005056, allocations: 15.05 kB / 394.1 MB, free: 44.18 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 (17) * Number of variables: 161 (15) Notification: Performance of Bindings: time 0.0009359/0.005997, allocations: 0.7146 MB / 394.8 MB, free: 43.63 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001626/0.006166, allocations: 87.84 kB / 394.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005211/0.006695, allocations: 485.7 kB / 395.4 MB, free: 43.31 MB / 318.1 MB Notification: Performance of simplify1: time 6.408e-05/0.006767, allocations: 31.94 kB / 395.4 MB, free: 43.3 MB / 318.1 MB Notification: Performance of Alias: time 0.000593/0.00737, allocations: 373.2 kB / 395.8 MB, free: 43.04 MB / 318.1 MB Notification: Performance of simplify2: time 5.075e-05/0.007431, allocations: 35.89 kB / 395.8 MB, free: 43.03 MB / 318.1 MB Notification: Performance of Events: time 0.0001436/0.007581, allocations: 84.81 kB / 395.9 MB, free: 42.99 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002564/0.007844, allocations: 161.3 kB / 396.1 MB, free: 42.89 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002135/0.008067, allocations: 143.4 kB / 396.2 MB, free: 42.81 MB / 318.1 MB Notification: Performance of Causalize: time 0.002507/0.01058, allocations: 1.862 MB / 398.1 MB, free: 42.12 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005557/0.01115, allocations: 498.3 kB / 398.6 MB, free: 41.84 MB / 318.1 MB Notification: Performance of Inline: time 0.0009657/0.01212, allocations: 0.7981 MB / 399.4 MB, free: 41.39 MB / 318.1 MB Notification: Performance of Partitioning: time 3.728e-05/0.01217, allocations: 29.91 kB / 399.4 MB, free: 41.37 MB / 318.1 MB Notification: Performance of Cleanup: time 5.815e-05/0.01224, allocations: 40.56 kB / 399.4 MB, free: 41.35 MB / 318.1 MB Notification: Performance of Causalize: time 0.004683/0.01693, allocations: 3.586 MB / 403 MB, free: 40.03 MB / 318.1 MB Notification: Performance of Tearing: time 8.957e-06/0.01696, allocations: 0 / 403 MB, free: 40.03 MB / 318.1 MB Notification: Performance of Initialization: time 1.052e-06/0.01697, allocations: 5.25 kB / 403 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Tearing: time 3.898e-06/0.01697, allocations: 3.938 kB / 403 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Categorize: time 1.276e-05/0.01699, allocations: 1.531 kB / 403 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Solve: time 0.0005103/0.01751, allocations: 175.8 kB / 403.2 MB, free: 39.98 MB / 318.1 MB Notification: Performance of Jacobian: time 0.002156/0.01967, allocations: 2.498 MB / 405.7 MB, free: 37.75 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * 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: ............................. 31 (2) {upwindFirstOrder.u, positionMean} * Number of discrete states: .................... 2 (2) {pulse_velocity.count, pulse_velocity.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 13 (scalar:9, array:4, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, 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: ........... 17 (scalar:13, array:4, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 8 (generic: 8, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.309e-05/0.01974, allocations: 17.38 kB / 405.7 MB, free: 37.74 MB / 318.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NSimCode/NSimVar.mo:271:9-271:65:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NSimVar.SimVar.getIndex failed to get index for cref: upwindFirstOrder.u[1, 2]