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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008593/0.0008593, allocations: 90.55 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06671/0.06671, allocations: 10.88 MB / 320.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.535e-05, allocations: 0 / 376.2 MB, free: 77.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 49.77 MB / 425.9 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.5198, allocations: 78.61 MB / 0.4927 GB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.52, allocations: 70.3 kB / 0.4928 GB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1246/0.6446, allocations: 42.09 MB / 0.5339 GB, free: 11.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6447, allocations: 0 / 0.5339 GB, free: 11.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.705e-05/0.6447, allocations: 16 kB / 0.5339 GB, free: 11.92 MB / 346.7 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.005818/0.6505, allocations: 1.597 MB / 0.5355 GB, free: 10.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6506, allocations: 8.031 kB / 0.5355 GB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.6512, allocations: 71.16 kB / 0.5355 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.6525, allocations: 0.5587 MB / 0.5361 GB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.6526, allocations: 16 kB / 0.5361 GB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.6529, allocations: 51.41 kB / 0.5362 GB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004465/0.6574, allocations: 2.442 MB / 0.5385 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.6594, allocations: 1.032 MB / 0.5395 GB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.6594, allocations: 3.938 kB / 0.5395 GB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.6595, allocations: 3.984 kB / 0.5396 GB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.937e-05/0.6596, allocations: 52.67 kB / 0.5396 GB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.6702, allocations: 3.755 MB / 0.5433 GB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.6716, allocations: 0.8706 MB / 0.5441 GB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.6727, allocations: 0.7354 MB / 0.5448 GB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/0.6728, allocations: 35.69 kB / 0.5449 GB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.674, allocations: 0.8007 MB / 0.5457 GB, free: 1.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 3.396e-06/0.674, allocations: 0 / 0.5457 GB, free: 1.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=97): time 0.002345/0.6764, allocations: 1.364 MB / 0.547 GB, free: 200 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.6765, allocations: 64.19 kB / 0.547 GB, free: 120 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008472/0.6773, allocations: 0.5751 MB / 0.5476 GB, free: 15.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.6775, allocations: 25.7 kB / 0.5476 GB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.6778, allocations: 347.4 kB / 0.548 GB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.6781, allocations: 366.8 kB / 0.5483 GB, free: 14.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.6782, allocations: 0 / 0.5483 GB, free: 14.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.6785, allocations: 394.8 kB / 0.5487 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.6796, allocations: 0.7456 MB / 0.5494 GB, free: 13.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.6809, allocations: 1.003 MB / 0.5504 GB, free: 12.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.6824, allocations: 0.9079 MB / 0.5513 GB, free: 11.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.6824, allocations: 0 / 0.5513 GB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003143/0.6856, allocations: 1.96 MB / 0.5532 GB, free: 9.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.6856, allocations: 33.7 kB / 0.5532 GB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.6857, allocations: 11.95 kB / 0.5532 GB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/0.6857, allocations: 20.77 kB / 0.5533 GB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/0.6887, allocations: 0.6201 MB / 0.5539 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.832e-05/0.6888, allocations: 27.92 kB / 0.5539 GB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.6906, allocations: 274.3 kB / 0.5542 GB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.6908, allocations: 71.95 kB / 0.5542 GB, free: 8.609 MB / 362.7 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 ($whenCondition1,$PRE.pulse_velocity.T_start,pulse_velocity.T_start,$PRE.pulse_velocity.count,pulse_velocity.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003259/0.6912, allocations: 136.5 kB / 0.5544 GB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.6914, allocations: 75.05 kB / 0.5544 GB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.6943, allocations: 1.619 MB / 0.556 GB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.6943, allocations: 11.95 kB / 0.556 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.6944, allocations: 0 / 0.556 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.6944, allocations: 7.969 kB / 0.556 GB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.6996, allocations: 3.591 MB / 0.5595 GB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.6997, allocations: 8.938 kB / 0.5595 GB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/0.7023, allocations: 483.2 kB / 0.56 GB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.422e-05/0.7023, allocations: 12 kB / 0.56 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/0.7025, allocations: 63.92 kB / 0.5601 GB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.696e-05/0.7025, allocations: 11.94 kB / 0.5601 GB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.7025, allocations: 15.89 kB / 0.5601 GB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.7061, allocations: 2.675 MB / 0.5627 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/0.7068, allocations: 307.8 kB / 0.563 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.707, allocations: 39.97 kB / 0.563 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.7085, allocations: 171.7 kB / 0.5632 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.7088, allocations: 100.3 kB / 0.5633 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.7089, allocations: 51.94 kB / 0.5634 GB, free: 14.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006484/0.7096, allocations: 438.9 kB / 0.5638 GB, free: 14.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7096, allocations: 0 / 0.5638 GB, free: 14.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001084/0.7107, allocations: 212 kB / 0.564 GB, free: 14.17 MB / 378.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002997/0.711, allocations: 159.2 kB / 0.5641 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002694/0.7137, allocations: 1.693 MB / 0.5658 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7137, allocations: 7.938 kB / 0.5658 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.7149, allocations: 0.7593 MB / 0.5665 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.7154, allocations: 58 kB / 0.5666 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.7186, allocations: 2.117 MB / 0.5687 GB, free: 9.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.7194, allocations: 1.004 MB / 0.5696 GB, free: 8.211 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001886/0.7213, allocations: 0.6004 MB / 0.5702 GB, free: 7.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005641/0.7219, allocations: 111.3 kB / 0.5703 GB, free: 7.496 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7219, allocations: 0 / 0.5703 GB, free: 7.496 MB / 378.7 MB Notification: Performance of Templates: time 0.01909/0.741, allocations: 10.94 MB / 0.581 GB, free: 12.57 MB / 394.7 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)