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.0008128/0.0008128, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009125/0.0009125, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0654/0.0654, allocations: 10.99 MB / 281.4 MB, free: 10.14 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.0005471/0.0005472, allocations: 12 kB / 341.6 MB, free: 23.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.09006, allocations: 49.77 MB / 391.4 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.001644/0.09175, allocations: 1.19 MB / 392.6 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.0928, allocations: 0.5624 MB / 393.1 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.09289, allocations: 4 kB / 393.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.09301, allocations: 3.938 kB / 393.1 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.09328, allocations: 63.8 kB / 393.2 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.09359, allocations: 75.91 kB / 393.3 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008938/0.09449, allocations: 0.8795 MB / 394.2 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.448e-05/0.09457, allocations: 8 kB / 394.2 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005838/0.09516, allocations: 403.4 kB / 394.6 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008558/0.09602, allocations: 411.1 kB / 395 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.09621, allocations: 48 kB / 395 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.09635, allocations: 44 kB / 395.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005041/0.09686, allocations: 435 kB / 395.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.0971, allocations: 113.3 kB / 395.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.09777, allocations: 0.7136 MB / 396.3 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.09779, allocations: 4 kB / 396.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0978, allocations: 0 / 396.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.09783, allocations: 0 / 396.3 MB, free: 0.5664 MB / 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.007858/0.1057, allocations: 2.087 MB / 398.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1057, allocations: 12.03 kB / 398.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.1061, allocations: 75.06 kB / 398.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009162/0.107, allocations: 0.5335 MB / 399 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.1071, allocations: 49.25 kB / 399.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.1073, allocations: 79.89 kB / 399.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.1092, allocations: 1.134 MB / 400.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1093, allocations: 0 / 400.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/0.1094, allocations: 28 kB / 400.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/0.1094, allocations: 49.28 kB / 400.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003958/0.1134, allocations: 2.518 MB / 402.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009389/0.1228, allocations: 3.844 MB / 406.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.1244, allocations: 0.9612 MB / 407.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.1256, allocations: 0.7917 MB / 408.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/0.1257, allocations: 24.95 kB / 408.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/0.1271, allocations: 0.8637 MB / 409.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 3.146e-06/0.1271, allocations: 0 / 409.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.003584/0.1307, allocations: 2.071 MB / 411.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.1308, allocations: 68.39 kB / 411.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/0.1316, allocations: 0.6345 MB / 412.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.1317, allocations: 49.7 kB / 412.2 MB, free: 488 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.132, allocations: 355.2 kB / 412.5 MB, free: 124 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.1323, allocations: 371 kB / 412.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.1325, allocations: 32 kB / 412.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1327, allocations: 398.7 kB / 413.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.134, allocations: 0.7963 MB / 414.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.1355, allocations: 1.092 MB / 415.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.1371, allocations: 0.9878 MB / 416.2 MB, free: 12.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.1372, allocations: 7.781 kB / 416.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003561/0.1407, allocations: 2.172 MB / 418.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.1408, allocations: 41.69 kB / 418.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.1408, allocations: 8 kB / 418.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.1408, allocations: 16.56 kB / 418.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/0.1437, allocations: 0.624 MB / 419 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.285e-05/0.1437, allocations: 19.94 kB / 419.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.1452, allocations: 302.3 kB / 419.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.1454, allocations: 67.95 kB / 419.4 MB, free: 9.066 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 ($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.0004596/0.1458, allocations: 317.2 kB / 419.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.146, allocations: 71.06 kB / 419.8 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.1492, allocations: 1.745 MB / 421.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.1492, allocations: 8 kB / 421.6 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1492, allocations: 0 / 421.6 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.1492, allocations: 3.984 kB / 421.6 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005486/0.1547, allocations: 3.777 MB / 425.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.1547, allocations: 8 kB / 425.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/0.1571, allocations: 484 kB / 425.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.1571, allocations: 12 kB / 425.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.1573, allocations: 67.92 kB / 425.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.386e-05/0.1573, allocations: 19.92 kB / 425.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/0.1573, allocations: 11.94 kB / 425.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1699/0.3273, allocations: 2.471 MB / 428.4 MB, free: 40.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008447/0.3281, allocations: 310.5 kB / 428.7 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/0.3286, allocations: 50.44 kB / 428.8 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.3301, allocations: 179.2 kB / 428.9 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.3304, allocations: 105.6 kB / 429 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.3306, allocations: 48.73 kB / 429.1 MB, free: 39.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006763/0.3313, allocations: 451 kB / 429.5 MB, free: 39.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3313, allocations: 2.25 kB / 429.5 MB, free: 39.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001013/0.3323, allocations: 247.3 kB / 429.8 MB, free: 39.89 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 (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.000244/0.3325, allocations: 167 kB / 429.9 MB, free: 39.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00344/0.336, allocations: 1.834 MB / 431.8 MB, free: 39.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.336, allocations: 1.438 kB / 431.8 MB, free: 39.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.3375, allocations: 0.8158 MB / 432.6 MB, free: 39.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.3382, allocations: 83.77 kB / 432.7 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.3418, allocations: 2.704 MB / 435.4 MB, free: 38.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.3423, allocations: 0.9748 MB / 436.3 MB, free: 37.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001817/0.3441, allocations: 0.5988 MB / 436.9 MB, free: 37.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.3447, allocations: 106.2 kB / 437 MB, free: 37.66 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3447, allocations: 0 / 437 MB, free: 37.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01599/0.3607, allocations: 10.82 MB / 447.9 MB, free: 34.22 MB / 318.1 MB make -j1 -f TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: