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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 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.00107/0.00107, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.302/1.302, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06336/0.06336, allocations: 10.99 MB / 280.7 MB, free: 10.22 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.001389/0.001389, allocations: 75.88 kB / 340.6 MB, free: 22.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0715/0.0729, allocations: 48.74 MB / 389.3 MB, free: 5.953 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.0023/0.07523, allocations: 1.487 MB / 390.8 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008455/0.07609, allocations: 0.5892 MB / 391.4 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.07615, allocations: 0 / 391.4 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.102e-05/0.07624, allocations: 11.86 kB / 391.4 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.07647, allocations: 75.78 kB / 391.5 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.0767, allocations: 79.81 kB / 391.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008756/0.07758, allocations: 1.126 MB / 392.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.07763, allocations: 11.98 kB / 392.7 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.07798, allocations: 423.5 kB / 393.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/0.0786, allocations: 415.2 kB / 393.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.07875, allocations: 72 kB / 393.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.07889, allocations: 76 kB / 393.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00048/0.07938, allocations: 470.9 kB / 394.1 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.07981, allocations: 441.9 kB / 394.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.08051, allocations: 0.9077 MB / 395.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.08052, allocations: 0 / 395.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08053, allocations: 0 / 395.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.08054, allocations: 0 / 395.5 MB, free: 15.78 MB / 302.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.007592/0.08814, allocations: 2.152 MB / 397.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.08817, allocations: 8.031 kB / 397.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.08832, allocations: 110.7 kB / 397.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.0885, allocations: 79.94 kB / 397.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007441/0.08925, allocations: 0.5462 MB / 398.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.08929, allocations: 49.69 kB / 398.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.08945, allocations: 80.27 kB / 398.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.09103, allocations: 1.134 MB / 399.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.09106, allocations: 0 / 399.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.09115, allocations: 23.98 kB / 399.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/0.09121, allocations: 49.3 kB / 399.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/0.09474, allocations: 2.51 MB / 402.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008768/0.1035, allocations: 3.731 MB / 405.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.1049, allocations: 0.9572 MB / 406.9 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.1059, allocations: 0.7878 MB / 407.7 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-05/0.106, allocations: 32.94 kB / 407.7 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.1072, allocations: 0.8558 MB / 408.6 MB, free: 2.473 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 2.465e-06/0.1072, allocations: 0 / 408.6 MB, free: 2.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.003259/0.1104, allocations: 2.051 MB / 410.6 MB, free: 428 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1105, allocations: 60.41 kB / 410.7 MB, free: 356 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006889/0.1112, allocations: 0.6422 MB / 411.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/0.1113, allocations: 53.64 kB / 411.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.1115, allocations: 347.4 kB / 411.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.1119, allocations: 378.7 kB / 412.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/0.1123, allocations: 323.3 kB / 412.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1125, allocations: 341.8 kB / 412.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.1136, allocations: 0.7924 MB / 413.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.115, allocations: 1.096 MB / 414.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.1175, allocations: 1.967 MB / 416.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1175, allocations: 0 / 416.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00314/0.1207, allocations: 2.181 MB / 418.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.1207, allocations: 37.73 kB / 418.8 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1208, allocations: 11.98 kB / 418.8 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1208, allocations: 16 kB / 418.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.1236, allocations: 0.624 MB / 419.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.1236, allocations: 16 kB / 419.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.1252, allocations: 302.3 kB / 419.8 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.1253, allocations: 75.94 kB / 419.8 MB, free: 6.906 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.0003684/0.1257, allocations: 297.2 kB / 420.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.1258, allocations: 67.16 kB / 420.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.1285, allocations: 1.729 MB / 421.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1285, allocations: 8 kB / 421.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1286, allocations: 0 / 421.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.1286, allocations: 7.969 kB / 421.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/0.1334, allocations: 3.774 MB / 425.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.1334, allocations: 15.92 kB / 425.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/0.1357, allocations: 479.5 kB / 426.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.1357, allocations: 12 kB / 426.2 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.1359, allocations: 63.94 kB / 426.3 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.1359, allocations: 19.92 kB / 426.3 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.1359, allocations: 12 kB / 426.3 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1477/0.2836, allocations: 2.447 MB / 428.8 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/0.2842, allocations: 312.6 kB / 429.1 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.2845, allocations: 52.84 kB / 429.1 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/0.286, allocations: 176.8 kB / 429.3 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.2862, allocations: 109.5 kB / 429.4 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.2864, allocations: 47.92 kB / 429.4 MB, free: 41.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005938/0.287, allocations: 458.4 kB / 429.9 MB, free: 40.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.287, allocations: 0 / 429.9 MB, free: 40.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009118/0.2879, allocations: 247.9 kB / 430.1 MB, free: 40.91 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.00369/0.2916, allocations: 3.069 MB / 433.2 MB, free: 39.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003536/0.2952, allocations: 2.247 MB / 435.4 MB, free: 38.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.2952, allocations: 1.25 kB / 435.4 MB, free: 38.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.2965, allocations: 0.8115 MB / 436.3 MB, free: 38.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/0.2972, allocations: 80.59 kB / 436.3 MB, free: 38.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.3094, allocations: 12.08 MB / 448.4 MB, free: 31.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3098, allocations: 0.9759 MB / 449.4 MB, free: 30.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001317/0.3111, allocations: 0.5984 MB / 450 MB, free: 30.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.3117, allocations: 287.3 kB / 450.3 MB, free: 29.91 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3117, allocations: 3.391 kB / 450.3 MB, free: 29.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.3448, allocations: 19.74 MB / 470 MB, free: 10.31 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.497, allocations: 4 kB / 470 MB, free: 10.31 MB / 318.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)