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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/TAeZoSysPro master/package.mo", uses=false) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 104.1 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 195.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06187/0.06187, allocations: 10.97 MB / 281.1 MB, free: 10.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 68.47 kB / 340.7 MB, free: 23.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08864, allocations: 48.75 MB / 389.4 MB, free: 6.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002709/0.09139, allocations: 1.541 MB / 390.9 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.09239, allocations: 0.5854 MB / 391.5 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.09245, allocations: 0 / 391.5 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.09259, allocations: 11.94 kB / 391.5 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.09288, allocations: 71.78 kB / 391.6 MB, free: 4.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.09311, allocations: 63.92 kB / 391.7 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009453/0.09407, allocations: 1.137 MB / 392.8 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.09412, allocations: 4 kB / 392.8 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.09453, allocations: 431.4 kB / 393.2 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.09514, allocations: 419.1 kB / 393.6 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.09527, allocations: 76 kB / 393.7 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.09539, allocations: 72 kB / 393.8 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.09585, allocations: 470.9 kB / 394.2 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.09626, allocations: 441.9 kB / 394.7 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.09685, allocations: 0.7527 MB / 395.4 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09686, allocations: 0 / 395.4 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09687, allocations: 0 / 395.4 MB, free: 352 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.09689, allocations: 4 kB / 395.4 MB, free: 348 kB / 286.1 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.008355/0.1052, allocations: 2.141 MB / 397.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1053, allocations: 15.97 kB / 397.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.1055, allocations: 72 kB / 397.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.1063, allocations: 0.5463 MB / 398.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.1063, allocations: 45.69 kB / 398.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.1065, allocations: 84.19 kB / 398.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.1082, allocations: 1.139 MB / 399.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1082, allocations: 0 / 399.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/0.1083, allocations: 20 kB / 399.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.1084, allocations: 49.3 kB / 399.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/0.112, allocations: 2.514 MB / 402.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009067/0.1211, allocations: 3.727 MB / 405.8 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.1226, allocations: 0.9611 MB / 406.7 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.1236, allocations: 0.7878 MB / 407.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.844e-05/0.1237, allocations: 28.95 kB / 407.6 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.1249, allocations: 0.8598 MB / 408.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 2.645e-06/0.1249, allocations: 0 / 408.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.003108/0.128, allocations: 2.047 MB / 410.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.128, allocations: 64.41 kB / 410.5 MB, free: 1.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.1287, allocations: 0.6461 MB / 411.2 MB, free: 388 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.1288, allocations: 45.7 kB / 411.2 MB, free: 336 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.1291, allocations: 355.5 kB / 411.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.1293, allocations: 374.8 kB / 411.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004575/0.1298, allocations: 327.2 kB / 412.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1299, allocations: 329.9 kB / 412.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.1311, allocations: 0.8002 MB / 413.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.1324, allocations: 1.089 MB / 414.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/0.135, allocations: 1.967 MB / 416.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.135, allocations: 0 / 416.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003146/0.1381, allocations: 2.173 MB / 418.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.1382, allocations: 37.7 kB / 418.6 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.1382, allocations: 7.969 kB / 418.6 MB, free: 8.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.1383, allocations: 20 kB / 418.7 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.141, allocations: 0.6201 MB / 419.3 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/0.1411, allocations: 23.92 kB / 419.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.1426, allocations: 298.2 kB / 419.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.1427, allocations: 75.94 kB / 419.7 MB, free: 7.602 MB / 318.1 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.0004116/0.1431, allocations: 301.3 kB / 420 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.1433, allocations: 71.09 kB / 420 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.146, allocations: 1.733 MB / 421.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.146, allocations: 8 kB / 421.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.146, allocations: 0 / 421.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.146, allocations: 7.922 kB / 421.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004829/0.1509, allocations: 3.766 MB / 425.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.1509, allocations: 8 kB / 425.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/0.1534, allocations: 483.2 kB / 426 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.1534, allocations: 8 kB / 426 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.1535, allocations: 75.92 kB / 426.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/0.1535, allocations: 15.94 kB / 426.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.1535, allocations: 11.94 kB / 426.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1606/0.3142, allocations: 2.456 MB / 428.6 MB, free: 41.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006771/0.3149, allocations: 311.2 kB / 428.9 MB, free: 41.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.3152, allocations: 52.31 kB / 429 MB, free: 41.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.3167, allocations: 179.3 kB / 429.1 MB, free: 41.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/0.317, allocations: 103.8 kB / 429.2 MB, free: 41.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.3172, allocations: 50.98 kB / 429.3 MB, free: 41.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006199/0.3178, allocations: 453.2 kB / 429.7 MB, free: 41.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3178, allocations: 0 / 429.7 MB, free: 41.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001004/0.3188, allocations: 250.3 kB / 430 MB, free: 41.31 MB / 318.1 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.000236/0.3191, allocations: 167 kB / 430.1 MB, free: 41.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003503/0.3226, allocations: 2.244 MB / 432.4 MB, free: 40.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.3226, allocations: 1.719 kB / 432.4 MB, free: 40.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3239, allocations: 0.7885 MB / 433.2 MB, free: 40.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.3246, allocations: 78.27 kB / 433.2 MB, free: 40.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.328, allocations: 2.761 MB / 436 MB, free: 39.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.3284, allocations: 0.98 MB / 437 MB, free: 38.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006858/0.3291, allocations: 133.1 kB / 437.1 MB, free: 38.3 MB / 318.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3291, allocations: 1.219 kB / 437.1 MB, free: 38.3 MB / 318.1 MB Notification: Performance of Templates: time 0.01699/0.3461, allocations: 14.01 MB / 451.1 MB, free: 30.62 MB / 318.1 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)