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.0009586/0.0009586, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005885/0.005885, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.375/1.375, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06332/0.06332, allocations: 10.98 MB / 281.7 MB, free: 10.16 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.0005209/0.0005209, allocations: 20 kB / 342.3 MB, free: 22.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1014, allocations: 49.77 MB / 392.1 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.00158/0.1031, allocations: 1.201 MB / 393.3 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.104, allocations: 0.5777 MB / 393.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.1041, allocations: 0 / 393.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.1042, allocations: 11.86 kB / 393.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1045, allocations: 75.86 kB / 394 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1047, allocations: 71.84 kB / 394 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009134/0.1057, allocations: 1.051 MB / 395.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.1057, allocations: 7.984 kB / 395.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.1061, allocations: 403.3 kB / 395.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.1068, allocations: 407.2 kB / 395.9 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.1069, allocations: 44 kB / 395.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.107, allocations: 44 kB / 396 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.1075, allocations: 442.9 kB / 396.4 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.1079, allocations: 439.6 kB / 396.8 MB, free: 328 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006875/0.1086, allocations: 0.8686 MB / 397.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1086, allocations: 4 kB / 397.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1086, allocations: 0 / 397.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.1086, allocations: 0 / 397.7 MB, free: 15.45 MB / 302.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.007792/0.1164, allocations: 2.094 MB / 399.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1165, allocations: 8.031 kB / 399.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003039/0.1168, allocations: 110.7 kB / 399.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.117, allocations: 76.09 kB / 400 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.1178, allocations: 0.5385 MB / 400.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.1178, allocations: 49.67 kB / 400.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.118, allocations: 76.28 kB / 400.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.1197, allocations: 1.15 MB / 401.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1197, allocations: 3.984 kB / 401.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.1198, allocations: 20 kB / 401.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.1199, allocations: 45.3 kB / 401.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.1234, allocations: 2.522 MB / 404.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00954/0.133, allocations: 3.844 MB / 408.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.1345, allocations: 0.9651 MB / 409.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.1356, allocations: 0.7917 MB / 410 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/0.1357, allocations: 28.95 kB / 410 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.1369, allocations: 0.8598 MB / 410.9 MB, free: 2.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 4.618e-06/0.1369, allocations: 0 / 410.9 MB, free: 2.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.003309/0.1402, allocations: 2.078 MB / 413 MB, free: 15.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1403, allocations: 60.41 kB / 413 MB, free: 15.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008268/0.1411, allocations: 0.6423 MB / 413.7 MB, free: 15.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.1413, allocations: 45.7 kB / 413.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.1415, allocations: 351.3 kB / 414 MB, free: 14.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.1418, allocations: 378.8 kB / 414.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.1421, allocations: 141.6 kB / 414.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1422, allocations: 337.9 kB / 414.9 MB, free: 14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.1435, allocations: 0.8002 MB / 415.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.1449, allocations: 1.096 MB / 416.8 MB, free: 12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.1477, allocations: 1.974 MB / 418.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.1477, allocations: 11.94 kB / 418.8 MB, free: 9.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003502/0.1512, allocations: 2.185 MB / 421 MB, free: 7.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.1513, allocations: 37.73 kB / 421 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.1513, allocations: 8 kB / 421 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/0.1513, allocations: 16 kB / 421 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/0.1542, allocations: 0.624 MB / 421.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-05/0.1543, allocations: 19.94 kB / 421.7 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.1561, allocations: 306.3 kB / 422 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.1563, allocations: 71.94 kB / 422 MB, free: 6.625 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.0005135/0.1568, allocations: 293.3 kB / 422.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.157, allocations: 75.05 kB / 422.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.1601, allocations: 1.737 MB / 424.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.1601, allocations: 16 kB / 424.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1601, allocations: 0 / 424.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.1601, allocations: 7.969 kB / 424.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/0.1655, allocations: 3.77 MB / 427.9 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.1655, allocations: 16.09 kB / 427.9 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/0.168, allocations: 479.2 kB / 428.4 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.098e-05/0.1681, allocations: 12 kB / 428.4 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.1532/0.3212, allocations: 67.16 kB / 428.5 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.427e-05/0.3213, allocations: 21.34 kB / 428.5 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.3213, allocations: 7.562 kB / 428.5 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.3255, allocations: 2.473 MB / 431 MB, free: 39.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/0.3261, allocations: 307.3 kB / 431.3 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.3263, allocations: 53.19 kB / 431.3 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.3277, allocations: 183.4 kB / 431.5 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.3279, allocations: 103.1 kB / 431.6 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.3281, allocations: 51.16 kB / 431.7 MB, free: 39.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005535/0.3286, allocations: 454.6 kB / 432.1 MB, free: 39.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3286, allocations: 0 / 432.1 MB, free: 39.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009231/0.3295, allocations: 249.9 kB / 432.3 MB, free: 39.14 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.004019/0.3336, allocations: 3.079 MB / 435.4 MB, free: 38.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.3367, allocations: 1.835 MB / 437.3 MB, free: 37.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.3368, allocations: 0.5938 kB / 437.3 MB, free: 37.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.3383, allocations: 0.8215 MB / 438.1 MB, free: 37.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3395, allocations: 89.89 kB / 438.2 MB, free: 37.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.3554, allocations: 12.42 MB / 450.6 MB, free: 30.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.3559, allocations: 0.9855 MB / 451.6 MB, free: 29.87 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001546/0.3575, allocations: 0.599 MB / 452.2 MB, free: 29.42 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/0.3581, allocations: 287.3 kB / 452.5 MB, free: 29.14 MB / 318.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3581, allocations: 0 / 452.5 MB, free: 29.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.3888, allocations: 18.91 MB / 471.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.389, allocations: 195.7 kB / 471.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.476, allocations: 0 / 471.6 MB, free: 10.14 MB / 318.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)