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.001379/0.001379, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.578/1.578, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06994/0.06994, allocations: 10.98 MB / 280.7 MB, free: 10.23 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.001496/0.001496, allocations: 67.91 kB / 340.5 MB, free: 22.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.124, allocations: 48.75 MB / 389.2 MB, free: 6.055 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.003479/0.1276, allocations: 1.483 MB / 390.7 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1287, allocations: 0.5814 MB / 391.3 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.1288, allocations: 4 kB / 391.3 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.129, allocations: 15.86 kB / 391.3 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.1293, allocations: 67.73 kB / 391.4 MB, free: 3.879 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1296, allocations: 95.75 kB / 391.5 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1306, allocations: 1.13 MB / 392.6 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.1307, allocations: 4 kB / 392.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.1311, allocations: 427.5 kB / 393 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/0.1318, allocations: 415.2 kB / 393.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.1319, allocations: 72 kB / 393.5 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1321, allocations: 76 kB / 393.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000608/0.1327, allocations: 466.9 kB / 394 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.1333, allocations: 437.9 kB / 394.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.1342, allocations: 0.9193 MB / 395.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1342, allocations: 0 / 395.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1342, allocations: 0 / 395.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1342, allocations: 0 / 395.4 MB, free: 15.87 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.008549/0.1428, allocations: 2.148 MB / 397.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.1428, allocations: 8.031 kB / 397.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.1431, allocations: 76 kB / 397.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/0.1439, allocations: 0.5463 MB / 398.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.144, allocations: 49.62 kB / 398.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.1442, allocations: 80.19 kB / 398.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.146, allocations: 1.146 MB / 399.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.146, allocations: 0 / 399.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.1461, allocations: 23.94 kB / 399.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/0.1462, allocations: 45.3 kB / 399.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003775/0.15, allocations: 2.51 MB / 402 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00973/0.1597, allocations: 3.731 MB / 405.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.1613, allocations: 0.9494 MB / 406.7 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.1624, allocations: 0.7878 MB / 407.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.635e-05/0.1625, allocations: 32.94 kB / 407.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.1638, allocations: 0.8559 MB / 408.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 3.677e-06/0.1638, allocations: 0 / 408.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.003397/0.1672, allocations: 2.047 MB / 410.4 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.1673, allocations: 68.41 kB / 410.5 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/0.1681, allocations: 0.6422 MB / 411.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.1682, allocations: 45.7 kB / 411.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.1685, allocations: 351.4 kB / 411.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.1688, allocations: 378.8 kB / 411.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004793/0.1693, allocations: 323.2 kB / 412.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1695, allocations: 337.8 kB / 412.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.1707, allocations: 0.7963 MB / 413.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.1722, allocations: 1.092 MB / 414.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.175, allocations: 1.971 MB / 416.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.1751, allocations: 4 kB / 416.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003429/0.1785, allocations: 2.184 MB / 418.6 MB, free: 8.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.1786, allocations: 33.7 kB / 418.6 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.1786, allocations: 8.844 kB / 418.6 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.1786, allocations: 12 kB / 418.6 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.1815, allocations: 0.624 MB / 419.2 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/0.1815, allocations: 19.94 kB / 419.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.1832, allocations: 302.3 kB / 419.6 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.1833, allocations: 71.94 kB / 419.6 MB, free: 7.133 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.0004805/0.1838, allocations: 301.2 kB / 419.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.184, allocations: 71.14 kB / 420 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/0.187, allocations: 1.729 MB / 421.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.187, allocations: 8 kB / 421.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1871, allocations: 0 / 421.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.1871, allocations: 7.969 kB / 421.7 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00553/0.1926, allocations: 3.762 MB / 425.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.1926, allocations: 12.16 kB / 425.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/0.1951, allocations: 487.1 kB / 426 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.931e-05/0.1951, allocations: 12 kB / 426 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.1953, allocations: 67.92 kB / 426.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.1953, allocations: 15.94 kB / 426.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.1953, allocations: 11.94 kB / 426.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2073/0.4026, allocations: 2.449 MB / 428.5 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/0.4033, allocations: 315 kB / 428.9 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.4035, allocations: 49.62 kB / 428.9 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.4051, allocations: 178.6 kB / 429.1 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/0.4055, allocations: 104.3 kB / 429.2 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.4056, allocations: 50.89 kB / 429.2 MB, free: 41.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008095/0.4064, allocations: 453.7 kB / 429.7 MB, free: 41.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4064, allocations: 0 / 429.7 MB, free: 41.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001317/0.4078, allocations: 247.8 kB / 429.9 MB, free: 41.29 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.0002996/0.4081, allocations: 172.4 kB / 430.1 MB, free: 41.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004595/0.4127, allocations: 2.241 MB / 432.3 MB, free: 40.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.4127, allocations: 1.188 kB / 432.3 MB, free: 40.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.4142, allocations: 0.8124 MB / 433.1 MB, free: 40.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.4149, allocations: 77.02 kB / 433.2 MB, free: 40.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.4191, allocations: 2.451 MB / 435.7 MB, free: 39.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008438/0.42, allocations: 0.9776 MB / 436.6 MB, free: 38.51 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001887/0.4219, allocations: 0.5975 MB / 437.2 MB, free: 38.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.4224, allocations: 105.4 kB / 437.3 MB, free: 38.48 MB / 318.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4224, allocations: 0 / 437.3 MB, free: 38.48 MB / 318.1 MB Notification: Performance of Templates: time 0.02118/0.4436, allocations: 11.75 MB / 449.1 MB, free: 32.05 MB / 318.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)