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.001294/0.001294, allocations: 104.2 kB / 16.27 MB, free: 6.418 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.001848/0.001848, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.412/1.412, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06829/0.06829, allocations: 10.96 MB / 281.4 MB, free: 1.094 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.001691/0.001691, allocations: 68.47 kB / 341.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2327, allocations: 48.73 MB / 389.9 MB, free: 49.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002299/0.235, allocations: 1.471 MB / 391.4 MB, free: 48.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.2359, allocations: 0.5989 MB / 392 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.2359, allocations: 0 / 392 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.2361, allocations: 13.02 kB / 392 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.2363, allocations: 67.69 kB / 392 MB, free: 48.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.2366, allocations: 93.58 kB / 392.1 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009938/0.2376, allocations: 1.129 MB / 393.3 MB, free: 47.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.2376, allocations: 7.547 kB / 393.3 MB, free: 47.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.2381, allocations: 425.9 kB / 393.7 MB, free: 47.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007436/0.2389, allocations: 410 kB / 394.1 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.239, allocations: 76.97 kB / 394.2 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.2392, allocations: 74.25 kB / 394.2 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005551/0.2397, allocations: 469.5 kB / 394.7 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.2402, allocations: 442.9 kB / 395.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.2409, allocations: 0.9041 MB / 396 MB, free: 46.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.241, allocations: 4 kB / 396 MB, free: 46.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.241, allocations: 0 / 396 MB, free: 46.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.241, allocations: 1.219 kB / 396 MB, free: 46.67 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 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.008151/0.2491, allocations: 2.144 MB / 398.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2492, allocations: 8.719 kB / 398.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.2494, allocations: 76.28 kB / 398.3 MB, free: 45.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/0.2502, allocations: 0.5472 MB / 398.8 MB, free: 44.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.2503, allocations: 47.19 kB / 398.9 MB, free: 44.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.2505, allocations: 80.5 kB / 398.9 MB, free: 44.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.2522, allocations: 1.142 MB / 400.1 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2522, allocations: 12.91 kB / 400.1 MB, free: 44.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/0.2523, allocations: 20.22 kB / 400.1 MB, free: 44.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/0.2524, allocations: 47.05 kB / 400.2 MB, free: 44.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.256, allocations: 2.51 MB / 402.7 MB, free: 42.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009103/0.2651, allocations: 3.727 MB / 406.4 MB, free: 39.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.2664, allocations: 0.9494 MB / 407.3 MB, free: 38.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008823/0.2673, allocations: 0.7995 MB / 408.1 MB, free: 38.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/0.2673, allocations: 32.94 kB / 408.2 MB, free: 38.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.2683, allocations: 0.852 MB / 409 MB, free: 37.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 2.885e-06/0.2684, allocations: 0 / 409 MB, free: 37.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.002832/0.2712, allocations: 2.047 MB / 411.1 MB, free: 35.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2713, allocations: 64.41 kB / 411.1 MB, free: 35.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.2718, allocations: 0.6499 MB / 411.8 MB, free: 34.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/0.2719, allocations: 45.7 kB / 411.8 MB, free: 34.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.2721, allocations: 355.4 kB / 412.2 MB, free: 34.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.2723, allocations: 374.7 kB / 412.5 MB, free: 33.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.2727, allocations: 323.2 kB / 412.9 MB, free: 33.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.2728, allocations: 337.9 kB / 413.2 MB, free: 32.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.2739, allocations: 0.7924 MB / 414 MB, free: 32.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.2751, allocations: 1.096 MB / 415.1 MB, free: 30.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.2773, allocations: 1.967 MB / 417 MB, free: 28.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.2773, allocations: 8 kB / 417.1 MB, free: 28.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002879/0.2802, allocations: 2.184 MB / 419.2 MB, free: 26.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.2802, allocations: 33.7 kB / 419.3 MB, free: 26.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.2803, allocations: 8 kB / 419.3 MB, free: 26.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.2803, allocations: 16.69 kB / 419.3 MB, free: 26.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.2831, allocations: 0.6201 MB / 419.9 MB, free: 26.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.2831, allocations: 27.91 kB / 419.9 MB, free: 26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.2847, allocations: 298.3 kB / 420.2 MB, free: 25.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.2849, allocations: 71.94 kB / 420.3 MB, free: 25.64 MB / 318.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.0003855/0.2853, allocations: 304.2 kB / 420.6 MB, free: 25.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.2854, allocations: 71.16 kB / 420.7 MB, free: 25.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.288, allocations: 1.729 MB / 422.4 MB, free: 23.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.288, allocations: 12 kB / 422.4 MB, free: 23.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.288, allocations: 0 / 422.4 MB, free: 23.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.288, allocations: 3.984 kB / 422.4 MB, free: 23.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.2922, allocations: 3.755 MB / 426.2 MB, free: 19.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2922, allocations: 7.984 kB / 426.2 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/0.2946, allocations: 483.2 kB / 426.6 MB, free: 19.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.2946, allocations: 12 kB / 426.7 MB, free: 19.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.2947, allocations: 67.92 kB / 426.7 MB, free: 19.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.2947, allocations: 15.94 kB / 426.7 MB, free: 19.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2948, allocations: 11.94 kB / 426.8 MB, free: 19.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.2976, allocations: 2.46 MB / 429.2 MB, free: 16.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/0.298, allocations: 315.8 kB / 429.5 MB, free: 16.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.2982, allocations: 55.97 kB / 429.6 MB, free: 16.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.2996, allocations: 179.8 kB / 429.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.2998, allocations: 100.3 kB / 429.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/0.2999, allocations: 47.94 kB / 429.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004402/0.3004, allocations: 450.8 kB / 430.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3004, allocations: 0 / 430.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008231/0.3012, allocations: 251.9 kB / 430.6 MB, free: 15.05 MB / 318.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.0001904/0.3014, allocations: 178.9 kB / 430.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.3041, allocations: 2.236 MB / 433 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3041, allocations: 0.625 kB / 433 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009789/0.3051, allocations: 0.7931 MB / 433.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.3058, allocations: 82.67 kB / 433.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.3084, allocations: 2.502 MB / 436.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3087, allocations: 0.9706 MB / 437.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.3093, allocations: 139.3 kB / 437.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3094, allocations: 0 / 437.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01608/0.3254, allocations: 14 MB / 451.5 MB, free: 9.938 MB / 334.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)