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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008239/0.0008242, allocations: 91.2 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06092/0.06092, allocations: 10.87 MB / 325.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.633e-05, allocations: 4 kB / 383.1 MB, free: 71.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07578/0.07582, allocations: 49.76 MB / 432.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3203/0.3962, allocations: 79.27 MB / 0.5002 GB, free: 12.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.3964, allocations: 60.95 kB / 0.5002 GB, free: 12.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1319/0.5283, allocations: 42.24 MB / 0.5415 GB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5284, allocations: 0 / 0.5415 GB, free: 4.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.068e-05/0.5284, allocations: 16 kB / 0.5415 GB, free: 4.789 MB / 346.7 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.004859/0.5333, allocations: 1.6 MB / 0.5431 GB, free: 3.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.5333, allocations: 8.031 kB / 0.5431 GB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.5336, allocations: 71.16 kB / 0.5431 GB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009854/0.5346, allocations: 0.5646 MB / 0.5437 GB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.5346, allocations: 47.5 kB / 0.5437 GB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.5348, allocations: 77.03 kB / 0.5438 GB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.5366, allocations: 1.094 MB / 0.5449 GB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.5366, allocations: 0 / 0.5449 GB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/0.5367, allocations: 22.12 kB / 0.5449 GB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/0.5368, allocations: 48.92 kB / 0.5449 GB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003662/0.5404, allocations: 2.456 MB / 0.5473 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009808/0.5503, allocations: 3.858 MB / 0.5511 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.5516, allocations: 0.9038 MB / 0.552 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000971/0.5526, allocations: 0.7614 MB / 0.5527 GB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-05/0.5526, allocations: 31.34 kB / 0.5528 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.5539, allocations: 0.8361 MB / 0.5536 GB, free: 10.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=97): time 4.238e-06/0.5539, allocations: 0 / 0.5536 GB, free: 10.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=97): time 0.002407/0.5563, allocations: 1.407 MB / 0.555 GB, free: 8.992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.5564, allocations: 68.17 kB / 0.555 GB, free: 8.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007886/0.5572, allocations: 0.5933 MB / 0.5556 GB, free: 8.312 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.5573, allocations: 53.69 kB / 0.5556 GB, free: 8.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.5576, allocations: 346.9 kB / 0.556 GB, free: 7.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.5579, allocations: 381.2 kB / 0.5563 GB, free: 7.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.558, allocations: 32 kB / 0.5564 GB, free: 7.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5582, allocations: 394.8 kB / 0.5567 GB, free: 7.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.5593, allocations: 0.7614 MB / 0.5575 GB, free: 6.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.5606, allocations: 1.057 MB / 0.5585 GB, free: 5.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.5621, allocations: 0.9629 MB / 0.5595 GB, free: 4.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.5621, allocations: 0 / 0.5595 GB, free: 4.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003352/0.5654, allocations: 2.11 MB / 0.5615 GB, free: 2.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.5655, allocations: 41.62 kB / 0.5616 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.5655, allocations: 8 kB / 0.5616 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.5656, allocations: 16 kB / 0.5616 GB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.5685, allocations: 0.6285 MB / 0.5622 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-05/0.5686, allocations: 21.11 kB / 0.5622 GB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.5703, allocations: 310.2 kB / 0.5625 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.5705, allocations: 71.95 kB / 0.5626 GB, free: 1.004 MB / 362.7 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 ($whenCondition1,$PRE.pulse_velocity.T_start,pulse_velocity.T_start,$PRE.pulse_velocity.count,pulse_velocity.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.5708, allocations: 184.6 kB / 0.5628 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.5709, allocations: 71.11 kB / 0.5628 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.5741, allocations: 1.694 MB / 0.5645 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5742, allocations: 8 kB / 0.5645 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5742, allocations: 0 / 0.5645 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.5742, allocations: 7.984 kB / 0.5645 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005393/0.5796, allocations: 3.732 MB / 0.5681 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.5796, allocations: 8 kB / 0.5682 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/0.5822, allocations: 480 kB / 0.5686 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.291e-05/0.5822, allocations: 12 kB / 0.5686 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.5824, allocations: 71.88 kB / 0.5687 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.811e-05/0.5824, allocations: 19.92 kB / 0.5687 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/0.5824, allocations: 11.94 kB / 0.5687 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.586, allocations: 2.734 MB / 0.5714 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.5867, allocations: 319.7 kB / 0.5717 GB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.5869, allocations: 51.97 kB / 0.5717 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.5883, allocations: 179.8 kB / 0.5719 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.5886, allocations: 104.3 kB / 0.572 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.5887, allocations: 59.88 kB / 0.5721 GB, free: 6.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006344/0.5893, allocations: 465.5 kB / 0.5725 GB, free: 6.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5893, allocations: 0 / 0.5725 GB, free: 6.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001/0.5903, allocations: 252 kB / 0.5728 GB, free: 6.121 MB / 378.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002809/0.5906, allocations: 170.1 kB / 0.5729 GB, free: 5.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.5933, allocations: 1.771 MB / 0.5746 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5933, allocations: 0 / 0.5746 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.5945, allocations: 0.7899 MB / 0.5754 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.595, allocations: 73.78 kB / 0.5755 GB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.5979, allocations: 2.156 MB / 0.5776 GB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.5986, allocations: 1.004 MB / 0.5786 GB, free: 0 / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001748/0.6003, allocations: 0.6043 MB / 0.5792 GB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.6008, allocations: 107.3 kB / 0.5793 GB, free: 15.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6009, allocations: 0 / 0.5793 GB, free: 15.29 MB / 394.7 MB Notification: Performance of Templates: time 0.01834/0.6192, allocations: 11.49 MB / 0.5905 GB, free: 3.805 MB / 394.7 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)