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.001127/0.001128, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001304/0.001304, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06614/0.06614, allocations: 10.97 MB / 281.3 MB, free: 10.27 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.0004983/0.0004983, allocations: 8 kB / 341.6 MB, free: 23.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09123, allocations: 49.78 MB / 391.4 MB, free: 5.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.001548/0.09282, allocations: 1.17 MB / 392.5 MB, free: 4.375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.09377, allocations: 0.5663 MB / 393.1 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.09384, allocations: 0 / 393.1 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.09398, allocations: 7.938 kB / 393.1 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.09423, allocations: 71.84 kB / 393.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.09449, allocations: 71.83 kB / 393.2 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.09521, allocations: 0.6571 MB / 393.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.09528, allocations: 11.94 kB / 393.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.09566, allocations: 395.4 kB / 394.3 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.09631, allocations: 391.3 kB / 394.7 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.09643, allocations: 47.98 kB / 394.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.09654, allocations: 44 kB / 394.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005087/0.09705, allocations: 427 kB / 395.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.0972, allocations: 109.3 kB / 395.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.09783, allocations: 0.7175 MB / 396 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.09784, allocations: 0 / 396 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.09785, allocations: 0 / 396 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.09787, allocations: 0 / 396 MB, free: 0.8711 MB / 286.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.007706/0.1056, allocations: 2.09 MB / 398.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1056, allocations: 8.031 kB / 398.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.1059, allocations: 75.06 kB / 398.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009983/0.1069, allocations: 0.5335 MB / 398.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.107, allocations: 49.31 kB / 398.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.1072, allocations: 83.83 kB / 398.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.1089, allocations: 1.127 MB / 400 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1089, allocations: 4 kB / 400 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/0.109, allocations: 23.94 kB / 400 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.824e-05/0.1091, allocations: 53.28 kB / 400 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003887/0.113, allocations: 2.514 MB / 402.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.1234, allocations: 3.841 MB / 406.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1249, allocations: 0.9612 MB / 407.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.965e-05/0.125, allocations: 28.94 kB / 407.4 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.1263, allocations: 0.852 MB / 408.2 MB, free: 4.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 3.016e-06/0.1263, allocations: 0 / 408.2 MB, free: 4.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.003307/0.1296, allocations: 2.075 MB / 410.3 MB, free: 2.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1297, allocations: 64.39 kB / 410.4 MB, free: 2.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.1304, allocations: 0.6384 MB / 411 MB, free: 1.645 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.1305, allocations: 49.7 kB / 411.1 MB, free: 1.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.1308, allocations: 355.3 kB / 411.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.1311, allocations: 374.8 kB / 411.8 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/0.1312, allocations: 28 kB / 411.8 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1314, allocations: 398.7 kB / 412.2 MB, free: 448 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.1326, allocations: 0.7924 MB / 413 MB, free: 15.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.1341, allocations: 1.085 MB / 414.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.1355, allocations: 0.9956 MB / 415.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1356, allocations: 4 kB / 415.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00347/0.139, allocations: 2.173 MB / 417.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.1391, allocations: 41.69 kB / 417.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.1392, allocations: 7.938 kB / 417.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/0.1392, allocations: 16 kB / 417.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.1421, allocations: 0.6243 MB / 417.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/0.1422, allocations: 19.94 kB / 418 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.1438, allocations: 310.3 kB / 418.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.1439, allocations: 67.95 kB / 418.3 MB, free: 10.18 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 ($whenCondition1,$PRE.pulse_velocity.T_start,pulse_velocity.T_start,$PRE.pulse_velocity.count,pulse_velocity.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004472/0.1444, allocations: 305.3 kB / 418.6 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.1445, allocations: 79.02 kB / 418.7 MB, free: 9.793 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.1475, allocations: 1.749 MB / 420.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1475, allocations: 8 kB / 420.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1476, allocations: 0 / 420.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.1476, allocations: 3.984 kB / 420.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005542/0.1531, allocations: 3.785 MB / 424.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.1532, allocations: 8 kB / 424.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/0.1557, allocations: 483.7 kB / 424.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.1557, allocations: 12 kB / 424.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.1558, allocations: 67.92 kB / 424.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/0.1558, allocations: 15.98 kB / 424.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.695e-05/0.1559, allocations: 11.94 kB / 424.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.1596, allocations: 2.819 MB / 427.6 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/0.1603, allocations: 303.9 kB / 427.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.1604, allocations: 51.97 kB / 428 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.159/0.3195, allocations: 178.6 kB / 428.2 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.3198, allocations: 103.5 kB / 428.3 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.3199, allocations: 49.83 kB / 428.3 MB, free: 40.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000599/0.3205, allocations: 449.8 kB / 428.8 MB, free: 40.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3205, allocations: 3.344 kB / 428.8 MB, free: 40.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008988/0.3214, allocations: 247.1 kB / 429 MB, free: 40.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 (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.0002077/0.3216, allocations: 167.3 kB / 429.2 MB, free: 40.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.3245, allocations: 1.83 MB / 431 MB, free: 40.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3245, allocations: 1.094 kB / 431 MB, free: 40.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.3259, allocations: 0.8147 MB / 431.8 MB, free: 40.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.3263, allocations: 64.89 kB / 431.9 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.3297, allocations: 2.696 MB / 434.6 MB, free: 38.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.3302, allocations: 0.9963 MB / 435.6 MB, free: 38.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001774/0.332, allocations: 0.6028 MB / 436.2 MB, free: 38.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006487/0.3326, allocations: 105.4 kB / 436.3 MB, free: 38.12 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3326, allocations: 0.5 kB / 436.3 MB, free: 38.12 MB / 318.1 MB Notification: Performance of Templates: time 0.02377/0.3564, allocations: 10.8 MB / 447.1 MB, free: 34.72 MB / 318.1 MB make -j1 -f TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: