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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005742/0.005742, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00151/0.00151, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06897/0.06897, allocations: 10.98 MB / 280.9 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.002062/0.002062, allocations: 71.89 kB / 390 MB, free: 5.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2614, allocations: 48.75 MB / 438.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002231/0.2637, allocations: 1.478 MB / 440.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.2646, allocations: 0.5941 MB / 440.8 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.2647, allocations: 5.031 kB / 440.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.2648, allocations: 9.234 kB / 440.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.2651, allocations: 74.77 kB / 440.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.2654, allocations: 78.58 kB / 441 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.2665, allocations: 1.135 MB / 442.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.2666, allocations: 15.95 kB / 442.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/0.267, allocations: 426 kB / 442.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000749/0.2677, allocations: 405.8 kB / 443 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.2679, allocations: 73.94 kB / 443 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.268, allocations: 73.28 kB / 443.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005751/0.2686, allocations: 474.4 kB / 443.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.2691, allocations: 437.9 kB / 444 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007051/0.2698, allocations: 0.9377 MB / 444.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2698, allocations: 5.281 kB / 444.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2698, allocations: 0 / 444.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2699, allocations: 4 kB / 444.9 MB, free: 2.062 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.007606/0.2775, allocations: 2.163 MB / 447.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2775, allocations: 9.062 kB / 447.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.2777, allocations: 108.5 kB / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.2779, allocations: 75.22 kB / 447.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.2786, allocations: 0.5465 MB / 447.8 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.2787, allocations: 46.81 kB / 447.9 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.2788, allocations: 81.8 kB / 448 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.2807, allocations: 1.139 MB / 449.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2807, allocations: 5.094 kB / 449.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.2808, allocations: 20.22 kB / 449.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.2808, allocations: 50.94 kB / 449.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.2848, allocations: 2.509 MB / 451.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009588/0.2944, allocations: 3.729 MB / 455.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.296, allocations: 0.9527 MB / 456.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.2972, allocations: 0.7878 MB / 457.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.2973, allocations: 32.89 kB / 457.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.2986, allocations: 0.8559 MB / 458 MB, free: 9.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 3.346e-06/0.2986, allocations: 0 / 458 MB, free: 9.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.003607/0.3022, allocations: 2.056 MB / 460.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.3023, allocations: 60.41 kB / 460.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008067/0.3031, allocations: 0.6502 MB / 460.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.3032, allocations: 45.7 kB / 460.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.3035, allocations: 364.5 kB / 461.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.3039, allocations: 392.8 kB / 461.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005358/0.3044, allocations: 323.4 kB / 461.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3046, allocations: 333.9 kB / 462.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.3059, allocations: 0.8002 MB / 463 MB, free: 4.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.3076, allocations: 1.089 MB / 464.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.3107, allocations: 1.967 MB / 466.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.3107, allocations: 8 kB / 466.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00371/0.3145, allocations: 2.18 MB / 468.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.3145, allocations: 45.39 kB / 468.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3145, allocations: 11.94 kB / 468.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.3146, allocations: 15.98 kB / 468.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.3175, allocations: 0.6208 MB / 469 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.3175, allocations: 19.92 kB / 469 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.3192, allocations: 306.7 kB / 469.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.3193, allocations: 71.94 kB / 469.4 MB, free: 14.11 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.0004731/0.3198, allocations: 297.3 kB / 469.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.3199, allocations: 75.53 kB / 469.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/0.323, allocations: 1.733 MB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.3231, allocations: 8 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3231, allocations: 0 / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3231, allocations: 3.984 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/0.3286, allocations: 3.759 MB / 475.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.3286, allocations: 11.94 kB / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/0.3311, allocations: 487.2 kB / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.3311, allocations: 8 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.3312, allocations: 67.92 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.917e-05/0.3313, allocations: 15.94 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.3313, allocations: 15.94 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/0.335, allocations: 2.465 MB / 478.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004745/0.3355, allocations: 312.2 kB / 478.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.3357, allocations: 51.98 kB / 478.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.337, allocations: 179.8 kB / 478.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.3372, allocations: 96.3 kB / 478.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.3374, allocations: 55.94 kB / 479 MB, free: 4.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005608/0.3379, allocations: 458.7 kB / 479.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3379, allocations: 0 / 479.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008711/0.3388, allocations: 251.9 kB / 479.7 MB, free: 3.512 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.004056/0.3429, allocations: 3.06 MB / 482.7 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003023/0.3459, allocations: 1.85 MB / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3459, allocations: 0 / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.3473, allocations: 0.8155 MB / 485.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.348, allocations: 73.95 kB / 485.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.3638, allocations: 11.71 MB / 497.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.3645, allocations: 0.9784 MB / 498.1 MB, free: 348 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001527/0.366, allocations: 0.5965 MB / 498.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006613/0.3667, allocations: 287.3 kB / 499 MB, free: 15.46 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3667, allocations: 0 / 499 MB, free: 15.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04544/0.4121, allocations: 20.06 MB / 0.5069 GB, free: 11.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.241/9.653, allocations: 7.859 kB / 0.5069 GB, free: 11.36 MB / 398.1 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 & python3 -m fmpy simulate --output-file TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian.fmu > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1)