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.001211/0.001212, allocations: 118.3 kB / 16.37 MB, free: 5.984 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.001293/0.001293, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.492/1.492, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06218/0.06218, allocations: 10.97 MB / 281.5 MB, free: 1.035 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.001703/0.001703, allocations: 67.91 kB / 341.9 MB, free: 4.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2874, allocations: 48.73 MB / 390.7 MB, free: 49.92 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.003178/0.2906, allocations: 1.477 MB / 392.2 MB, free: 48.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2918, allocations: 0.5899 MB / 392.7 MB, free: 48.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.2919, allocations: 5.375 kB / 392.7 MB, free: 48.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.2921, allocations: 16.44 kB / 392.8 MB, free: 48.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.2924, allocations: 67.08 kB / 392.8 MB, free: 48.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.2927, allocations: 87.19 kB / 392.9 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.2942, allocations: 1.133 MB / 394 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/0.2943, allocations: 7.984 kB / 394.1 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005065/0.2948, allocations: 427.4 kB / 394.5 MB, free: 47.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.2957, allocations: 410.1 kB / 394.9 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.2959, allocations: 73.94 kB / 394.9 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.296, allocations: 78.38 kB / 395 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007268/0.2968, allocations: 477.1 kB / 395.5 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.2973, allocations: 439.1 kB / 395.9 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.2981, allocations: 0.9285 MB / 396.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.2981, allocations: 0 / 396.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2981, allocations: 0 / 396.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2981, allocations: 0 / 396.8 MB, free: 46.79 MB / 318.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.008079/0.3062, allocations: 2.143 MB / 399 MB, free: 45.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3063, allocations: 9.188 kB / 399 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.3065, allocations: 76 kB / 399.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009489/0.3075, allocations: 0.548 MB / 399.6 MB, free: 45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.3075, allocations: 54.17 kB / 399.7 MB, free: 44.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.3077, allocations: 80.06 kB / 399.7 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.3095, allocations: 1.139 MB / 400.9 MB, free: 44.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.3095, allocations: 5.234 kB / 400.9 MB, free: 44.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-05/0.3096, allocations: 19.84 kB / 400.9 MB, free: 44.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.437e-05/0.3097, allocations: 47.58 kB / 401 MB, free: 44.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.3136, allocations: 2.513 MB / 403.5 MB, free: 43.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008708/0.3223, allocations: 3.711 MB / 407.2 MB, free: 39.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3235, allocations: 0.9495 MB / 408.1 MB, free: 38.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/0.3244, allocations: 0.7917 MB / 408.9 MB, free: 37.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/0.3245, allocations: 32.94 kB / 409 MB, free: 37.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.3255, allocations: 0.8559 MB / 409.8 MB, free: 37.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.156e-06/0.3255, allocations: 4 kB / 409.8 MB, free: 37.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.00287/0.3284, allocations: 2.047 MB / 411.9 MB, free: 35.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.3284, allocations: 64.41 kB / 411.9 MB, free: 34.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.329, allocations: 0.646 MB / 412.6 MB, free: 34.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.3292, allocations: 45.7 kB / 412.6 MB, free: 34.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3293, allocations: 347.4 kB / 413 MB, free: 33.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.3296, allocations: 382.7 kB / 413.3 MB, free: 33.51 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000415/0.33, allocations: 327.2 kB / 413.6 MB, free: 33.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.3301, allocations: 337.8 kB / 414 MB, free: 32.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3311, allocations: 0.7963 MB / 414.8 MB, free: 32.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.3323, allocations: 1.092 MB / 415.9 MB, free: 30.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.3345, allocations: 1.967 MB / 417.8 MB, free: 28.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.3345, allocations: 4 kB / 417.8 MB, free: 28.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002905/0.3375, allocations: 2.192 MB / 420 MB, free: 26.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.3375, allocations: 33.7 kB / 420.1 MB, free: 26.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3375, allocations: 11.94 kB / 420.1 MB, free: 26.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-05/0.3376, allocations: 16 kB / 420.1 MB, free: 26.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.3402, allocations: 0.6202 MB / 420.7 MB, free: 25.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/0.3403, allocations: 19.94 kB / 420.7 MB, free: 25.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.3418, allocations: 302.3 kB / 421 MB, free: 25.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.3419, allocations: 71.94 kB / 421.1 MB, free: 25.5 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.0005151/0.3424, allocations: 298.6 kB / 421.4 MB, free: 25.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.3426, allocations: 75.14 kB / 421.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.3452, allocations: 1.722 MB / 423.2 MB, free: 23.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.3452, allocations: 8 kB / 423.2 MB, free: 23.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3452, allocations: 4 kB / 423.2 MB, free: 23.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3453, allocations: 7.969 kB / 423.2 MB, free: 23.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004559/0.3498, allocations: 3.754 MB / 427 MB, free: 19.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.3498, allocations: 8 kB / 427 MB, free: 19.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/0.3521, allocations: 487.7 kB / 427.4 MB, free: 18.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.3521, allocations: 12 kB / 427.5 MB, free: 18.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.3522, allocations: 67.92 kB / 427.5 MB, free: 18.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.3522, allocations: 11.94 kB / 427.5 MB, free: 18.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.3522, allocations: 11.94 kB / 427.5 MB, free: 18.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.3551, allocations: 2.464 MB / 430 MB, free: 16.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/0.3557, allocations: 307.8 kB / 430.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.3559, allocations: 51.97 kB / 430.4 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.3571, allocations: 179.8 kB / 430.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.3574, allocations: 100.3 kB / 430.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.3575, allocations: 51.95 kB / 430.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004517/0.358, allocations: 458.7 kB / 431.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.358, allocations: 0 / 431.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.3588, allocations: 251.9 kB / 431.4 MB, free: 14.91 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.0002087/0.3591, allocations: 164.8 kB / 431.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.3614, allocations: 1.845 MB / 433.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3614, allocations: 0 / 433.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.3624, allocations: 0.8216 MB / 434.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.3631, allocations: 73.95 kB / 434.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.3656, allocations: 2.43 MB / 436.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.366, allocations: 0.9745 MB / 437.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001346/0.3674, allocations: 0.5964 MB / 438.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.3678, allocations: 111.3 kB / 438.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3678, allocations: 0 / 438.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of Templates: time 0.01678/0.3846, allocations: 11.75 MB / 450.1 MB, free: 11.96 MB / 334.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 -s cvode -lv LOG_STATS > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1)