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.007039/0.007039, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001421/0.001421, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.522/1.522, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07256/0.07256, allocations: 10.98 MB / 280.9 MB, free: 10.12 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.001714/0.001714, allocations: 67.91 kB / 390 MB, free: 5.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3275, allocations: 48.75 MB / 438.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.00234/0.3299, allocations: 1.476 MB / 440.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3309, allocations: 0.5939 MB / 440.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.331, allocations: 5.156 kB / 440.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.3311, allocations: 8.078 kB / 440.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.3314, allocations: 80.3 kB / 440.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.3317, allocations: 77.89 kB / 441 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.3329, allocations: 1.138 MB / 442.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.3329, allocations: 7.672 kB / 442.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.3336, allocations: 427.4 kB / 442.6 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.3347, allocations: 408.2 kB / 443 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.3349, allocations: 74.19 kB / 443 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.335, allocations: 73.62 kB / 443.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005922/0.3356, allocations: 470.6 kB / 443.6 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006737/0.3363, allocations: 441.4 kB / 444 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008195/0.3371, allocations: 0.9338 MB / 444.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3372, allocations: 0 / 444.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3372, allocations: 0 / 444.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.3372, allocations: 0 / 444.9 MB, free: 2.062 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.008183/0.3454, allocations: 2.145 MB / 447.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3454, allocations: 13.48 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.3456, allocations: 107.1 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.3458, allocations: 75.98 kB / 447.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/0.3468, allocations: 0.5529 MB / 447.8 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.3468, allocations: 48.72 kB / 447.9 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.347, allocations: 81.77 kB / 447.9 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.3489, allocations: 1.134 MB / 449.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3489, allocations: 1.375 kB / 449.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/0.349, allocations: 20.12 kB / 449.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.3491, allocations: 54.34 kB / 449.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/0.3529, allocations: 2.51 MB / 451.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.3646, allocations: 3.719 MB / 455.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.3664, allocations: 0.9563 MB / 456.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.3677, allocations: 0.7878 MB / 457.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3679, allocations: 28.95 kB / 457.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/0.3695, allocations: 0.8481 MB / 458 MB, free: 9.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 3.687e-06/0.3695, allocations: 4 kB / 458 MB, free: 9.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.003794/0.3733, allocations: 2.044 MB / 460 MB, free: 7.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3734, allocations: 68.34 kB / 460.1 MB, free: 7.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/0.3743, allocations: 0.6499 MB / 460.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.3746, allocations: 45.7 kB / 460.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.3749, allocations: 351.4 kB / 461.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.3753, allocations: 378.7 kB / 461.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000619/0.376, allocations: 327.2 kB / 461.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3761, allocations: 333.9 kB / 462.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.3775, allocations: 0.8002 MB / 463 MB, free: 4.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.3791, allocations: 1.092 MB / 464.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.382, allocations: 1.967 MB / 466 MB, free: 1.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.382, allocations: 4 kB / 466 MB, free: 1.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003676/0.3857, allocations: 2.181 MB / 468.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.3858, allocations: 41.72 kB / 468.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.3858, allocations: 8 kB / 468.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/0.3858, allocations: 16 kB / 468.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/0.3888, allocations: 0.6201 MB / 468.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-05/0.3888, allocations: 23.92 kB / 468.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.3907, allocations: 302.3 kB / 469.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.3909, allocations: 67.95 kB / 469.3 MB, free: 14.17 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.0005483/0.3915, allocations: 297.3 kB / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.3917, allocations: 75.06 kB / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.3952, allocations: 1.729 MB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.3952, allocations: 8 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3953, allocations: 4 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.3953, allocations: 3.984 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00669/0.402, allocations: 3.762 MB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.402, allocations: 11.94 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/0.4046, allocations: 479.6 kB / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/0.4046, allocations: 12 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/0.4048, allocations: 67.92 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/0.4049, allocations: 15.94 kB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.4049, allocations: 15.92 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003984/0.4089, allocations: 2.456 MB / 478.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/0.4097, allocations: 315.7 kB / 478.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.4101, allocations: 47.98 kB / 478.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.4116, allocations: 183.8 kB / 478.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.4119, allocations: 100.3 kB / 478.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.4121, allocations: 51.94 kB / 478.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006618/0.4127, allocations: 458.7 kB / 479.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4127, allocations: 0 / 479.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001137/0.4139, allocations: 248 kB / 479.6 MB, free: 3.582 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.004251/0.4181, allocations: 3.052 MB / 482.6 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003775/0.422, allocations: 1.854 MB / 484.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.422, allocations: 0 / 484.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.4235, allocations: 0.8092 MB / 485.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/0.4245, allocations: 85.88 kB / 485.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.4426, allocations: 11.66 MB / 497 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/0.4434, allocations: 0.9782 MB / 498 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001833/0.4452, allocations: 0.5965 MB / 498.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00075/0.446, allocations: 287.2 kB / 498.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.446, allocations: 0 / 498.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/0.4928, allocations: 20.44 MB / 0.5072 GB, free: 11.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.406/9.899, allocations: 3.859 kB / 0.5072 GB, free: 11.1 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 & /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)