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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 102.3 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 199.8 kB / 19.41 MB, free: 3.668 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.551/1.551, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.07085/0.07085, allocations: 11.06 MB / 292.7 MB, free: 11.94 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.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"}) [Timeout 660] "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.002132/0.002132, allocations: 66.75 kB / 409 MB, free: 45.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1116, allocations: 51.35 MB / 460.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.003541/0.1152, allocations: 1.489 MB / 461.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1166, allocations: 0.5932 MB / 462.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.1166, allocations: 0 / 462.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.1168, allocations: 15.84 kB / 462.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.1172, allocations: 75.8 kB / 462.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.1176, allocations: 79.81 kB / 462.6 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.1191, allocations: 1.133 MB / 463.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.1192, allocations: 7.938 kB / 463.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005864/0.1197, allocations: 431.5 kB / 464.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007913/0.1205, allocations: 411.1 kB / 464.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.1207, allocations: 76 kB / 464.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1208, allocations: 72 kB / 464.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005521/0.1213, allocations: 470.9 kB / 465.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005167/0.1219, allocations: 445.9 kB / 465.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009753/0.1228, allocations: 0.9263 MB / 466.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1228, allocations: 4 kB / 466.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1228, allocations: 0 / 466.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1229, allocations: 3.938 kB / 466.5 MB, free: 4.207 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.008913/0.1318, allocations: 2.16 MB / 468.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1318, allocations: 12.03 kB / 468.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001917/0.132, allocations: 106.7 kB / 468.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.1322, allocations: 84.41 kB / 468.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.1334, allocations: 0.5503 MB / 469.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.1334, allocations: 49.69 kB / 469.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.1336, allocations: 84.28 kB / 469.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.1355, allocations: 1.138 MB / 470.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1355, allocations: 0 / 470.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/0.1356, allocations: 20 kB / 470.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/0.1357, allocations: 49.28 kB / 470.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/0.1397, allocations: 2.51 MB / 473.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/0.1508, allocations: 3.724 MB / 477 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.1524, allocations: 0.9221 MB / 477.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.1536, allocations: 0.7682 MB / 478.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.1537, allocations: 28.95 kB / 478.7 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.155, allocations: 0.8519 MB / 479.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 2.925e-06/0.155, allocations: 0 / 479.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.003512/0.1585, allocations: 2.059 MB / 481.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.1586, allocations: 60.41 kB / 481.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/0.1594, allocations: 0.6462 MB / 482.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.1595, allocations: 49.64 kB / 482.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.1598, allocations: 364.5 kB / 482.7 MB, free: 3.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.1602, allocations: 396.7 kB / 483.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004848/0.1606, allocations: 327.4 kB / 483.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1608, allocations: 333.9 kB / 483.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.1621, allocations: 0.8002 MB / 484.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.1637, allocations: 1.085 MB / 485.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.1667, allocations: 1.967 MB / 487.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.1667, allocations: 4 kB / 487.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003709/0.1704, allocations: 2.181 MB / 489.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.1705, allocations: 41.8 kB / 489.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.1705, allocations: 11.98 kB / 489.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.1705, allocations: 12 kB / 489.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.1734, allocations: 0.624 MB / 490.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.493e-05/0.1734, allocations: 15.98 kB / 490.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.175, allocations: 310.6 kB / 490.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.1752, allocations: 71.95 kB / 490.9 MB, free: 11.34 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.0005995/0.1758, allocations: 297.3 kB / 491.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.1761, allocations: 71.53 kB / 491.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.1792, allocations: 1.733 MB / 493 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.1792, allocations: 8 kB / 493 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1792, allocations: 0 / 493 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.1792, allocations: 3.984 kB / 493 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006031/0.1853, allocations: 3.77 MB / 496.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.1853, allocations: 15.88 kB / 496.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/0.1877, allocations: 479.5 kB / 497.3 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.942e-05/0.1878, allocations: 12 kB / 497.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/0.1879, allocations: 63.92 kB / 497.3 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.62e-05/0.188, allocations: 15.94 kB / 497.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/0.188, allocations: 12 kB / 497.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003871/0.1918, allocations: 2.469 MB / 499.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007674/0.1926, allocations: 320.1 kB / 0.4884 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.1928, allocations: 47.98 kB / 0.4885 GB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.1941, allocations: 179.8 kB / 0.4886 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.1943, allocations: 100.2 kB / 0.4887 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.1945, allocations: 51.94 kB / 0.4888 GB, free: 1.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005962/0.1951, allocations: 454.7 kB / 0.4892 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1951, allocations: 4 kB / 0.4892 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000875/0.1959, allocations: 248 kB / 0.4894 GB, free: 0.7422 MB / 366.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.004136/0.2001, allocations: 3.064 MB / 0.4924 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.2032, allocations: 1.757 MB / 0.4942 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.2032, allocations: 4 kB / 0.4942 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.2046, allocations: 0.7968 MB / 0.4949 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008277/0.2054, allocations: 85.25 kB / 0.495 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/0.2233, allocations: 11.7 MB / 0.5064 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.224, allocations: 0.9744 MB / 0.5074 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001618/0.2256, allocations: 0.6042 MB / 0.508 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006682/0.2263, allocations: 287.3 kB / 0.5083 GB, free: 12.79 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2263, allocations: 0 / 0.5083 GB, free: 12.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04753/0.2738, allocations: 20.18 MB / 0.528 GB, free: 8.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.548/9.822, allocations: 3.859 kB / 0.528 GB, free: 8.613 MB / 414.1 MB " [Timeout remaining time 650] (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: 12.676073612994514] Failed to read output from testmodel.py, exit status != 0: 9.896718484989833 10.04742712 9.921991172 Calling exit ...