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.006659/0.006659, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001095/0.001095, allocations: 202.3 kB / 16.68 MB, free: 5.969 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 / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06586/0.06586, allocations: 10.97 MB / 280.9 MB, free: 10.16 MB / 238.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.001425/0.001425, allocations: 67.91 kB / 390.5 MB, free: 4.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2587, allocations: 48.75 MB / 439.3 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002135/0.2609, allocations: 1.483 MB / 440.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008919/0.2618, allocations: 0.5938 MB / 441.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.2619, allocations: 5.562 kB / 441.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.262, allocations: 12.64 kB / 441.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.2622, allocations: 66.52 kB / 441.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.2625, allocations: 83.75 kB / 441.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.2636, allocations: 1.138 MB / 442.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.2636, allocations: 7.219 kB / 442.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.2641, allocations: 430.3 kB / 443.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007752/0.2649, allocations: 409.5 kB / 443.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.265, allocations: 73.66 kB / 443.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2652, allocations: 74.28 kB / 443.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005757/0.2658, allocations: 473.1 kB / 444.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.2662, allocations: 444.5 kB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.2669, allocations: 0.9319 MB / 445.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2669, allocations: 0 / 445.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2669, allocations: 0 / 445.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2669, allocations: 5 kB / 445.4 MB, free: 2.215 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.007041/0.274, allocations: 2.166 MB / 447.6 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.274, allocations: 13.31 kB / 447.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.2742, allocations: 75.09 kB / 447.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.2749, allocations: 0.5415 MB / 448.2 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.2749, allocations: 50.45 kB / 448.3 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.2751, allocations: 84.39 kB / 448.4 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.2767, allocations: 1.134 MB / 449.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2768, allocations: 1.531 kB / 449.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.2769, allocations: 23.7 kB / 449.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.545e-05/0.2769, allocations: 47.23 kB / 449.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.2807, allocations: 2.514 MB / 452.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008717/0.2894, allocations: 3.725 MB / 455.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.2909, allocations: 0.9543 MB / 456.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.292, allocations: 0.7839 MB / 457.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.2921, allocations: 28.95 kB / 457.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.2934, allocations: 0.8558 MB / 458.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 2.454e-06/0.2934, allocations: 4 kB / 458.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.003261/0.2967, allocations: 2.052 MB / 460.5 MB, free: 7.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.2967, allocations: 64.41 kB / 460.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.2975, allocations: 0.6385 MB / 461.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.2976, allocations: 49.7 kB / 461.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.298, allocations: 360.5 kB / 461.6 MB, free: 6.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/0.2983, allocations: 400.8 kB / 462 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005128/0.2988, allocations: 323.4 kB / 462.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.299, allocations: 333.9 kB / 462.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.3003, allocations: 0.804 MB / 463.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.3018, allocations: 1.085 MB / 464.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.3045, allocations: 1.974 MB / 466.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.3046, allocations: 4 kB / 466.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003501/0.3081, allocations: 2.189 MB / 468.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.3081, allocations: 37.45 kB / 468.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3081, allocations: 8 kB / 468.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.3082, allocations: 16 kB / 468.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/0.311, allocations: 0.6281 MB / 469.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.311, allocations: 16 kB / 469.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.3126, allocations: 306.7 kB / 469.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.3128, allocations: 71.94 kB / 469.7 MB, free: 14.17 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.0004701/0.3133, allocations: 301.2 kB / 470 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.3134, allocations: 75.52 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.3165, allocations: 1.722 MB / 471.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3165, allocations: 16 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3165, allocations: 0 / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.3165, allocations: 7.969 kB / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005305/0.3218, allocations: 3.766 MB / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.453e-06/0.3219, allocations: 4 kB / 475.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/0.3243, allocations: 487.9 kB / 476.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/0.3243, allocations: 12 kB / 476.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.3244, allocations: 71.86 kB / 476.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.3245, allocations: 15.94 kB / 476.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.3245, allocations: 8 kB / 476.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.3279, allocations: 2.465 MB / 478.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.3284, allocations: 312.2 kB / 479 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.3285, allocations: 51.97 kB / 479 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.3298, allocations: 175.8 kB / 479.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.33, allocations: 108.2 kB / 479.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/0.3301, allocations: 47.95 kB / 479.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004946/0.3306, allocations: 450.8 kB / 479.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3306, allocations: 0 / 479.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007998/0.3314, allocations: 255.9 kB / 480 MB, free: 3.578 MB / 350.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.0002032/0.3316, allocations: 167 kB / 480.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.3345, allocations: 1.847 MB / 482.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.3345, allocations: 0 / 482.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.336, allocations: 0.8157 MB / 482.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.3368, allocations: 81.89 kB / 483 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.3405, allocations: 2.467 MB / 485.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.3411, allocations: 0.9745 MB / 486.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001484/0.3426, allocations: 0.5965 MB / 487 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.3431, allocations: 111.3 kB / 487.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3431, allocations: 0 / 487.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01717/0.3602, allocations: 12.08 MB / 499.2 MB, free: 248 kB / 366.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)