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: "" <> buildModelFMU(TAeZoSysPro.PDE.Examples.AdvectionGaussian,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.PDE.Examples.AdvectionGaussian,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.2 MB / 218.5 MB, free: 9.207 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.0009412/0.0009414, allocations: 93.27 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0622/0.0622, allocations: 10.87 MB / 325.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.826e-05, allocations: 0 / 383.2 MB, free: 71.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 49.76 MB / 433 MB, free: 21.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.528, allocations: 79.27 MB / 0.5003 GB, free: 12.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.5282, allocations: 62.91 kB / 0.5003 GB, free: 12.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1307/0.6589, allocations: 42.25 MB / 0.5416 GB, free: 4.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.659, allocations: 0 / 0.5416 GB, free: 4.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.368e-05/0.659, allocations: 16 kB / 0.5416 GB, free: 4.715 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.005941/0.665, allocations: 1.604 MB / 0.5432 GB, free: 3.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6651, allocations: 8.031 kB / 0.5432 GB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004826/0.6655, allocations: 108 kB / 0.5433 GB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.666, allocations: 71.16 kB / 0.5433 GB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.6675, allocations: 0.566 MB / 0.5439 GB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.6675, allocations: 48.56 kB / 0.5439 GB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/0.6679, allocations: 75.78 kB / 0.544 GB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.6701, allocations: 1.1 MB / 0.5451 GB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.6701, allocations: 0 / 0.5451 GB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.6703, allocations: 19.81 kB / 0.5451 GB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/0.6703, allocations: 45.11 kB / 0.5452 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/0.6745, allocations: 2.46 MB / 0.5476 GB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.6853, allocations: 3.854 MB / 0.5513 GB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.687, allocations: 0.9102 MB / 0.5522 GB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.6881, allocations: 0.7614 MB / 0.5529 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.524e-05/0.6882, allocations: 31.7 kB / 0.553 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.6897, allocations: 0.8312 MB / 0.5538 GB, free: 10.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=97): time 3.467e-06/0.6897, allocations: 0 / 0.5538 GB, free: 10.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=97): time 0.002688/0.6924, allocations: 1.407 MB / 0.5552 GB, free: 8.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.6925, allocations: 64.19 kB / 0.5552 GB, free: 8.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.6935, allocations: 0.5972 MB / 0.5558 GB, free: 8.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.6937, allocations: 45.7 kB / 0.5559 GB, free: 8.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.6941, allocations: 347.1 kB / 0.5562 GB, free: 7.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/0.6945, allocations: 386.3 kB / 0.5566 GB, free: 7.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.6946, allocations: 32 kB / 0.5566 GB, free: 7.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.6949, allocations: 394.8 kB / 0.557 GB, free: 6.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.6963, allocations: 0.7691 MB / 0.5577 GB, free: 6.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.698, allocations: 1.046 MB / 0.5587 GB, free: 5.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.6997, allocations: 0.9628 MB / 0.5597 GB, free: 4.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/0.6997, allocations: 4 kB / 0.5597 GB, free: 4.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004028/0.7037, allocations: 2.11 MB / 0.5617 GB, free: 1.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.805e-05/0.7038, allocations: 37.7 kB / 0.5618 GB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.7039, allocations: 12 kB / 0.5618 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.402e-05/0.7039, allocations: 19.88 kB / 0.5618 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/0.707, allocations: 0.6286 MB / 0.5624 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-05/0.7071, allocations: 19.92 kB / 0.5624 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.7091, allocations: 306.2 kB / 0.5627 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/0.7093, allocations: 75.94 kB / 0.5628 GB, free: 0.8086 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.0004508/0.7098, allocations: 180.6 kB / 0.563 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.7101, allocations: 71.11 kB / 0.563 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/0.7136, allocations: 1.693 MB / 0.5647 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.7137, allocations: 12 kB / 0.5647 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.7137, allocations: 3.938 kB / 0.5647 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.7137, allocations: 3.984 kB / 0.5647 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006102/0.7198, allocations: 3.728 MB / 0.5684 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.7199, allocations: 8 kB / 0.5684 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/0.7225, allocations: 484 kB / 0.5688 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.78e-05/0.7225, allocations: 15.95 kB / 0.5688 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.7227, allocations: 67.92 kB / 0.5689 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.025e-05/0.7227, allocations: 15.94 kB / 0.5689 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.7228, allocations: 11.94 kB / 0.5689 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004156/0.7269, allocations: 2.738 MB / 0.5716 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/0.7277, allocations: 319.8 kB / 0.5719 GB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.728, allocations: 47.98 kB / 0.572 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.7296, allocations: 191.7 kB / 0.5721 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/0.7299, allocations: 96.31 kB / 0.5722 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.73, allocations: 51.94 kB / 0.5723 GB, free: 6.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007842/0.7308, allocations: 461.5 kB / 0.5727 GB, free: 6.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7308, allocations: 0 / 0.5727 GB, free: 6.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001158/0.732, allocations: 260 kB / 0.573 GB, free: 5.934 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.005321/0.7373, allocations: 5.413 MB / 0.5783 GB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003365/0.7407, allocations: 1.771 MB / 0.58 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/0.7408, allocations: 4 kB / 0.58 GB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.7421, allocations: 0.7883 MB / 0.5808 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.7427, allocations: 62.08 kB / 0.5808 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.747, allocations: 2.457 MB / 0.5832 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.7477, allocations: 0.9961 MB / 0.5842 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00188/0.7496, allocations: 0.6043 MB / 0.5848 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008188/0.7504, allocations: 283.3 kB / 0.585 GB, free: 9.164 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7504, allocations: 0 / 0.585 GB, free: 9.164 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04426/0.7947, allocations: 18.99 MB / 0.6036 GB, free: 6.254 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.795, allocations: 144.4 kB / 0.6037 GB, free: 6.027 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.228, allocations: 0 / 0.6037 GB, free: 6.027 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian.fmu > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1)