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.001432/0.001432, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001406/0.001406, allocations: 187 kB / 17.34 MB, free: 5.762 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.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06699/0.06699, allocations: 10.97 MB / 281.6 MB, free: 1.008 MB / 222.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.001527/0.001527, allocations: 71.58 kB / 391.2 MB, free: 45.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09592, allocations: 48.77 MB / 439.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002291/0.09826, allocations: 1.477 MB / 441.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008901/0.09917, allocations: 0.5853 MB / 442 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.09924, allocations: 0 / 442 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.09939, allocations: 19.86 kB / 442 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.09966, allocations: 71.78 kB / 442.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.0999, allocations: 79.81 kB / 442.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000728/0.1006, allocations: 1.141 MB / 443.3 MB, free: 500 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.1007, allocations: 15.97 kB / 443.3 MB, free: 484 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.101, allocations: 419.6 kB / 443.7 MB, free: 64 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007551/0.1017, allocations: 411.1 kB / 444.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.1019, allocations: 72 kB / 444.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1021, allocations: 76 kB / 444.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.1026, allocations: 470.9 kB / 444.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004931/0.1031, allocations: 441.9 kB / 445.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.1039, allocations: 0.9267 MB / 446.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.104, allocations: 0 / 446.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.104, allocations: 0 / 446.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.104, allocations: 0 / 446.1 MB, free: 13.69 MB / 334.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.00819/0.1122, allocations: 2.145 MB / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1122, allocations: 8.031 kB / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.1125, allocations: 76 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.1133, allocations: 0.5385 MB / 448.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.1134, allocations: 45.69 kB / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.1136, allocations: 84.19 kB / 449 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.1154, allocations: 1.15 MB / 450.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1154, allocations: 0 / 450.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/0.1155, allocations: 20 kB / 450.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.1156, allocations: 45.3 kB / 450.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/0.1193, allocations: 2.51 MB / 452.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00938/0.1287, allocations: 3.727 MB / 456.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.1302, allocations: 0.9533 MB / 457.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.1314, allocations: 0.7995 MB / 458.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-05/0.1315, allocations: 28.95 kB / 458.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/0.1327, allocations: 0.8519 MB / 459.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 3.396e-06/0.1327, allocations: 0 / 459.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.003338/0.1361, allocations: 2.051 MB / 461.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1361, allocations: 60.41 kB / 461.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/0.137, allocations: 0.6461 MB / 461.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.1371, allocations: 49.7 kB / 461.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.1373, allocations: 351.3 kB / 462.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.1376, allocations: 370.8 kB / 462.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004724/0.1381, allocations: 323.2 kB / 462.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1382, allocations: 337.9 kB / 463.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.1395, allocations: 0.7963 MB / 464 MB, free: 11.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.1409, allocations: 1.092 MB / 465.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/0.1435, allocations: 1.971 MB / 467.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1435, allocations: 0 / 467.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003383/0.1469, allocations: 2.177 MB / 469.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.147, allocations: 33.7 kB / 469.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.147, allocations: 12.03 kB / 469.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.147, allocations: 16 kB / 469.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.1498, allocations: 0.6201 MB / 469.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.475e-05/0.1499, allocations: 23.92 kB / 470 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.1515, allocations: 298.2 kB / 470.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.1517, allocations: 71.94 kB / 470.3 MB, free: 4.965 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.0005114/0.1523, allocations: 309.2 kB / 470.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.1525, allocations: 67.16 kB / 470.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/0.1556, allocations: 1.729 MB / 472.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.1556, allocations: 20 kB / 472.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.1556, allocations: 0 / 472.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.1556, allocations: 7.922 kB / 472.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005684/0.1613, allocations: 3.758 MB / 476.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/0.1614, allocations: 4 kB / 476.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002539/0.1639, allocations: 479.3 kB / 476.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.822e-05/0.164, allocations: 16 kB / 476.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.1641, allocations: 67.92 kB / 476.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.711e-05/0.1642, allocations: 12 kB / 476.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.1642, allocations: 11.94 kB / 476.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.168, allocations: 2.456 MB / 479.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000587/0.1686, allocations: 319.8 kB / 479.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.1688, allocations: 47.98 kB / 479.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.1702, allocations: 175.8 kB / 479.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.1705, allocations: 108.2 kB / 479.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.1706, allocations: 51.94 kB / 479.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006029/0.1712, allocations: 454.7 kB / 480.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1712, allocations: 4 kB / 480.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009602/0.1722, allocations: 259.9 kB / 480.6 MB, free: 10.36 MB / 366.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.0002577/0.1725, allocations: 167 kB / 480.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.1755, allocations: 1.842 MB / 482.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.1755, allocations: 0 / 482.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.1768, allocations: 0.7896 MB / 483.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.1776, allocations: 77.95 kB / 483.5 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.1812, allocations: 2.482 MB / 486 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.1819, allocations: 0.9784 MB / 487 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007399/0.1827, allocations: 135.3 kB / 487.1 MB, free: 3.715 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1827, allocations: 0 / 487.1 MB, free: 3.715 MB / 366.1 MB Notification: Performance of Templates: time 0.02254/0.2052, allocations: 14 MB / 0.4893 GB, free: 5.668 MB / 382.1 MB make -j1 -f TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.makefile (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)