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.0006935/0.0006935, allocations: 91.69 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.0007426/0.0007427, 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.163/1.163, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05869/0.05869, 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.0004472/0.0004472, allocations: 12 kB / 341.7 MB, free: 23.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07399/0.07445, allocations: 49.77 MB / 391.5 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.001308/0.07579, allocations: 1.182 MB / 392.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000782/0.07659, allocations: 0.5585 MB / 393.2 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.07664, allocations: 0 / 393.2 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.07674, allocations: 7.875 kB / 393.2 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.07696, allocations: 67.84 kB / 393.3 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.07717, allocations: 75.84 kB / 393.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000796/0.07798, allocations: 0.8834 MB / 394.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.07803, allocations: 4 kB / 394.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.07837, allocations: 407.3 kB / 394.7 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005807/0.07896, allocations: 403.2 kB / 395.1 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.07906, allocations: 48 kB / 395.1 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.07916, allocations: 44 kB / 395.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.07963, allocations: 439 kB / 395.6 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.07976, allocations: 109.4 kB / 395.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.08029, allocations: 0.7175 MB / 396.4 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.0803, allocations: 4 kB / 396.4 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.08031, allocations: 3.938 kB / 396.4 MB, free: 472 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.08032, allocations: 0 / 396.4 MB, free: 472 kB / 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.006584/0.08691, allocations: 2.094 MB / 398.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.08696, allocations: 12.03 kB / 398.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.08711, allocations: 106.5 kB / 398.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.08726, allocations: 75.14 kB / 398.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/0.088, allocations: 0.5335 MB / 399.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.08805, allocations: 49.31 kB / 399.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.0882, allocations: 79.89 kB / 399.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.08979, allocations: 1.13 MB / 400.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.08982, allocations: 4 kB / 400.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.08991, allocations: 20 kB / 400.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/0.08996, allocations: 53.28 kB / 400.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003534/0.0935, allocations: 2.518 MB / 403.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008123/0.1016, allocations: 3.84 MB / 406.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.103, allocations: 0.9573 MB / 407.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.104, allocations: 0.7878 MB / 408.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-05/0.1041, allocations: 32.94 kB / 408.7 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.1053, allocations: 0.8598 MB / 409.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 2.285e-06/0.1053, allocations: 0 / 409.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.003054/0.1084, allocations: 2.071 MB / 411.6 MB, free: 1.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1084, allocations: 64.41 kB / 411.7 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.1091, allocations: 0.6384 MB / 412.3 MB, free: 324 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.1092, allocations: 45.7 kB / 412.4 MB, free: 272 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1094, allocations: 355.4 kB / 412.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.1097, allocations: 374.8 kB / 413.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.1098, allocations: 35.94 kB / 413.1 MB, free: 15.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1099, allocations: 394.7 kB / 413.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.1111, allocations: 0.7963 MB / 414.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.1124, allocations: 1.092 MB / 415.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.1138, allocations: 0.9876 MB / 416.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.1138, allocations: 4 kB / 416.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003236/0.117, allocations: 2.176 MB / 418.6 MB, free: 9.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.1171, allocations: 42.38 kB / 418.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1171, allocations: 4 kB / 418.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.1171, allocations: 20 kB / 418.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/0.1196, allocations: 0.6201 MB / 419.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.1196, allocations: 23.92 kB / 419.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.1209, allocations: 306.2 kB / 419.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.121, allocations: 71.95 kB / 419.6 MB, free: 8.844 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.0003407/0.1213, allocations: 301.3 kB / 419.9 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1215, allocations: 75 kB / 420 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.1242, allocations: 1.753 MB / 421.8 MB, free: 6.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1242, allocations: 8 kB / 421.8 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1242, allocations: 4 kB / 421.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.1242, allocations: 7.984 kB / 421.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.1289, allocations: 3.777 MB / 425.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.129, allocations: 8.938 kB / 425.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/0.1311, allocations: 479.2 kB / 426 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.1311, allocations: 12 kB / 426 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.1312, allocations: 67.92 kB / 426.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.099e-05/0.1312, allocations: 19.92 kB / 426.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.1313, allocations: 23.86 kB / 426.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1431/0.2744, allocations: 2.462 MB / 428.6 MB, free: 40.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/0.275, allocations: 307 kB / 428.9 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.2751, allocations: 55.23 kB / 429 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.2763, allocations: 180.8 kB / 429.1 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.2765, allocations: 102.8 kB / 429.2 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.971e-05/0.2766, allocations: 51.06 kB / 429.3 MB, free: 40.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000474/0.277, allocations: 451.6 kB / 429.7 MB, free: 39.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.277, allocations: 0 / 429.7 MB, free: 39.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000779/0.2778, allocations: 248.3 kB / 430 MB, free: 39.98 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.003373/0.2812, allocations: 3.087 MB / 433.1 MB, free: 39.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.2838, allocations: 1.831 MB / 434.9 MB, free: 38.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2838, allocations: 0.9375 kB / 434.9 MB, free: 38.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.2849, allocations: 0.8188 MB / 435.7 MB, free: 38.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.2855, allocations: 78.95 kB / 435.8 MB, free: 38.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008896/0.2944, allocations: 7.553 MB / 443.3 MB, free: 35.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.2948, allocations: 0.9754 MB / 444.3 MB, free: 34.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001325/0.2961, allocations: 0.598 MB / 444.9 MB, free: 34.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.2966, allocations: 293.2 kB / 445.2 MB, free: 34.2 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2966, allocations: 0 / 445.2 MB, free: 34.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.3205, allocations: 18.61 MB / 463.8 MB, free: 18.13 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001127/0.3207, allocations: 186.1 kB / 464 MB, free: 17.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.219, allocations: 0 / 464 MB, free: 17.88 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian.fmu > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1) Environment - environmentSimulation: