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.001723/0.001723, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001773/0.001773, allocations: 191 kB / 16.13 MB, free: 6.66 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.019/1.019, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05406/0.05406, allocations: 10.97 MB / 280.3 MB, free: 10.42 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.001117/0.001117, allocations: 67.91 kB / 339.9 MB, free: 23.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05897/0.0601, allocations: 48.74 MB / 388.7 MB, free: 6.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.001907/0.06201, allocations: 1.548 MB / 390.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.06283, allocations: 0.5893 MB / 390.8 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.06287, allocations: 0 / 390.8 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.291e-05/0.06298, allocations: 11.92 kB / 390.8 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.06318, allocations: 67.84 kB / 390.9 MB, free: 4.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.06339, allocations: 75.86 kB / 390.9 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.06412, allocations: 1.055 MB / 392 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.06416, allocations: 4 kB / 392 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.06453, allocations: 403.4 kB / 392.4 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.06511, allocations: 403.2 kB / 392.8 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.06525, allocations: 44 kB / 392.8 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.06537, allocations: 44 kB / 392.9 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.06577, allocations: 446.9 kB / 393.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.06618, allocations: 413.9 kB / 393.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.06676, allocations: 0.8765 MB / 394.6 MB, free: 448 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.06676, allocations: 0 / 394.6 MB, free: 448 kB / 286.1 MB Notification: Performance of FrontEnd: time 4.91e-07/0.06677, allocations: 0 / 394.6 MB, free: 448 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.06678, allocations: 4 kB / 394.6 MB, free: 444 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.006857/0.07364, allocations: 2.145 MB / 396.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.07368, allocations: 12.03 kB / 396.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.07381, allocations: 110.6 kB / 396.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.07398, allocations: 76 kB / 396.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.07465, allocations: 0.5423 MB / 397.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.07469, allocations: 49.62 kB / 397.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.07482, allocations: 76.28 kB / 397.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.07626, allocations: 1.138 MB / 398.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.07629, allocations: 4 kB / 398.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/0.07637, allocations: 20 kB / 398.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.07641, allocations: 45.3 kB / 398.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.07958, allocations: 2.518 MB / 401.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007652/0.08724, allocations: 3.727 MB / 405.1 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.08844, allocations: 0.9612 MB / 406 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000913/0.08936, allocations: 0.7917 MB / 406.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.08943, allocations: 24.95 kB / 406.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.09047, allocations: 0.8597 MB / 407.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 2.915e-06/0.09048, allocations: 0 / 407.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.002749/0.09323, allocations: 2.055 MB / 409.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.09328, allocations: 64.41 kB / 409.8 MB, free: 1.004 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.09386, allocations: 0.6422 MB / 410.4 MB, free: 360 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.399e-05/0.09395, allocations: 45.7 kB / 410.5 MB, free: 308 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.09415, allocations: 351.5 kB / 410.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.09439, allocations: 374.8 kB / 411.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/0.09479, allocations: 327.2 kB / 411.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.09489, allocations: 337.9 kB / 411.9 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.09595, allocations: 0.7924 MB / 412.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.09716, allocations: 1.089 MB / 413.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/0.09942, allocations: 1.967 MB / 415.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.09944, allocations: 7.938 kB / 415.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002811/0.1023, allocations: 2.181 MB / 417.9 MB, free: 8.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.1023, allocations: 33.7 kB / 417.9 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1023, allocations: 8 kB / 417.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.1023, allocations: 12 kB / 417.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.1047, allocations: 0.6241 MB / 418.6 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.1047, allocations: 15.94 kB / 418.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.1059, allocations: 306.3 kB / 418.9 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.1061, allocations: 75.94 kB / 419 MB, free: 7.574 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.0003169/0.1064, allocations: 293.2 kB / 419.2 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.1065, allocations: 71.14 kB / 419.3 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.1089, allocations: 1.729 MB / 421 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1089, allocations: 8 kB / 421 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1089, allocations: 0 / 421 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1089, allocations: 7.969 kB / 421.1 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.1132, allocations: 3.774 MB / 424.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.1132, allocations: 11.94 kB / 424.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/0.1152, allocations: 483.6 kB / 425.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.1153, allocations: 12 kB / 425.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.1154, allocations: 71.92 kB / 425.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/0.1154, allocations: 8 kB / 425.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1154, allocations: 11.94 kB / 425.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1063/0.2217, allocations: 2.459 MB / 427.9 MB, free: 41.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/0.2221, allocations: 310.5 kB / 428.2 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.2223, allocations: 48.84 kB / 428.2 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.2233, allocations: 180.4 kB / 428.4 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.2235, allocations: 101.8 kB / 428.5 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.372e-05/0.2236, allocations: 48.2 kB / 428.5 MB, free: 41.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004115/0.224, allocations: 456.4 kB / 429 MB, free: 41.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2241, allocations: 3 kB / 429 MB, free: 41.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007785/0.2248, allocations: 247.3 kB / 429.2 MB, free: 41.37 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.002878/0.2277, allocations: 3.068 MB / 432.3 MB, free: 39.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.2299, allocations: 1.824 MB / 434.1 MB, free: 39.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2299, allocations: 1.438 kB / 434.1 MB, free: 39.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.231, allocations: 0.8116 MB / 434.9 MB, free: 39.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.2316, allocations: 83.47 kB / 435 MB, free: 39.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.2422, allocations: 12.31 MB / 447.3 MB, free: 32.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2424, allocations: 0.9767 MB / 448.3 MB, free: 31.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.2436, allocations: 0.6069 MB / 448.9 MB, free: 31.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.2441, allocations: 287.3 kB / 449.2 MB, free: 31.17 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2441, allocations: 0 / 449.2 MB, free: 31.17 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.2653, allocations: 19.17 MB / 468.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001012/0.2654, allocations: 188.9 kB / 468.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.955, allocations: 0 / 468.6 MB, free: 11.91 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)