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.001596/0.001596, allocations: 105.2 kB / 16.42 MB, free: 6.488 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.001602/0.001602, allocations: 187.2 kB / 17.36 MB, free: 5.703 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.951/1.951, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06632/0.06632, allocations: 10.98 MB / 281.6 MB, free: 1 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.723e-05, allocations: 3.125 kB / 391.1 MB, free: 46.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002313/0.002348, allocations: 1.476 MB / 392.6 MB, free: 44.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003442, allocations: 0.602 MB / 393.2 MB, free: 44.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.003513, allocations: 1.125 kB / 393.2 MB, free: 44.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.003671, allocations: 16.73 kB / 393.2 MB, free: 44.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.003971, allocations: 68.08 kB / 393.3 MB, free: 44.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.004261, allocations: 87.97 kB / 393.4 MB, free: 44.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.004571, allocations: 199 kB / 393.6 MB, free: 44.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.004634, allocations: 4.719 kB / 393.6 MB, free: 44.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.004812, allocations: 106.8 kB / 393.7 MB, free: 44.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.004993, allocations: 98.62 kB / 393.8 MB, free: 44.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.005046, allocations: 14.34 kB / 393.8 MB, free: 44.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.826e-05/0.005089, allocations: 14.44 kB / 393.8 MB, free: 44.36 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002244/0.005319, allocations: 221.7 kB / 394 MB, free: 44.25 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.077e-05/0.005375, allocations: 90.67 kB / 394.1 MB, free: 44.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.005415, allocations: 13.25 kB / 394.1 MB, free: 44.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-05/0.005442, allocations: 6.812 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.0008699/0.006316, allocations: 0.7306 MB / 394.8 MB, free: 43.61 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.000157/0.00648, allocations: 80.25 kB / 394.9 MB, free: 43.58 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004924/0.006981, allocations: 486.2 kB / 395.4 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simplify1: time 5.241e-05/0.00704, allocations: 43.23 kB / 395.4 MB, free: 43.28 MB / 318.1 MB Notification: Performance of Alias: time 0.000569/0.007616, allocations: 367.1 kB / 395.8 MB, free: 43.03 MB / 318.1 MB Notification: Performance of simplify2: time 4.711e-05/0.007674, allocations: 35.58 kB / 395.8 MB, free: 43.02 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002669/0.007946, allocations: 169.1 kB / 396 MB, free: 42.91 MB / 318.1 MB Notification: Performance of Events: time 0.0001222/0.008076, allocations: 68.14 kB / 396.1 MB, free: 42.88 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001634/0.008247, allocations: 139 kB / 396.2 MB, free: 42.81 MB / 318.1 MB Notification: Performance of Causalize: time 0.002386/0.01064, allocations: 1.884 MB / 398.1 MB, free: 42.11 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005394/0.01119, allocations: 493.9 kB / 398.6 MB, free: 41.82 MB / 318.1 MB Notification: Performance of Inline: time 0.0011/0.0123, allocations: 0.7976 MB / 399.4 MB, free: 41.38 MB / 318.1 MB Notification: Performance of Partitioning: time 4.63e-05/0.01236, allocations: 27.69 kB / 399.4 MB, free: 41.36 MB / 318.1 MB Notification: Performance of Cleanup: time 6.665e-05/0.01243, allocations: 40.08 kB / 399.4 MB, free: 41.34 MB / 318.1 MB Notification: Performance of Causalize: time 0.006132/0.01857, allocations: 3.61 MB / 403 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Tearing: time 2.314e-05/0.01864, allocations: 1.188 kB / 403 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Initialization: time 4.088e-06/0.01865, allocations: 0 / 403 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Tearing: time 1.107e-05/0.01867, allocations: 4.875 kB / 403 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Categorize: time 2.392e-05/0.0187, allocations: 1.156 kB / 403 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Solve: time 0.0007465/0.01945, allocations: 179.5 kB / 403.2 MB, free: 39.97 MB / 318.1 MB Notification: Performance of Jacobian: time 0.002716/0.02218, allocations: 2.514 MB / 405.7 MB, free: 37.7 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 8.23e-05/0.02228, allocations: 30.08 kB / 405.8 MB, free: 37.67 MB / 318.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NSimCode/NSimVar.mo:273:9-273: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]