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.001359/0.001359, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.569/1.569, 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.001056/0.001056, allocations: 88.5 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.05772/0.05772, allocations: 10.88 MB / 320.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.971e-05, allocations: 0 / 376.3 MB, free: 77.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08795, allocations: 49.77 MB / 426 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5444, allocations: 78.61 MB / 0.4928 GB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.5447, allocations: 69.58 kB / 0.4929 GB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.128/0.6727, allocations: 42.08 MB / 0.534 GB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6728, allocations: 4 kB / 0.534 GB, free: 11.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.109e-05/0.6728, allocations: 12 kB / 0.534 GB, free: 11.61 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.004752/0.6776, allocations: 1.609 MB / 0.5356 GB, free: 9.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.6776, allocations: 12.03 kB / 0.5356 GB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.6779, allocations: 71.16 kB / 0.5356 GB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/0.6788, allocations: 0.5598 MB / 0.5362 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.6788, allocations: 16 kB / 0.5362 GB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.679, allocations: 59.75 kB / 0.5363 GB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003465/0.6825, allocations: 2.443 MB / 0.5386 GB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.684, allocations: 1.035 MB / 0.5397 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.684, allocations: 0 / 0.5397 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/0.6841, allocations: 0 / 0.5397 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/0.6841, allocations: 48.86 kB / 0.5397 GB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009552/0.6937, allocations: 3.763 MB / 0.5434 GB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.6949, allocations: 0.8757 MB / 0.5442 GB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/0.6958, allocations: 0.7299 MB / 0.5449 GB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.331e-05/0.6959, allocations: 28.38 kB / 0.545 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.6972, allocations: 0.7967 MB / 0.5458 GB, free: 1.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 3.286e-06/0.6972, allocations: 0 / 0.5458 GB, free: 1.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=97): time 0.002474/0.6997, allocations: 1.372 MB / 0.5471 GB, free: 52 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.6998, allocations: 68.19 kB / 0.5472 GB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008921/0.7007, allocations: 0.5712 MB / 0.5477 GB, free: 15.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.7008, allocations: 25.7 kB / 0.5477 GB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.7012, allocations: 347.4 kB / 0.5481 GB, free: 15.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.7015, allocations: 362.8 kB / 0.5484 GB, free: 14.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.7017, allocations: 0 / 0.5484 GB, free: 14.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.7019, allocations: 394.8 kB / 0.5488 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.7029, allocations: 0.7379 MB / 0.5495 GB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.7042, allocations: 1.011 MB / 0.5505 GB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.7054, allocations: 0.8962 MB / 0.5514 GB, free: 11.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.7054, allocations: 0 / 0.5514 GB, free: 11.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00292/0.7084, allocations: 1.964 MB / 0.5533 GB, free: 9.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.7084, allocations: 37.69 kB / 0.5533 GB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.7085, allocations: 11.95 kB / 0.5533 GB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.7085, allocations: 16 kB / 0.5534 GB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.7114, allocations: 0.6285 MB / 0.554 GB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.7115, allocations: 21.19 kB / 0.554 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.7132, allocations: 278.2 kB / 0.5543 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.7133, allocations: 75.94 kB / 0.5543 GB, free: 8.469 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.0002687/0.7136, allocations: 136.6 kB / 0.5545 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00196/0.7156, allocations: 1.353 MB / 0.5558 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.7157, allocations: 75.05 kB / 0.5558 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.7184, allocations: 1.627 MB / 0.5574 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7184, allocations: 12 kB / 0.5574 GB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.7184, allocations: 4 kB / 0.5575 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.7185, allocations: 7.969 kB / 0.5575 GB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.7233, allocations: 3.578 MB / 0.561 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.7233, allocations: 8.938 kB / 0.561 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/0.7258, allocations: 483.2 kB / 0.5614 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/0.7258, allocations: 12 kB / 0.5614 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.7259, allocations: 63.88 kB / 0.5615 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.726, allocations: 15.94 kB / 0.5615 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.689e-06/0.726, allocations: 11.94 kB / 0.5615 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.7291, allocations: 2.668 MB / 0.5641 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.7296, allocations: 319.7 kB / 0.5644 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.7298, allocations: 35.97 kB / 0.5645 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.7312, allocations: 175.7 kB / 0.5646 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.7314, allocations: 96.25 kB / 0.5647 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.7315, allocations: 59.94 kB / 0.5648 GB, free: 13.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000491/0.732, allocations: 434.9 kB / 0.5652 GB, free: 12.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.732, allocations: 0 / 0.5652 GB, free: 12.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009109/0.7329, allocations: 216 kB / 0.5654 GB, free: 12.66 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.004102/0.7371, allocations: 5.334 MB / 0.5706 GB, free: 7.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.7395, allocations: 1.696 MB / 0.5723 GB, free: 5.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7395, allocations: 0 / 0.5723 GB, free: 5.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.7405, allocations: 0.7665 MB / 0.573 GB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.741, allocations: 50.06 kB / 0.5731 GB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.7442, allocations: 2.356 MB / 0.5754 GB, free: 2.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.7447, allocations: 0.9919 MB / 0.5763 GB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00169/0.7464, allocations: 0.6004 MB / 0.5769 GB, free: 472 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/0.7471, allocations: 291.2 kB / 0.5772 GB, free: 180 kB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.7471, allocations: 0 / 0.5772 GB, free: 180 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7223/1.469, allocations: 18.15 MB / 0.5949 GB, free: 14.04 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.47, allocations: 124.1 kB / 0.595 GB, free: 13.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/4.418, allocations: 3.875 kB / 0.595 GB, free: 13.84 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)