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.00167/0.00167, allocations: 102 kB / 16.4 MB, free: 6.406 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.001868/0.001869, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.497/1.497, 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.06877/0.06878, allocations: 10.97 MB / 281.6 MB, free: 1 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 72.25 kB / 391.2 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09729/0.09874, allocations: 48.76 MB / 439.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002095/0.1009, allocations: 1.48 MB / 441.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.1018, allocations: 0.5892 MB / 442 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.1019, allocations: 4 kB / 442 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.1021, allocations: 15.86 kB / 442 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1023, allocations: 67.73 kB / 442.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1026, allocations: 79.81 kB / 442.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007273/0.1033, allocations: 1.141 MB / 443.3 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.1034, allocations: 8 kB / 443.3 MB, free: 480 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.1037, allocations: 423.5 kB / 443.7 MB, free: 56 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007403/0.1044, allocations: 407.1 kB / 444.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.1046, allocations: 76 kB / 444.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1047, allocations: 72 kB / 444.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005356/0.1053, allocations: 471 kB / 444.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.1057, allocations: 437.9 kB / 445.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008459/0.1066, allocations: 0.9423 MB / 446.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1066, allocations: 0 / 446.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1066, allocations: 0 / 446.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1066, allocations: 0 / 446.1 MB, free: 13.68 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.008218/0.1149, allocations: 2.145 MB / 448.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1149, allocations: 12.03 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.1151, allocations: 76 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.1159, allocations: 0.5424 MB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.1159, allocations: 45.69 kB / 448.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.1161, allocations: 80.19 kB / 449 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.1179, allocations: 1.139 MB / 450.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1179, allocations: 4 kB / 450.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/0.118, allocations: 23.98 kB / 450.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.1181, allocations: 49.3 kB / 450.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.122, allocations: 2.51 MB / 452.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.1328, allocations: 3.727 MB / 456.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.1352, allocations: 0.9495 MB / 457.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/0.1372, allocations: 0.7917 MB / 458.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/0.1373, allocations: 32.88 kB / 458.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/0.1395, allocations: 0.8598 MB / 459.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 5.08e-06/0.1395, allocations: 0 / 459.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.005767/0.1453, allocations: 2.04 MB / 461.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.1454, allocations: 72.34 kB / 461.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.1468, allocations: 0.6421 MB / 461.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.147, allocations: 49.7 kB / 461.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.1475, allocations: 355.3 kB / 462.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/0.148, allocations: 374.8 kB / 462.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007128/0.1487, allocations: 323.2 kB / 462.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1489, allocations: 333.9 kB / 463.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.151, allocations: 0.7963 MB / 464 MB, free: 11.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.1535, allocations: 1.089 MB / 465.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004473/0.158, allocations: 1.971 MB / 467.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.158, allocations: 0 / 467.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005994/0.164, allocations: 2.18 MB / 469.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.1641, allocations: 33.7 kB / 469.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.1641, allocations: 11.98 kB / 469.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.781e-05/0.1642, allocations: 20 kB / 469.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/0.1687, allocations: 0.6244 MB / 470 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.385e-05/0.1688, allocations: 23.92 kB / 470 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.1715, allocations: 302.2 kB / 470.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000294/0.1719, allocations: 71.94 kB / 470.3 MB, free: 4.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 5 (pulse_velocity.count,$PRE.pulse_velocity.count,pulse_velocity.T_start,$PRE.pulse_velocity.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008496/0.1727, allocations: 301.3 kB / 470.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/0.1731, allocations: 67.16 kB / 470.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/0.1779, allocations: 1.726 MB / 472.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.1779, allocations: 15.94 kB / 472.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.1779, allocations: 3.984 kB / 472.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.1779, allocations: 7.922 kB / 472.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008881/0.1868, allocations: 3.754 MB / 476.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.1869, allocations: 4.938 kB / 476.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004115/0.191, allocations: 487.1 kB / 476.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.432e-05/0.191, allocations: 12 kB / 476.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/0.1913, allocations: 67.92 kB / 476.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.253e-05/0.1913, allocations: 15.94 kB / 476.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/0.1913, allocations: 8 kB / 476.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/0.1971, allocations: 2.46 MB / 479.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008594/0.198, allocations: 311.8 kB / 479.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.1983, allocations: 51.97 kB / 479.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002273/0.2006, allocations: 175.8 kB / 479.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.201, allocations: 108.2 kB / 479.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/0.2012, allocations: 43.95 kB / 479.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001073/0.2023, allocations: 458.7 kB / 480.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2023, allocations: 0 / 480.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001784/0.2041, allocations: 255.9 kB / 480.6 MB, free: 10.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 31 (positionMean,upwindFirstOrder.u[1,1],upwindFirstOrder.u[2,1],upwindFirstOrder.u[3,1],upwindFirstOrder.u[4,1],upwindFirstOrder.u[5,1],upwindFirstOrder.u[6,1],upwindFirstOrder.u[7,1],upwindFirstOrder.u[8,1],upwindFirstOrder.u[9,1],upwindFirstOrder.u[10,1],upwindFirstOrder.u[11,1],upwindFirstOrder.u[12,1],upwindFirstOrder.u[13,1],upwindFirstOrder.u[14,1],upwindFirstOrder.u[15,1],upwindFirstOrder.u[16,1],upwindFirstOrder.u[17,1],upwindFirstOrder.u[18,1],upwindFirstOrder.u[19,1],upwindFirstOrder.u[20,1],upwindFirstOrder.u[21,1],upwindFirstOrder.u[22,1],upwindFirstOrder.u[23,1],upwindFirstOrder.u[24,1],upwindFirstOrder.u[25,1],upwindFirstOrder.u[26,1],upwindFirstOrder.u[27,1],upwindFirstOrder.u[28,1],upwindFirstOrder.u[29,1],upwindFirstOrder.u[30,1]) * Number of discrete variables: 3 ($whenCondition1,pulse_velocity.T_start,pulse_velocity.count) * Number of discrete states: 1 (pulse_velocity.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004547/0.2046, allocations: 167 kB / 480.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004959/0.2096, allocations: 1.85 MB / 482.6 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.2096, allocations: 0 / 482.6 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.2116, allocations: 0.7921 MB / 483.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.2128, allocations: 73.95 kB / 483.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.2185, allocations: 2.491 MB / 486 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.2196, allocations: 0.9706 MB / 487 MB, free: 3.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.2207, allocations: 139.3 kB / 487.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.2208, allocations: 0 / 487.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of Templates: time 0.0339/0.2547, allocations: 14.13 MB / 0.4895 GB, free: 5.512 MB / 382.1 MB make -j1 -f TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.makefile (rm -f TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe ; mkfifo TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe ; head -c 1048576 < TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe >> ../files/TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.sim & ./TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1)