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: translateModel(TAeZoSysPro.PDE.Examples.AdvectionGaussian,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian") translateModel(TAeZoSysPro.PDE.Examples.AdvectionGaussian,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007902/0.0007904, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005449/0.005449, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.545/1.545, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.09598/0.09598, allocations: 10.98 MB / 281.7 MB, free: 10.16 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.0008307/0.0008307, allocations: 16 kB / 342.2 MB, free: 23.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1179, allocations: 49.77 MB / 392 MB, free: 5.191 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002387/0.1204, allocations: 1.205 MB / 393.2 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.122, allocations: 0.5777 MB / 393.8 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.1221, allocations: 0 / 393.8 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.1223, allocations: 11.92 kB / 393.8 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.1227, allocations: 71.78 kB / 393.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.1231, allocations: 67.92 kB / 393.9 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.1247, allocations: 1.055 MB / 395 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.535e-05/0.1248, allocations: 4 kB / 395 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008067/0.1256, allocations: 399.3 kB / 395.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.1269, allocations: 415.1 kB / 395.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.1273, allocations: 44 kB / 395.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.1275, allocations: 44 kB / 395.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007987/0.1283, allocations: 442.9 kB / 396.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009557/0.1293, allocations: 435.6 kB / 396.7 MB, free: 436 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.1305, allocations: 0.8725 MB / 397.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1305, allocations: 8 kB / 397.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1305, allocations: 0 / 397.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.1306, allocations: 0 / 397.6 MB, free: 15.54 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.01264/0.1432, allocations: 2.083 MB / 399.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1433, allocations: 8.031 kB / 399.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005416/0.1438, allocations: 79.94 kB / 399.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1453, allocations: 0.5462 MB / 400.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.1454, allocations: 49.69 kB / 400.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003832/0.1458, allocations: 76.28 kB / 400.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/0.1488, allocations: 1.142 MB / 401.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.1489, allocations: 0 / 401.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.1491, allocations: 27.98 kB / 401.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.78e-05/0.1492, allocations: 49.3 kB / 401.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006415/0.1556, allocations: 2.522 MB / 404.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.1714, allocations: 3.837 MB / 408 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.1739, allocations: 0.9689 MB / 409 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.1759, allocations: 0.7956 MB / 409.8 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.176, allocations: 36.92 kB / 409.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002184/0.1782, allocations: 0.8598 MB / 410.7 MB, free: 2.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 5.16e-06/0.1782, allocations: 0 / 410.7 MB, free: 2.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.005596/0.1838, allocations: 2.059 MB / 412.7 MB, free: 216 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.1839, allocations: 72.41 kB / 412.8 MB, free: 132 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.1853, allocations: 0.6383 MB / 413.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.1855, allocations: 49.64 kB / 413.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.1859, allocations: 363.2 kB / 413.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004785/0.1864, allocations: 370.8 kB / 414.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.1867, allocations: 137.6 kB / 414.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1869, allocations: 333.9 kB / 414.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.1891, allocations: 0.808 MB / 415.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.1915, allocations: 1.1 MB / 416.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.1962, allocations: 1.971 MB / 418.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.1962, allocations: 0 / 418.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005889/0.2021, allocations: 2.188 MB / 420.7 MB, free: 7.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/0.2022, allocations: 37.64 kB / 420.8 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.2022, allocations: 12.56 kB / 420.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.37e-05/0.2023, allocations: 16 kB / 420.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/0.2071, allocations: 0.624 MB / 421.4 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.994e-05/0.2072, allocations: 23.92 kB / 421.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/0.2098, allocations: 298.3 kB / 421.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.2101, allocations: 71.94 kB / 421.8 MB, free: 6.844 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.0007079/0.2108, allocations: 305.3 kB / 422.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.2111, allocations: 71.06 kB / 422.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005015/0.2162, allocations: 1.741 MB / 423.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.2162, allocations: 8 kB / 423.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.2162, allocations: 0 / 423.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.2163, allocations: 7.984 kB / 423.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008795/0.2251, allocations: 3.773 MB / 427.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-05/0.2251, allocations: 8.938 kB / 427.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004019/0.2291, allocations: 487.1 kB / 428.2 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.738e-05/0.2292, allocations: 12 kB / 428.2 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/0.2294, allocations: 67.92 kB / 428.3 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-05/0.2294, allocations: 15.94 kB / 428.3 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/0.2295, allocations: 11.94 kB / 428.3 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2724/0.5018, allocations: 2.468 MB / 430.8 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.5028, allocations: 311.4 kB / 431.1 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.503, allocations: 51.19 kB / 431.1 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/0.505, allocations: 183.6 kB / 431.3 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/0.5053, allocations: 103.3 kB / 431.4 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.5055, allocations: 51.52 kB / 431.5 MB, free: 39.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009345/0.5065, allocations: 453.1 kB / 431.9 MB, free: 39.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5065, allocations: 1.062 kB / 431.9 MB, free: 39.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001447/0.5079, allocations: 247.3 kB / 432.1 MB, free: 39.78 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.0003248/0.5083, allocations: 170 kB / 432.3 MB, free: 39.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004726/0.513, allocations: 1.837 MB / 434.1 MB, free: 39.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.513, allocations: 1.781 kB / 434.1 MB, free: 39.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.5154, allocations: 0.817 MB / 435 MB, free: 39.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.5174, allocations: 86.81 kB / 435 MB, free: 39.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/0.5234, allocations: 2.792 MB / 437.8 MB, free: 37.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009624/0.5244, allocations: 0.977 MB / 438.8 MB, free: 36.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.003244/0.5277, allocations: 0.6036 MB / 439.4 MB, free: 36.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/0.5285, allocations: 108.7 kB / 439.5 MB, free: 36.94 MB / 318.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5286, allocations: 0 / 439.5 MB, free: 36.94 MB / 318.1 MB Notification: Performance of Templates: time 0.02785/0.5564, allocations: 11.11 MB / 450.6 MB, free: 31.59 MB / 318.1 MB make -j1 -f TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.makefile Environment - environmentSimulation: (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 & ./TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1) Environment - environmentSimulation: