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.005528/0.005528, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001351/0.001351, allocations: 195 kB / 16.67 MB, free: 5.977 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.284/1.284, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06436/0.06436, allocations: 10.98 MB / 280.9 MB, free: 10.15 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.001342/0.001342, allocations: 67.91 kB / 390.5 MB, free: 4.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2248, allocations: 48.75 MB / 439.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002166/0.227, allocations: 1.475 MB / 440.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.2279, allocations: 0.5905 MB / 441.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.2279, allocations: 3.938 kB / 441.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2281, allocations: 13.36 kB / 441.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.2283, allocations: 72.7 kB / 441.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.2285, allocations: 81.66 kB / 441.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.2296, allocations: 1.134 MB / 442.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.2296, allocations: 10.98 kB / 442.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.2301, allocations: 435.8 kB / 443.1 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007533/0.2309, allocations: 404.3 kB / 443.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.231, allocations: 74.97 kB / 443.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.2312, allocations: 73.75 kB / 443.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005393/0.2317, allocations: 473.1 kB / 444.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.2321, allocations: 439.6 kB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006457/0.2328, allocations: 0.9395 MB / 445.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2328, allocations: 0 / 445.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2328, allocations: 1.188 kB / 445.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.2328, allocations: 0 / 445.4 MB, free: 2.211 MB / 318.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.007621/0.2404, allocations: 2.166 MB / 447.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2405, allocations: 11.09 kB / 447.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.2407, allocations: 73.84 kB / 447.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.2414, allocations: 0.5476 MB / 448.2 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.2415, allocations: 47.5 kB / 448.3 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.2416, allocations: 80.28 kB / 448.4 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.2433, allocations: 1.139 MB / 449.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.2433, allocations: 0 / 449.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.591e-05/0.2434, allocations: 24.56 kB / 449.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.708e-05/0.2435, allocations: 51.58 kB / 449.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003766/0.2473, allocations: 2.514 MB / 452.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009034/0.2563, allocations: 3.724 MB / 455.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.2577, allocations: 0.9523 MB / 456.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.2588, allocations: 0.7917 MB / 457.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.064e-05/0.2589, allocations: 28.95 kB / 457.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/0.26, allocations: 0.852 MB / 458.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 2.374e-06/0.26, allocations: 0 / 458.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.003201/0.2633, allocations: 2.056 MB / 460.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.2633, allocations: 68.34 kB / 460.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/0.264, allocations: 0.6346 MB / 461.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.2641, allocations: 49.7 kB / 461.2 MB, free: 6.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.2643, allocations: 372.5 kB / 461.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.2646, allocations: 388.8 kB / 462 MB, free: 6.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004695/0.2651, allocations: 323.4 kB / 462.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2652, allocations: 337.9 kB / 462.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.2664, allocations: 0.7924 MB / 463.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.2678, allocations: 1.089 MB / 464.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.2704, allocations: 1.971 MB / 466.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.2705, allocations: 4 kB / 466.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00334/0.2738, allocations: 2.188 MB / 468.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.2739, allocations: 37.45 kB / 468.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.2739, allocations: 15.88 kB / 468.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.2739, allocations: 16 kB / 468.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.2768, allocations: 0.6244 MB / 469.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-05/0.2768, allocations: 23.92 kB / 469.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.2783, allocations: 302.7 kB / 469.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.2785, allocations: 71.94 kB / 469.8 MB, free: 14.14 MB / 350.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.0004649/0.2789, allocations: 297.3 kB / 470 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.2791, allocations: 75.53 kB / 470.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/0.2821, allocations: 1.729 MB / 471.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2821, allocations: 8 kB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.2821, allocations: 7.984 kB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2822, allocations: 3.984 kB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/0.2872, allocations: 3.758 MB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.2873, allocations: 8.938 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/0.2897, allocations: 491.1 kB / 476.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.2897, allocations: 12 kB / 476.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.2898, allocations: 67.92 kB / 476.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.2898, allocations: 11.94 kB / 476.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.2898, allocations: 11.94 kB / 476.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.2932, allocations: 2.461 MB / 478.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.2937, allocations: 320.1 kB / 479 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.2938, allocations: 51.97 kB / 479 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.2951, allocations: 183.8 kB / 479.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.2953, allocations: 100.3 kB / 479.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-05/0.2954, allocations: 43.95 kB / 479.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005194/0.296, allocations: 458.8 kB / 479.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.296, allocations: 0 / 479.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008634/0.2968, allocations: 251.9 kB / 480.1 MB, free: 3.551 MB / 350.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.0002091/0.2971, allocations: 163 kB / 480.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.2998, allocations: 1.846 MB / 482.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2998, allocations: 0 / 482.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.3011, allocations: 0.8155 MB / 482.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.3017, allocations: 79.45 kB / 483 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.3048, allocations: 2.466 MB / 485.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.3053, allocations: 0.9784 MB / 486.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001412/0.3068, allocations: 0.6042 MB / 487 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.3072, allocations: 107.3 kB / 487.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3073, allocations: 0 / 487.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Templates: time 0.01681/0.3241, allocations: 12.08 MB / 499.2 MB, free: 228 kB / 366.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)