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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 216.9 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 207.6 MB / 233 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07382/0.07382, allocations: 11.06 MB / 296.3 MB, free: 10.74 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 75.89 kB / 414.2 MB, free: 44.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1057, allocations: 51.38 MB / 465.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.003209/0.1089, allocations: 1.502 MB / 467.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1101, allocations: 0.6048 MB / 467.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.1102, allocations: 0 / 467.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1103, allocations: 11.86 kB / 467.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.1106, allocations: 79.78 kB / 467.8 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1109, allocations: 83.81 kB / 467.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.1239, allocations: 1.145 MB / 469 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.124, allocations: 11.92 kB / 469 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009694/0.1249, allocations: 423.5 kB / 469.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.126, allocations: 423.1 kB / 469.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.1262, allocations: 72 kB / 469.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1264, allocations: 76 kB / 470 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006287/0.127, allocations: 474.9 kB / 470.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.1275, allocations: 433.9 kB / 470.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009788/0.1285, allocations: 0.9302 MB / 471.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1285, allocations: 0 / 471.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1285, allocations: 0 / 471.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1285, allocations: 0 / 471.8 MB, free: 2.688 MB / 334.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.008664/0.1372, allocations: 2.088 MB / 473.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1372, allocations: 16.03 kB / 473.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.1374, allocations: 110.6 kB / 474 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.1376, allocations: 80.41 kB / 474.1 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.1387, allocations: 0.49 MB / 474.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.1387, allocations: 53.62 kB / 474.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.1389, allocations: 84.28 kB / 474.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.1407, allocations: 1.134 MB / 475.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1407, allocations: 0 / 475.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.1408, allocations: 20 kB / 475.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/0.1409, allocations: 49.3 kB / 476 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.1449, allocations: 2.514 MB / 478.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.155, allocations: 3.713 MB / 482.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.1566, allocations: 0.914 MB / 483.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.1577, allocations: 0.7679 MB / 483.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.45e-05/0.1578, allocations: 36.88 kB / 483.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/0.1592, allocations: 0.8597 MB / 484.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.346e-06/0.1592, allocations: 0 / 484.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.003803/0.163, allocations: 2.052 MB / 486.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.163, allocations: 64.41 kB / 486.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000915/0.164, allocations: 0.6384 MB / 487.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.1641, allocations: 57.64 kB / 487.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.1644, allocations: 364.5 kB / 487.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.1648, allocations: 392.8 kB / 488.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005113/0.1653, allocations: 323.4 kB / 488.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1655, allocations: 341.9 kB / 489 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.1668, allocations: 0.7924 MB / 489.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.1684, allocations: 1.092 MB / 490.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/0.1714, allocations: 1.967 MB / 492.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.1714, allocations: 4 kB / 492.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003833/0.1753, allocations: 2.189 MB / 495 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.1753, allocations: 33.7 kB / 495 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.1753, allocations: 8 kB / 495 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/0.1754, allocations: 16 kB / 495.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.1783, allocations: 0.6243 MB / 495.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.715e-05/0.1783, allocations: 19.98 kB / 495.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.1799, allocations: 302.7 kB / 496 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.1801, allocations: 71.94 kB / 496.1 MB, free: 9.996 MB / 366.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.0005168/0.1806, allocations: 305.2 kB / 496.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.1807, allocations: 71.53 kB / 496.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.184, allocations: 1.726 MB / 498.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.184, allocations: 15.98 kB / 498.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.184, allocations: 0 / 498.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.184, allocations: 3.984 kB / 498.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00595/0.19, allocations: 3.74 MB / 0.4902 GB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.19, allocations: 7.938 kB / 0.4902 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/0.1924, allocations: 480 kB / 0.4906 GB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/0.1924, allocations: 12 kB / 0.4906 GB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.1926, allocations: 71.92 kB / 0.4907 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.447e-05/0.1926, allocations: 19.92 kB / 0.4907 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.1926, allocations: 8 kB / 0.4907 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.1965, allocations: 2.458 MB / 0.4931 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006983/0.1972, allocations: 243.1 kB / 0.4934 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.1974, allocations: 47.98 kB / 0.4934 GB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.1987, allocations: 183.8 kB / 0.4936 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.1989, allocations: 108.3 kB / 0.4937 GB, free: 264 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/0.199, allocations: 51.95 kB / 0.4937 GB, free: 212 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000627/0.1996, allocations: 458.7 kB / 0.4942 GB, free: 15.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1996, allocations: 0 / 0.4942 GB, free: 15.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009375/0.2006, allocations: 252 kB / 0.4944 GB, free: 15.51 MB / 382.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.004292/0.2048, allocations: 3.066 MB / 0.4974 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.2082, allocations: 1.745 MB / 0.4991 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.2082, allocations: 4 kB / 0.4991 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.2096, allocations: 0.8105 MB / 0.4999 GB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.2104, allocations: 80.3 kB / 0.5 GB, free: 9.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.2288, allocations: 11.71 MB / 0.5114 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/0.2296, allocations: 0.9745 MB / 0.5124 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001615/0.2312, allocations: 0.6004 MB / 0.513 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/0.2319, allocations: 295.2 kB / 0.5132 GB, free: 11.55 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2319, allocations: 0 / 0.5132 GB, free: 11.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2783/0.5102, allocations: 21.36 MB / 0.5341 GB, free: 64.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14, allocations: 5.656 kB / 0.5341 GB, free: 64.85 MB / 398.1 MB " [Timeout remaining time 646] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian.fmu > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.992866136832163] Failed to read output from testmodel.py, exit status != 0: 14.116629353025928 14.135496083 14.003990305 Calling exit ...