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.007533/0.007533, allocations: 170.8 kB / 15.11 MB, free: 6.039 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.736/1.736, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.001078/0.001079, allocations: 86.88 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06159/0.06159, allocations: 10.98 MB / 328.8 MB, free: 11.88 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003566, allocations: 9.891 kB / 389.2 MB, free: 55.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 49.76 MB / 438.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.2415, allocations: 79.36 MB / 0.5061 GB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.2522/0.4938, allocations: 60.52 kB / 0.5062 GB, free: 78.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1257/0.6196, allocations: 42.2 MB / 0.5474 GB, free: 43.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6197, allocations: 3.938 kB / 0.5474 GB, free: 43.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.6197, allocations: 16 kB / 0.5474 GB, free: 43 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.00545/0.6252, allocations: 1.864 MB / 0.5493 GB, free: 41.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.6252, allocations: 16.02 kB / 0.5493 GB, free: 41.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.6254, allocations: 106.5 kB / 0.5494 GB, free: 40.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.6256, allocations: 71.16 kB / 0.5494 GB, free: 40.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.6266, allocations: 0.5412 MB / 0.55 GB, free: 40.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.6267, allocations: 49.31 kB / 0.55 GB, free: 40.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.6269, allocations: 79.89 kB / 0.5501 GB, free: 40.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.6286, allocations: 1.127 MB / 0.5512 GB, free: 39.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.6286, allocations: 0 / 0.5512 GB, free: 39.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/0.6287, allocations: 20 kB / 0.5512 GB, free: 39.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/0.6287, allocations: 53.28 kB / 0.5513 GB, free: 38.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003293/0.632, allocations: 2.518 MB / 0.5537 GB, free: 36.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009323/0.6414, allocations: 3.852 MB / 0.5575 GB, free: 32.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.6428, allocations: 0.9573 MB / 0.5584 GB, free: 31.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-05/0.6429, allocations: 28.95 kB / 0.5584 GB, free: 31.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.644, allocations: 0.8597 MB / 0.5593 GB, free: 30.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 4.268e-06/0.644, allocations: 3.938 kB / 0.5593 GB, free: 30.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=97): time 0.003055/0.6471, allocations: 2.075 MB / 0.5613 GB, free: 28.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.6471, allocations: 68.41 kB / 0.5614 GB, free: 28.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.6478, allocations: 0.5751 MB / 0.5619 GB, free: 27.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.6479, allocations: 45.7 kB / 0.562 GB, free: 27.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.6481, allocations: 359.2 kB / 0.5623 GB, free: 27.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.6483, allocations: 374.8 kB / 0.5627 GB, free: 27.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.6484, allocations: 32 kB / 0.5627 GB, free: 27.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6486, allocations: 398.7 kB / 0.5631 GB, free: 26.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.6497, allocations: 0.8002 MB / 0.5639 GB, free: 25.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.651, allocations: 1.081 MB / 0.5649 GB, free: 24.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.6522, allocations: 0.9956 MB / 0.5659 GB, free: 23.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6523, allocations: 4 kB / 0.5659 GB, free: 23.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003016/0.6553, allocations: 2.177 MB / 0.568 GB, free: 21.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.6553, allocations: 37.69 kB / 0.5681 GB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.6554, allocations: 8 kB / 0.5681 GB, free: 21.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-05/0.6554, allocations: 19.94 kB / 0.5681 GB, free: 21.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/0.6583, allocations: 0.6241 MB / 0.5687 GB, free: 20.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/0.6584, allocations: 19.94 kB / 0.5687 GB, free: 20.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.66, allocations: 314.2 kB / 0.569 GB, free: 20.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.6602, allocations: 67.95 kB / 0.5691 GB, free: 20.43 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004541/0.6607, allocations: 293.3 kB / 0.5694 GB, free: 20.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.6608, allocations: 71.11 kB / 0.5694 GB, free: 20.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.6637, allocations: 1.761 MB / 0.5712 GB, free: 18.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.6637, allocations: 8 kB / 0.5712 GB, free: 18.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.6637, allocations: 3.938 kB / 0.5712 GB, free: 18.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.6637, allocations: 3.984 kB / 0.5712 GB, free: 18.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/0.6688, allocations: 3.786 MB / 0.5749 GB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.6689, allocations: 8 kB / 0.5749 GB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/0.672, allocations: 483.4 kB / 0.5753 GB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.372e-05/0.672, allocations: 12 kB / 0.5753 GB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.6722, allocations: 71.88 kB / 0.5754 GB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.42e-05/0.6722, allocations: 15.94 kB / 0.5754 GB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.6722, allocations: 11.94 kB / 0.5754 GB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/0.6761, allocations: 2.833 MB / 0.5782 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006247/0.6767, allocations: 307.8 kB / 0.5785 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.6769, allocations: 51.97 kB / 0.5785 GB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.6782, allocations: 187.8 kB / 0.5787 GB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.6784, allocations: 92.31 kB / 0.5788 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.6786, allocations: 55.94 kB / 0.5789 GB, free: 9.922 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005831/0.6792, allocations: 446.8 kB / 0.5793 GB, free: 9.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6792, allocations: 0 / 0.5793 GB, free: 9.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009632/0.6801, allocations: 252 kB / 0.5795 GB, free: 9.238 MB / 346.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) * 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 (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.003947/0.6841, allocations: 5.509 MB / 0.5849 GB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.6869, allocations: 1.84 MB / 0.5867 GB, free: 1.652 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6869, allocations: 0 / 0.5867 GB, free: 1.652 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.6881, allocations: 0.8208 MB / 0.5875 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.6886, allocations: 65.95 kB / 0.5876 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.7044, allocations: 12.57 MB / 0.5999 GB, free: 3.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/0.7054, allocations: 1.001 MB / 0.6008 GB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001934/0.7073, allocations: 0.5926 MB / 0.6014 GB, free: 2.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.708, allocations: 291.2 kB / 0.6017 GB, free: 1.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.708, allocations: 0 / 0.6017 GB, free: 1.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04543/0.7535, allocations: 18.65 MB / 0.6199 GB, free: 15.37 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.7538, allocations: 171.1 kB / 0.6201 GB, free: 15.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/3.518, allocations: 0 / 0.6201 GB, free: 15.12 MB / 394.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)