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: 182.9 kB / 15.98 MB, free: 5.77 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.422/1.422, allocations: 205.1 MB / 221.8 MB, free: 8.473 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.0009721/0.000972, allocations: 117.5 kB / 269.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06595/0.06595, allocations: 10.98 MB / 327.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 47.92 kB / 387 MB, free: 68.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09063, allocations: 48.74 MB / 435.8 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002616/0.0933, allocations: 1.544 MB / 437.3 MB, free: 17.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.09426, allocations: 0.5893 MB / 437.9 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.09432, allocations: 0 / 437.9 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.09448, allocations: 19.92 kB / 437.9 MB, free: 17.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.09476, allocations: 63.8 kB / 438 MB, free: 17.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.095, allocations: 71.84 kB / 438.1 MB, free: 17.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006846/0.0957, allocations: 1.051 MB / 439.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.09576, allocations: 8 kB / 439.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.09605, allocations: 403.3 kB / 439.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.09662, allocations: 411.2 kB / 439.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.09675, allocations: 44 kB / 440 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.09687, allocations: 44 kB / 440 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.09726, allocations: 442.9 kB / 440.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.09761, allocations: 413.9 kB / 440.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.09815, allocations: 0.8843 MB / 441.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.09816, allocations: 0 / 441.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09817, allocations: 0 / 441.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.09818, allocations: 0 / 441.7 MB, free: 13.57 MB / 298.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.008147/0.1063, allocations: 2.156 MB / 443.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1064, allocations: 8.031 kB / 443.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.1066, allocations: 76 kB / 444 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008903/0.1075, allocations: 0.5346 MB / 444.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.1075, allocations: 49.69 kB / 444.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.1077, allocations: 84.17 kB / 444.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.1092, allocations: 1.139 MB / 445.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.1092, allocations: 0 / 445.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.1093, allocations: 20 kB / 445.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.1093, allocations: 53.27 kB / 445.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.1125, allocations: 2.507 MB / 448.3 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008916/0.1214, allocations: 3.739 MB / 452.1 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.1226, allocations: 0.9534 MB / 453 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008586/0.1235, allocations: 0.7878 MB / 453.8 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.434e-05/0.1236, allocations: 24.95 kB / 453.8 MB, free: 1.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.1247, allocations: 0.8676 MB / 454.7 MB, free: 384 kB / 298.7 MB Notification: Performance of pre-optimization done (n=97): time 5.731e-06/0.1247, allocations: 0 / 454.7 MB, free: 384 kB / 298.7 MB Notification: Performance of matching and sorting (n=97): time 0.003319/0.128, allocations: 2.044 MB / 456.8 MB, free: 14.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1281, allocations: 72.33 kB / 456.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/0.1288, allocations: 0.6422 MB / 457.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.775e-05/0.1289, allocations: 45.7 kB / 457.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.1292, allocations: 351.4 kB / 457.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.1294, allocations: 374.8 kB / 458.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004659/0.1299, allocations: 327.2 kB / 458.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.13, allocations: 337.9 kB / 458.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.1313, allocations: 0.8002 MB / 459.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.1326, allocations: 1.085 MB / 460.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.1352, allocations: 1.967 MB / 462.7 MB, free: 8.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.1352, allocations: 4 kB / 462.7 MB, free: 8.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003298/0.1385, allocations: 2.173 MB / 464.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.1386, allocations: 41.81 kB / 464.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.1386, allocations: 11.94 kB / 465 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.1387, allocations: 12 kB / 465 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/0.1415, allocations: 0.6279 MB / 465.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.1416, allocations: 12 kB / 465.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.1432, allocations: 302.3 kB / 465.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.1433, allocations: 71.95 kB / 466 MB, free: 4.828 MB / 314.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 (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.0004207/0.1438, allocations: 301.2 kB / 466.3 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.1439, allocations: 67.16 kB / 466.3 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.1469, allocations: 1.729 MB / 468.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.1469, allocations: 8 kB / 468.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.147, allocations: 0 / 468.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.147, allocations: 3.984 kB / 468.1 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006502/0.1535, allocations: 3.774 MB / 471.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.1535, allocations: 8 kB / 471.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/0.1564, allocations: 479.4 kB / 472.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/0.1564, allocations: 16 kB / 472.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.1565, allocations: 67.92 kB / 472.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.1566, allocations: 15.92 kB / 472.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.1566, allocations: 8 kB / 472.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2171/0.3737, allocations: 14.87 MB / 487.3 MB, free: 51.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/0.3745, allocations: 308.4 kB / 487.6 MB, free: 51.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.3747, allocations: 52.81 kB / 487.7 MB, free: 51.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.3761, allocations: 179.1 kB / 487.8 MB, free: 51.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.3764, allocations: 106.6 kB / 487.9 MB, free: 51.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.3765, allocations: 48.02 kB / 488 MB, free: 51.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005625/0.3771, allocations: 453.5 kB / 488.4 MB, free: 51.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3771, allocations: 0 / 488.4 MB, free: 51.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001139/0.3783, allocations: 328.2 kB / 488.7 MB, free: 51.33 MB / 330.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 (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.0002091/0.3785, allocations: 165.5 kB / 488.9 MB, free: 51.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.3815, allocations: 1.828 MB / 490.7 MB, free: 51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3815, allocations: 2.156 kB / 490.7 MB, free: 51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.383, allocations: 0.8119 MB / 491.5 MB, free: 50.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.3838, allocations: 79.84 kB / 491.6 MB, free: 50.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.388, allocations: 3.213 MB / 494.8 MB, free: 49.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.3884, allocations: 1.008 MB / 495.8 MB, free: 48.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001597/0.39, allocations: 0.6458 MB / 496.5 MB, free: 48.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005964/0.3906, allocations: 125.1 kB / 496.6 MB, free: 48.33 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3906, allocations: 0 / 496.6 MB, free: 48.33 MB / 330.7 MB Notification: Performance of Templates: time 0.02112/0.4117, allocations: 16.18 MB / 0.5008 GB, free: 40.12 MB / 330.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)