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.001798/0.001798, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06997/0.06997, allocations: 10.97 MB / 280.9 MB, free: 10.16 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.001419/0.001419, allocations: 74.23 kB / 390 MB, free: 5.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2646, allocations: 48.76 MB / 438.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.0022/0.2668, allocations: 1.474 MB / 440.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.2678, allocations: 0.593 MB / 440.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.2678, allocations: 0.8125 kB / 440.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.268, allocations: 13.14 kB / 440.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.2683, allocations: 75.61 kB / 440.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.2685, allocations: 78.12 kB / 441 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.2697, allocations: 1.142 MB / 442.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.2697, allocations: 11.45 kB / 442.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004589/0.2702, allocations: 426.7 kB / 442.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.2709, allocations: 405.4 kB / 442.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.2711, allocations: 75.56 kB / 443 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.2712, allocations: 72.47 kB / 443.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005636/0.2718, allocations: 474.4 kB / 443.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.2723, allocations: 438.2 kB / 444 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007009/0.273, allocations: 0.9403 MB / 444.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.273, allocations: 0 / 444.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.273, allocations: 1.094 kB / 444.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.273, allocations: 4 kB / 444.9 MB, free: 2.074 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.007587/0.2806, allocations: 2.162 MB / 447.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.2807, allocations: 14.69 kB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.2808, allocations: 112.2 kB / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.281, allocations: 75 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008932/0.2819, allocations: 0.5436 MB / 447.8 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.282, allocations: 47.28 kB / 447.9 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.2822, allocations: 84.52 kB / 448 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.2839, allocations: 1.134 MB / 449.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.284, allocations: 5.375 kB / 449.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.172e-05/0.2841, allocations: 20.12 kB / 449.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/0.2841, allocations: 50.97 kB / 449.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003904/0.288, allocations: 2.505 MB / 451.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009968/0.298, allocations: 3.732 MB / 455.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.2996, allocations: 0.9501 MB / 456.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.3007, allocations: 0.7916 MB / 457.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-05/0.3008, allocations: 28.94 kB / 457.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.3021, allocations: 0.8598 MB / 458 MB, free: 9.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 3.076e-06/0.3021, allocations: 0 / 458 MB, free: 9.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.00345/0.3056, allocations: 2.048 MB / 460.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.3057, allocations: 72.33 kB / 460.2 MB, free: 7.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/0.3065, allocations: 0.6424 MB / 460.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.3066, allocations: 45.7 kB / 460.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.3068, allocations: 360.5 kB / 461.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.3072, allocations: 392.8 kB / 461.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005127/0.3077, allocations: 331.4 kB / 461.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3078, allocations: 329.9 kB / 462.2 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.3091, allocations: 0.7963 MB / 463 MB, free: 4.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.3106, allocations: 1.092 MB / 464.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.3134, allocations: 1.971 MB / 466.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.3134, allocations: 4 kB / 466.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003542/0.317, allocations: 2.18 MB / 468.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.317, allocations: 41.69 kB / 468.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.3171, allocations: 11.94 kB / 468.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.3171, allocations: 12.66 kB / 468.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/0.32, allocations: 0.624 MB / 469 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.791e-05/0.3201, allocations: 19.94 kB / 469 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.3218, allocations: 306.7 kB / 469.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.3219, allocations: 71.95 kB / 469.3 MB, free: 14.12 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.0004797/0.3224, allocations: 297.3 kB / 469.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.3226, allocations: 75.53 kB / 469.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.3256, allocations: 1.733 MB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3256, allocations: 8 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3256, allocations: 3.938 kB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.3256, allocations: 3.984 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/0.3311, allocations: 3.759 MB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.3311, allocations: 11.94 kB / 475.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/0.3337, allocations: 479.2 kB / 475.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/0.3337, allocations: 12 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.3339, allocations: 67.92 kB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.758e-05/0.3339, allocations: 23.92 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/0.3339, allocations: 15.94 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/0.3374, allocations: 2.457 MB / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/0.3381, allocations: 320.2 kB / 478.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.3384, allocations: 51.98 kB / 478.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.3398, allocations: 183.7 kB / 478.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.34, allocations: 96.3 kB / 478.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.555e-05/0.3401, allocations: 51.94 kB / 479 MB, free: 4.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005786/0.3407, allocations: 454.7 kB / 479.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3407, allocations: 0 / 479.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009136/0.3416, allocations: 251.9 kB / 479.6 MB, free: 3.523 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.003944/0.3456, allocations: 3.06 MB / 482.7 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.349, allocations: 1.846 MB / 484.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.349, allocations: 4 kB / 484.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.3504, allocations: 0.8077 MB / 485.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/0.3512, allocations: 87.19 kB / 485.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/0.3681, allocations: 11.69 MB / 497.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/0.3689, allocations: 0.9745 MB / 498.1 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001859/0.3708, allocations: 0.6043 MB / 498.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007471/0.3716, allocations: 291.2 kB / 499 MB, free: 15.47 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3716, allocations: 0 / 499 MB, free: 15.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04548/0.4171, allocations: 20.07 MB / 0.5069 GB, free: 11.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.75, allocations: 11.8 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)