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: "" <> buildModelFMU(TAeZoSysPro.PDE.Examples.AdvectionGaussian,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.PDE.Examples.AdvectionGaussian,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007816/0.007816, allocations: 97.97 kB / 15.73 MB, free: 6.004 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.001986/0.001986, allocations: 193 kB / 16.67 MB, free: 5.934 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.422/1.422, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07112/0.07112, allocations: 10.98 MB / 280.9 MB, free: 10.13 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.002097/0.002097, allocations: 71.89 kB / 390 MB, free: 5.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2333, allocations: 48.75 MB / 438.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002098/0.2354, allocations: 1.472 MB / 440.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.2363, allocations: 0.5943 MB / 440.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.2364, allocations: 1.031 kB / 440.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.2365, allocations: 12.38 kB / 440.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.2368, allocations: 71.5 kB / 440.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.2371, allocations: 82.53 kB / 441 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.2382, allocations: 1.138 MB / 442.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.2383, allocations: 8.031 kB / 442.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008731/0.2392, allocations: 431.1 kB / 442.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009611/0.2401, allocations: 409.1 kB / 443 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.2403, allocations: 73.62 kB / 443 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.2405, allocations: 73.75 kB / 443.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005627/0.241, allocations: 473 kB / 443.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.2416, allocations: 446 kB / 444 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007329/0.2423, allocations: 0.935 MB / 444.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2424, allocations: 0 / 444.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2424, allocations: 0 / 444.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.2424, allocations: 1.375 kB / 444.9 MB, free: 2.059 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.008124/0.2505, allocations: 2.168 MB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2506, allocations: 7.25 kB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.2507, allocations: 111.8 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.2509, allocations: 75.47 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.2516, allocations: 0.5455 MB / 447.8 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.2517, allocations: 49.66 kB / 447.9 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.2518, allocations: 81.25 kB / 448 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.2537, allocations: 1.138 MB / 449.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.2537, allocations: 1.062 kB / 449.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.2538, allocations: 20.22 kB / 449.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-05/0.2539, allocations: 59.16 kB / 449.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.2579, allocations: 2.505 MB / 451.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.2683, allocations: 3.725 MB / 455.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.2701, allocations: 0.9558 MB / 456.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.2714, allocations: 0.7917 MB / 457.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.62e-05/0.2715, allocations: 28.95 kB / 457.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.2729, allocations: 0.8442 MB / 458 MB, free: 9.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 4.929e-06/0.2729, allocations: 4 kB / 458 MB, free: 9.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.00399/0.2769, allocations: 2.059 MB / 460.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.277, allocations: 64.41 kB / 460.2 MB, free: 7.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.278, allocations: 0.6424 MB / 460.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.2781, allocations: 45.7 kB / 460.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.2784, allocations: 364.5 kB / 461.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000375/0.2788, allocations: 392.8 kB / 461.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005387/0.2794, allocations: 323.4 kB / 461.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2795, allocations: 337.9 kB / 462.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.281, allocations: 0.8002 MB / 463 MB, free: 4.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.2827, allocations: 1.089 MB / 464.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/0.286, allocations: 1.967 MB / 466.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.286, allocations: 4 kB / 466.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004156/0.2902, allocations: 2.193 MB / 468.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.2903, allocations: 41.58 kB / 468.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.2903, allocations: 11.98 kB / 468.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.676e-05/0.2903, allocations: 19.98 kB / 468.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/0.2934, allocations: 0.6162 MB / 469 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-05/0.2934, allocations: 27.86 kB / 469 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.2953, allocations: 302.7 kB / 469.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.2955, allocations: 71.95 kB / 469.4 MB, free: 14.1 MB / 350.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.0005306/0.296, allocations: 297.3 kB / 469.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.2962, allocations: 75.53 kB / 469.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.2995, allocations: 1.733 MB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.2996, allocations: 8 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2996, allocations: 4 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2996, allocations: 3.984 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0059/0.3055, allocations: 3.759 MB / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.3055, allocations: 11.94 kB / 475.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/0.3083, allocations: 479.6 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/0.3083, allocations: 12 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.3085, allocations: 67.92 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.088e-05/0.3085, allocations: 15.94 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-05/0.3085, allocations: 11.94 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.3126, allocations: 2.469 MB / 478.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005801/0.3132, allocations: 312.2 kB / 478.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.3134, allocations: 47.98 kB / 478.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.3149, allocations: 179.8 kB / 478.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.3152, allocations: 100.3 kB / 478.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.3153, allocations: 51.94 kB / 479 MB, free: 4.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006131/0.3159, allocations: 454.7 kB / 479.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3159, allocations: 4 kB / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000923/0.3168, allocations: 251.9 kB / 479.7 MB, free: 3.508 MB / 350.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.004417/0.3213, allocations: 3.056 MB / 482.7 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003423/0.3247, allocations: 1.854 MB / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.3247, allocations: 0 / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.3263, allocations: 0.8085 MB / 485.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008123/0.3271, allocations: 78.58 kB / 485.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.3448, allocations: 11.7 MB / 497.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.3455, allocations: 0.9783 MB / 498.1 MB, free: 348 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001665/0.3472, allocations: 0.6003 MB / 498.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007132/0.3479, allocations: 287.3 kB / 499 MB, free: 15.45 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3479, allocations: 0 / 499 MB, free: 15.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05049/0.3984, allocations: 20.07 MB / 0.5069 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.137/9.536, allocations: 7.797 kB / 0.5069 GB, free: 11.35 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian.fmu > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1)