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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003958/0.003958, allocations: 182.9 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.00101/0.001011, allocations: 93.08 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06208/0.06208, allocations: 10.87 MB / 319.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.663e-06/6.763e-06, allocations: 0 / 375.6 MB, free: 77.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09163/0.09166, allocations: 49.76 MB / 425.4 MB, free: 28.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3212/0.413, allocations: 78.53 MB / 0.4921 GB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.4133, allocations: 65.2 kB / 0.4922 GB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1354/0.5487, allocations: 41.1 MB / 0.5323 GB, free: 12.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.5488, allocations: 12 kB / 0.5323 GB, free: 12.86 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.005169/0.554, allocations: 1.53 MB / 0.5338 GB, free: 11.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5541, allocations: 15.97 kB / 0.5338 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.5544, allocations: 67.16 kB / 0.5339 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5554, allocations: 0.5596 MB / 0.5345 GB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.5555, allocations: 19.94 kB / 0.5345 GB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.5557, allocations: 59.11 kB / 0.5345 GB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003593/0.5593, allocations: 2.341 MB / 0.5368 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.561, allocations: 1.052 MB / 0.5378 GB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.561, allocations: 0 / 0.5378 GB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/0.5611, allocations: 0 / 0.5378 GB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.35e-05/0.5612, allocations: 53.09 kB / 0.5379 GB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00939/0.5706, allocations: 3.498 MB / 0.5413 GB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.5719, allocations: 0.8991 MB / 0.5422 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/0.5729, allocations: 0.7635 MB / 0.5429 GB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.968e-05/0.573, allocations: 34.59 kB / 0.543 GB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.5741, allocations: 0.8093 MB / 0.5438 GB, free: 3.004 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 3.246e-06/0.5741, allocations: 0 / 0.5438 GB, free: 3.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=97): time 0.00236/0.5765, allocations: 1.393 MB / 0.5451 GB, free: 1.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.5766, allocations: 68.19 kB / 0.5452 GB, free: 1.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007333/0.5773, allocations: 0.5789 MB / 0.5458 GB, free: 1.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.5774, allocations: 29.7 kB / 0.5458 GB, free: 1.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.5776, allocations: 303.5 kB / 0.5461 GB, free: 0.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.5779, allocations: 366.8 kB / 0.5464 GB, free: 396 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.578, allocations: 0 / 0.5464 GB, free: 396 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.5782, allocations: 398.7 kB / 0.5468 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.5793, allocations: 0.7624 MB / 0.5475 GB, free: 15.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.5806, allocations: 1.038 MB / 0.5486 GB, free: 14.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.5819, allocations: 0.9274 MB / 0.5495 GB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5819, allocations: 0 / 0.5495 GB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003196/0.5851, allocations: 2.016 MB / 0.5514 GB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5852, allocations: 4 kB / 0.5514 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.5852, allocations: 11.91 kB / 0.5514 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/0.5852, allocations: 19.98 kB / 0.5515 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.5884, allocations: 0.554 MB / 0.552 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/0.5884, allocations: 23.92 kB / 0.552 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5901, allocations: 238.4 kB / 0.5523 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.5903, allocations: 71.94 kB / 0.5523 GB, free: 10.22 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.000291/0.5906, allocations: 144.5 kB / 0.5525 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.5908, allocations: 75.06 kB / 0.5525 GB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.5938, allocations: 1.664 MB / 0.5542 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5938, allocations: 8 kB / 0.5542 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5938, allocations: 0 / 0.5542 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.5939, allocations: 3.984 kB / 0.5542 GB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/0.599, allocations: 3.639 MB / 0.5577 GB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.5991, allocations: 12.14 kB / 0.5577 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/0.6018, allocations: 411.4 kB / 0.5581 GB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-05/0.6018, allocations: 16 kB / 0.5581 GB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.602, allocations: 59.92 kB / 0.5582 GB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/0.602, allocations: 15.92 kB / 0.5582 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.602, allocations: 8 kB / 0.5582 GB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003416/0.6054, allocations: 2.74 MB / 0.5609 GB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005974/0.6061, allocations: 319.7 kB / 0.5612 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/0.6063, allocations: 31.98 kB / 0.5612 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.6078, allocations: 135.9 kB / 0.5614 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.6081, allocations: 96.36 kB / 0.5615 GB, free: 428 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.6082, allocations: 47.94 kB / 0.5615 GB, free: 380 kB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005636/0.6087, allocations: 446.9 kB / 0.5619 GB, free: 15.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009587/0.6097, allocations: 211.9 kB / 0.5621 GB, free: 15.73 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.0002569/0.61, allocations: 151.1 kB / 0.5623 GB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.6124, allocations: 1.729 MB / 0.564 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.6124, allocations: 4 kB / 0.564 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.6135, allocations: 0.7861 MB / 0.5647 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.614, allocations: 50.48 kB / 0.5648 GB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.6173, allocations: 2.153 MB / 0.5669 GB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/0.6187, allocations: 1.139 MB / 0.568 GB, free: 9.559 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.6187, allocations: 3.938 kB / 0.568 GB, free: 9.555 MB / 378.7 MB Notification: Performance of Templates: time 0.02702/0.6457, allocations: 15.57 MB / 0.5832 GB, free: 10.02 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)