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.001024/0.001024, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001224/0.001224, allocations: 191 kB / 16.25 MB, free: 6.617 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.396/1.396, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06598/0.06598, allocations: 10.97 MB / 280.4 MB, free: 10.38 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.001411/0.001411, allocations: 60.42 kB / 340.1 MB, free: 23.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09397, allocations: 48.75 MB / 388.8 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002653/0.09667, allocations: 1.536 MB / 390.4 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.09771, allocations: 0.5815 MB / 391 MB, free: 4.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.09777, allocations: 0 / 391 MB, free: 4.145 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.09792, allocations: 11.92 kB / 391 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.09821, allocations: 71.78 kB / 391 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.09848, allocations: 67.92 kB / 391.1 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.0995, allocations: 1.137 MB / 392.2 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.09957, allocations: 11.98 kB / 392.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004368/0.1, allocations: 431.4 kB / 392.7 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.1007, allocations: 407.2 kB / 393.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.1008, allocations: 79.94 kB / 393.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1009, allocations: 72 kB / 393.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004885/0.1014, allocations: 478.9 kB / 393.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.1018, allocations: 441.9 kB / 394.1 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007023/0.1026, allocations: 0.9077 MB / 395 MB, free: 64 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1026, allocations: 0 / 395 MB, free: 64 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1026, allocations: 0 / 395 MB, free: 64 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1026, allocations: 0 / 395 MB, free: 64 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.009115/0.1117, allocations: 2.149 MB / 397.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.1118, allocations: 8.031 kB / 397.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.112, allocations: 110.7 kB / 397.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.1122, allocations: 79.94 kB / 397.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/0.113, allocations: 0.5385 MB / 397.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.1131, allocations: 45.69 kB / 398 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.1133, allocations: 80.27 kB / 398 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.1151, allocations: 1.138 MB / 399.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1151, allocations: 0 / 399.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.1152, allocations: 32 kB / 399.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/0.1153, allocations: 49.28 kB / 399.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003939/0.1192, allocations: 2.51 MB / 401.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.1295, allocations: 3.731 MB / 405.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.1311, allocations: 0.9611 MB / 406.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.1322, allocations: 0.7878 MB / 407.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.1322, allocations: 28.95 kB / 407.3 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.1335, allocations: 0.8559 MB / 408.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 3.697e-06/0.1336, allocations: 0 / 408.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.003438/0.137, allocations: 2.047 MB / 410.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.1371, allocations: 64.39 kB / 410.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007623/0.1379, allocations: 0.6423 MB / 410.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.138, allocations: 49.64 kB / 410.9 MB, free: 15.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.1383, allocations: 363.3 kB / 411.3 MB, free: 15.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.1386, allocations: 370.7 kB / 411.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005109/0.1391, allocations: 327.3 kB / 412 MB, free: 14.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1392, allocations: 337.9 kB / 412.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.1405, allocations: 0.7924 MB / 413.1 MB, free: 13.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.1421, allocations: 1.089 MB / 414.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/0.1449, allocations: 1.963 MB / 416.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.145, allocations: 4 kB / 416.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003479/0.1484, allocations: 2.172 MB / 418.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.1485, allocations: 45.62 kB / 418.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.1485, allocations: 8 kB / 418.4 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.1486, allocations: 12 kB / 418.4 MB, free: 8.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.1515, allocations: 0.6245 MB / 419 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.832e-05/0.1516, allocations: 19.92 kB / 419 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.1532, allocations: 310.3 kB / 419.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.1534, allocations: 67.95 kB / 419.4 MB, free: 7.199 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.0005114/0.1539, allocations: 297.3 kB / 419.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.154, allocations: 67.16 kB / 419.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.157, allocations: 1.737 MB / 421.5 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.157, allocations: 8 kB / 421.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.157, allocations: 0 / 421.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.157, allocations: 3.984 kB / 421.5 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.1621, allocations: 3.762 MB / 425.3 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.1622, allocations: 11.94 kB / 425.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/0.1647, allocations: 480.1 kB / 425.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/0.1648, allocations: 12 kB / 425.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.1649, allocations: 67.92 kB / 425.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.635e-05/0.1649, allocations: 15.92 kB / 425.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.1649, allocations: 11.94 kB / 425.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1555/0.3204, allocations: 2.457 MB / 428.3 MB, free: 41.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.321, allocations: 310.8 kB / 428.6 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.3212, allocations: 52.81 kB / 428.7 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.3226, allocations: 178.7 kB / 428.8 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.3228, allocations: 101.3 kB / 428.9 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.323, allocations: 51.89 kB / 429 MB, free: 41.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005693/0.3235, allocations: 451.1 kB / 429.4 MB, free: 41.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3235, allocations: 0 / 429.4 MB, free: 41.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008471/0.3244, allocations: 251.9 kB / 429.7 MB, free: 41.43 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.003761/0.3282, allocations: 3.071 MB / 432.7 MB, free: 39.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003863/0.332, allocations: 2.249 MB / 435 MB, free: 39.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.3321, allocations: 1.031 kB / 435 MB, free: 39.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.3334, allocations: 0.8156 MB / 435.8 MB, free: 39.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.3343, allocations: 83.48 kB / 435.9 MB, free: 39.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.3479, allocations: 12.3 MB / 448.2 MB, free: 32.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3482, allocations: 0.9726 MB / 449.2 MB, free: 31.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001445/0.3497, allocations: 0.5927 MB / 449.8 MB, free: 30.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005398/0.3502, allocations: 291.3 kB / 450 MB, free: 30.53 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3503, allocations: 6.953 kB / 450 MB, free: 30.53 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.3815, allocations: 19.63 MB / 469.7 MB, free: 11.1 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.3817, allocations: 189.1 kB / 469.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.524, allocations: 0 / 469.9 MB, free: 10.84 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)