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.0008542/0.0008542, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008996/0.0008996, allocations: 177.3 kB / 15.94 MB, free: 228 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.78/1.78, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06043/0.06043, allocations: 10.97 MB / 281.3 MB, free: 10.29 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.0005141/0.0005142, allocations: 15.98 kB / 341.7 MB, free: 23.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09776, allocations: 49.77 MB / 391.5 MB, free: 5.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.001423/0.09923, allocations: 1.178 MB / 392.6 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.1001, allocations: 0.5585 MB / 393.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.1001, allocations: 0 / 393.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1002, allocations: 19.86 kB / 393.2 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1004, allocations: 55.92 kB / 393.3 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.1007, allocations: 71.84 kB / 393.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.1013, allocations: 0.6571 MB / 394 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.1014, allocations: 11.98 kB / 394 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.1017, allocations: 395.4 kB / 394.4 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005754/0.1023, allocations: 391.3 kB / 394.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.751e-05/0.1024, allocations: 47.98 kB / 394.8 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.1025, allocations: 44 kB / 394.9 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004529/0.103, allocations: 439 kB / 395.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1031, allocations: 105.4 kB / 395.4 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.1037, allocations: 0.7136 MB / 396.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1037, allocations: 0 / 396.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1037, allocations: 0 / 396.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1037, allocations: 0 / 396.1 MB, free: 0.7891 MB / 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.007148/0.1108, allocations: 2.09 MB / 398.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1109, allocations: 8.031 kB / 398.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.111, allocations: 106.5 kB / 398.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.1112, allocations: 71.16 kB / 398.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000906/0.1121, allocations: 0.5451 MB / 398.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.1121, allocations: 49.31 kB / 399 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.1123, allocations: 75.91 kB / 399 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.1139, allocations: 1.134 MB / 400.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1139, allocations: 0 / 400.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.114, allocations: 20 kB / 400.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.1141, allocations: 49.3 kB / 400.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.1176, allocations: 2.522 MB / 402.8 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009089/0.1267, allocations: 3.84 MB / 406.6 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.128, allocations: 0.9534 MB / 407.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/0.1281, allocations: 32.94 kB / 407.6 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.1292, allocations: 0.8558 MB / 408.4 MB, free: 4.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 2.044e-06/0.1292, allocations: 3.938 kB / 408.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.002978/0.1322, allocations: 2.075 MB / 410.5 MB, free: 2.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1322, allocations: 64.41 kB / 410.6 MB, free: 2.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.1329, allocations: 0.6345 MB / 411.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.39e-05/0.133, allocations: 45.7 kB / 411.3 MB, free: 1.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.1332, allocations: 359.2 kB / 411.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.1335, allocations: 370.8 kB / 412 MB, free: 0.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.1336, allocations: 32 kB / 412 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1338, allocations: 402.7 kB / 412.4 MB, free: 240 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.1349, allocations: 0.7924 MB / 413.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.1362, allocations: 1.085 MB / 414.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.1376, allocations: 0.9917 MB / 415.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.1376, allocations: 7.953 kB / 415.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003054/0.1407, allocations: 2.169 MB / 417.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.1407, allocations: 41.73 kB / 417.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1407, allocations: 8 kB / 417.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.1408, allocations: 16 kB / 417.5 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/0.1435, allocations: 0.624 MB / 418.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.1435, allocations: 16 kB / 418.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.1449, allocations: 310.2 kB / 418.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.1451, allocations: 71.94 kB / 418.5 MB, free: 9.98 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.0003557/0.1454, allocations: 297.3 kB / 418.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.1455, allocations: 75.02 kB / 418.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.1482, allocations: 1.745 MB / 420.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1482, allocations: 8 kB / 420.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1482, allocations: 7.984 kB / 420.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.1482, allocations: 7.969 kB / 420.7 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.1532, allocations: 3.782 MB / 424.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.1532, allocations: 15.98 kB / 424.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/0.1554, allocations: 479.2 kB / 424.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.1555, allocations: 12 kB / 424.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.1556, allocations: 71.92 kB / 425 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/0.1556, allocations: 15.94 kB / 425 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.1556, allocations: 8 kB / 425 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/0.1589, allocations: 2.823 MB / 427.9 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.119/0.2779, allocations: 305 kB / 428.2 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.2782, allocations: 50.78 kB / 428.2 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.2795, allocations: 183.7 kB / 428.4 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.2798, allocations: 103.3 kB / 428.5 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.2799, allocations: 50.66 kB / 428.5 MB, free: 40.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000543/0.2804, allocations: 449.5 kB / 429 MB, free: 40.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.2804, allocations: 3.375 kB / 429 MB, free: 40.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000774/0.2812, allocations: 251.2 kB / 429.2 MB, free: 40.2 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.003699/0.2849, allocations: 5.486 MB / 434.7 MB, free: 36.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.2874, allocations: 1.831 MB / 436.5 MB, free: 36.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2874, allocations: 1.438 kB / 436.5 MB, free: 36.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.2886, allocations: 0.812 MB / 437.4 MB, free: 36.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.289, allocations: 67.69 kB / 437.4 MB, free: 36.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00911/0.2981, allocations: 12.57 MB / 450 MB, free: 27.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.2985, allocations: 0.9996 MB / 451 MB, free: 27.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001327/0.2998, allocations: 0.5938 MB / 451.6 MB, free: 27.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.3003, allocations: 290 kB / 451.9 MB, free: 27.04 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3003, allocations: 3.562 kB / 451.9 MB, free: 27.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.717/2.017, allocations: 18.58 MB / 470.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/2.017, allocations: 169.9 kB / 470.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.628/5.646, allocations: 0 / 470.6 MB, free: 10.89 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: