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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.0012/0.0012, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06914/0.06914, allocations: 10.99 MB / 280.7 MB, free: 10.23 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.001519/0.001519, allocations: 71.89 kB / 340.6 MB, free: 22.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07803/0.07956, allocations: 48.74 MB / 389.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.003041/0.08265, allocations: 1.487 MB / 390.8 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.0838, allocations: 0.5892 MB / 391.4 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.08389, allocations: 0 / 391.4 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.08403, allocations: 11.86 kB / 391.4 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.08435, allocations: 83.77 kB / 391.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.08465, allocations: 75.83 kB / 391.6 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.08571, allocations: 1.129 MB / 392.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.08577, allocations: 15.98 kB / 392.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006639/0.08644, allocations: 415.5 kB / 393.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008828/0.08733, allocations: 415.1 kB / 393.5 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.08756, allocations: 76 kB / 393.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.08773, allocations: 72 kB / 393.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.08829, allocations: 474.9 kB / 394.1 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006384/0.08894, allocations: 441.9 kB / 394.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007995/0.08975, allocations: 0.9077 MB / 395.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.08976, allocations: 0 / 395.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.08977, allocations: 0 / 395.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.0898, allocations: 0 / 395.5 MB, free: 15.75 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.008659/0.09846, allocations: 2.145 MB / 397.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.09851, allocations: 8.031 kB / 397.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.09868, allocations: 110.7 kB / 397.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.09894, allocations: 72 kB / 397.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.09981, allocations: 0.5501 MB / 398.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.09986, allocations: 45.69 kB / 398.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.1001, allocations: 84.27 kB / 398.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.1019, allocations: 1.134 MB / 399.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1019, allocations: 0 / 399.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.102, allocations: 24 kB / 399.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.1021, allocations: 49.28 kB / 399.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003904/0.106, allocations: 2.51 MB / 402.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.116, allocations: 3.731 MB / 405.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.1176, allocations: 0.9533 MB / 406.9 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.1187, allocations: 0.7917 MB / 407.7 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-05/0.1188, allocations: 32.94 kB / 407.7 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.1201, allocations: 0.852 MB / 408.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 3.006e-06/0.1201, allocations: 0 / 408.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.003467/0.1236, allocations: 2.051 MB / 410.6 MB, free: 416 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1236, allocations: 64.39 kB / 410.7 MB, free: 340 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000768/0.1244, allocations: 0.6461 MB / 411.3 MB, free: 15.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.1245, allocations: 49.64 kB / 411.4 MB, free: 15.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.1248, allocations: 355.3 kB / 411.7 MB, free: 15.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.1251, allocations: 370.7 kB / 412.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004979/0.1256, allocations: 327.3 kB / 412.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1257, allocations: 333.9 kB / 412.7 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.1271, allocations: 0.7963 MB / 413.5 MB, free: 13.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.1287, allocations: 1.096 MB / 414.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.1315, allocations: 1.967 MB / 416.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.1315, allocations: 0 / 416.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003534/0.1351, allocations: 2.18 MB / 418.8 MB, free: 7.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/0.1351, allocations: 41.69 kB / 418.8 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.1352, allocations: 12.06 kB / 418.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.1352, allocations: 12 kB / 418.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/0.1382, allocations: 0.6201 MB / 419.5 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/0.1382, allocations: 19.94 kB / 419.5 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.1399, allocations: 298.3 kB / 419.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.1401, allocations: 75.95 kB / 419.8 MB, free: 6.895 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.000498/0.1406, allocations: 297.3 kB / 420.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.1409, allocations: 67.16 kB / 420.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/0.144, allocations: 1.737 MB / 421.9 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1441, allocations: 8 kB / 421.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1441, allocations: 0 / 421.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.1441, allocations: 3.984 kB / 421.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005581/0.1497, allocations: 3.77 MB / 425.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.1497, allocations: 11.94 kB / 425.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/0.1523, allocations: 475.4 kB / 426.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/0.1524, allocations: 8 kB / 426.2 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.1525, allocations: 75.92 kB / 426.3 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-05/0.1525, allocations: 19.92 kB / 426.3 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.1525, allocations: 11.94 kB / 426.3 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1288/0.2814, allocations: 2.447 MB / 428.8 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/0.282, allocations: 308.9 kB / 429.1 MB, free: 41.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.2823, allocations: 51.73 kB / 429.1 MB, free: 41.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.2838, allocations: 179.3 kB / 429.3 MB, free: 41.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.2841, allocations: 102.5 kB / 429.4 MB, free: 41.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.2843, allocations: 52.03 kB / 429.4 MB, free: 41.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000644/0.2849, allocations: 455 kB / 429.9 MB, free: 40.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2849, allocations: 0 / 429.9 MB, free: 40.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001011/0.2859, allocations: 249 kB / 430.1 MB, free: 40.88 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.004067/0.29, allocations: 3.073 MB / 433.2 MB, free: 39.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.2937, allocations: 2.243 MB / 435.4 MB, free: 38.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.2938, allocations: 2.406 kB / 435.4 MB, free: 38.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.2951, allocations: 0.8119 MB / 436.3 MB, free: 38.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/0.2959, allocations: 81.14 kB / 436.3 MB, free: 38.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.3089, allocations: 12.09 MB / 448.4 MB, free: 31.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.3093, allocations: 0.9705 MB / 449.4 MB, free: 30.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001408/0.3107, allocations: 0.6021 MB / 450 MB, free: 30.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.3112, allocations: 295.2 kB / 450.3 MB, free: 29.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3112, allocations: 0 / 450.3 MB, free: 29.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.3454, allocations: 19.74 MB / 470 MB, free: 10.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/7.911, allocations: 4 kB / 470 MB, free: 10.3 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/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)