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.001673/0.001673, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001925/0.001925, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06726/0.06726, allocations: 10.98 MB / 281.5 MB, free: 1.031 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.001451/0.001451, allocations: 63.91 kB / 341.9 MB, free: 4.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2115, allocations: 48.73 MB / 390.7 MB, free: 49.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002427/0.214, allocations: 1.478 MB / 392.1 MB, free: 48.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000916/0.2149, allocations: 0.595 MB / 392.7 MB, free: 48.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.215, allocations: 1.375 kB / 392.7 MB, free: 48.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.2151, allocations: 20.44 kB / 392.8 MB, free: 48.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.2154, allocations: 67.12 kB / 392.8 MB, free: 48.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.2156, allocations: 82.03 kB / 392.9 MB, free: 48.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.2167, allocations: 1.142 MB / 394.1 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.2168, allocations: 7.672 kB / 394.1 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.2172, allocations: 422.2 kB / 394.5 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007349/0.218, allocations: 403.5 kB / 394.9 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.2181, allocations: 73.47 kB / 394.9 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.2182, allocations: 78.81 kB / 395 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005489/0.2188, allocations: 480.6 kB / 395.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.2193, allocations: 441 kB / 395.9 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000632/0.2199, allocations: 0.924 MB / 396.8 MB, free: 46.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2199, allocations: 0 / 396.8 MB, free: 46.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2199, allocations: 0 / 396.8 MB, free: 46.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.2199, allocations: 0 / 396.8 MB, free: 46.81 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.007699/0.2276, allocations: 2.145 MB / 399 MB, free: 45.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2277, allocations: 9.188 kB / 399 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.2279, allocations: 74.38 kB / 399.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.2289, allocations: 0.5445 MB / 399.6 MB, free: 45.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.2289, allocations: 54.78 kB / 399.7 MB, free: 45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.2291, allocations: 80 kB / 399.7 MB, free: 44.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.2308, allocations: 1.143 MB / 400.9 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.2308, allocations: 1.125 kB / 400.9 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/0.2309, allocations: 19.5 kB / 400.9 MB, free: 44.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-05/0.231, allocations: 56.16 kB / 401 MB, free: 44.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.2346, allocations: 2.509 MB / 403.5 MB, free: 43.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008355/0.2429, allocations: 3.706 MB / 407.2 MB, free: 39.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.2441, allocations: 0.9572 MB / 408.1 MB, free: 38.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008425/0.2449, allocations: 0.7956 MB / 408.9 MB, free: 37.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.393e-05/0.245, allocations: 28.95 kB / 409 MB, free: 37.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009801/0.246, allocations: 0.8481 MB / 409.8 MB, free: 37.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 2.624e-06/0.246, allocations: 0 / 409.8 MB, free: 37.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.002672/0.2487, allocations: 2.055 MB / 411.9 MB, free: 35.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.2487, allocations: 60.41 kB / 411.9 MB, free: 34.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.2493, allocations: 0.6538 MB / 412.6 MB, free: 34.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.2494, allocations: 45.7 kB / 412.6 MB, free: 34.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.2495, allocations: 347.4 kB / 413 MB, free: 33.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.2497, allocations: 374.7 kB / 413.3 MB, free: 33.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.2501, allocations: 327.2 kB / 413.6 MB, free: 33.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.2502, allocations: 345.8 kB / 414 MB, free: 32.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.2512, allocations: 0.7963 MB / 414.8 MB, free: 32.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.2523, allocations: 1.096 MB / 415.9 MB, free: 30.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.2544, allocations: 1.963 MB / 417.8 MB, free: 28.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2545, allocations: 0 / 417.8 MB, free: 28.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002766/0.2572, allocations: 2.188 MB / 420 MB, free: 26.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.2573, allocations: 37.73 kB / 420.1 MB, free: 26.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2573, allocations: 8 kB / 420.1 MB, free: 26.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.2573, allocations: 19.98 kB / 420.1 MB, free: 26.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.2599, allocations: 0.6241 MB / 420.7 MB, free: 25.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.26, allocations: 23.92 kB / 420.7 MB, free: 25.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.2614, allocations: 298.3 kB / 421 MB, free: 25.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.2615, allocations: 75.94 kB / 421.1 MB, free: 25.5 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.0003614/0.2619, allocations: 293.3 kB / 421.4 MB, free: 25.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.262, allocations: 67.16 kB / 421.5 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.2644, allocations: 1.737 MB / 423.2 MB, free: 23.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.2644, allocations: 8 kB / 423.2 MB, free: 23.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2644, allocations: 0 / 423.2 MB, free: 23.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.2644, allocations: 3.984 kB / 423.2 MB, free: 23.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/0.2687, allocations: 3.758 MB / 427 MB, free: 19.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.2687, allocations: 8 kB / 427 MB, free: 19.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/0.271, allocations: 479.5 kB / 427.4 MB, free: 18.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.271, allocations: 12 kB / 427.4 MB, free: 18.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.2712, allocations: 67.92 kB / 427.5 MB, free: 18.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.2712, allocations: 15.94 kB / 427.5 MB, free: 18.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2712, allocations: 11.94 kB / 427.5 MB, free: 18.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.2739, allocations: 2.46 MB / 430 MB, free: 16.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/0.2745, allocations: 315.8 kB / 430.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.2747, allocations: 47.98 kB / 430.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.2759, allocations: 175.8 kB / 430.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.2761, allocations: 100.3 kB / 430.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.371e-05/0.2762, allocations: 51.94 kB / 430.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004045/0.2766, allocations: 458.8 kB / 431.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2767, allocations: 0 / 431.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007824/0.2774, allocations: 251.9 kB / 431.4 MB, free: 14.93 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.0001846/0.2776, allocations: 166.9 kB / 431.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.2798, allocations: 1.842 MB / 433.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2799, allocations: 4 kB / 433.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.2809, allocations: 0.8137 MB / 434.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.2815, allocations: 91.42 kB / 434.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.2839, allocations: 2.422 MB / 436.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.2843, allocations: 0.9745 MB / 437.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001254/0.2855, allocations: 0.6004 MB / 438.3 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.286, allocations: 107.3 kB / 438.4 MB, free: 7.738 MB / 318.1 MB Notification: Performance of SimCode: time 1.031e-06/0.286, allocations: 4 kB / 438.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of Templates: time 0.01485/0.3009, allocations: 11.76 MB / 450.1 MB, free: 11.98 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 -s gbode -lv LOG_STATS > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1)