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.001559/0.001559, allocations: 114.3 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.001753/0.001753, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.426/1.426, allocations: 207.6 MB / 233 MB, free: 9.996 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.06845/0.06845, allocations: 11.06 MB / 296.3 MB, free: 10.71 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.002075/0.002075, allocations: 71.83 kB / 414.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09118/0.09326, allocations: 51.39 MB / 465.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.002699/0.09596, allocations: 1.494 MB / 467.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.09708, allocations: 0.597 MB / 467.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.09713, allocations: 4 kB / 467.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.09727, allocations: 11.86 kB / 467.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.09759, allocations: 83.77 kB / 467.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.09785, allocations: 87.8 kB / 467.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.09903, allocations: 1.141 MB / 469 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.09908, allocations: 7.938 kB / 469 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.09953, allocations: 427.5 kB / 469.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008251/0.1004, allocations: 419.1 kB / 469.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.1005, allocations: 72 kB / 469.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1006, allocations: 76 kB / 470 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005749/0.1012, allocations: 466.9 kB / 470.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004771/0.1017, allocations: 445.9 kB / 470.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008895/0.1026, allocations: 0.9302 MB / 471.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1026, allocations: 0 / 471.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1026, allocations: 0 / 471.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1026, allocations: 0 / 471.8 MB, free: 2.652 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.008637/0.1112, allocations: 2.088 MB / 473.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1113, allocations: 8.031 kB / 473.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.1114, allocations: 114.6 kB / 474 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.1116, allocations: 84.41 kB / 474.1 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/0.1126, allocations: 494 kB / 474.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.1126, allocations: 45.69 kB / 474.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.1128, allocations: 88.27 kB / 474.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.1146, allocations: 1.134 MB / 475.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1146, allocations: 3.938 kB / 475.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.1147, allocations: 20 kB / 475.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-05/0.1147, allocations: 49.28 kB / 475.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003963/0.1187, allocations: 2.514 MB / 478.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009892/0.1286, allocations: 3.717 MB / 482.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.1301, allocations: 0.9218 MB / 483.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.1313, allocations: 0.7679 MB / 483.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-05/0.1313, allocations: 28.95 kB / 483.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.1327, allocations: 0.8558 MB / 484.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.056e-06/0.1327, allocations: 4 kB / 484.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.003516/0.1362, allocations: 2.052 MB / 486.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1362, allocations: 64.41 kB / 486.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/0.1371, allocations: 0.6384 MB / 487.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.1372, allocations: 49.64 kB / 487.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.1374, allocations: 364.5 kB / 487.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.1378, allocations: 396.7 kB / 488.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004749/0.1383, allocations: 327.4 kB / 488.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1384, allocations: 341.9 kB / 489 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.1398, allocations: 0.7962 MB / 489.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.1414, allocations: 1.089 MB / 490.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/0.1445, allocations: 1.967 MB / 492.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.1445, allocations: 8 kB / 492.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003756/0.1482, allocations: 2.189 MB / 495 MB, free: 11.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.1483, allocations: 33.7 kB / 495 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.1483, allocations: 8 kB / 495 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/0.1483, allocations: 16 kB / 495.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.1512, allocations: 0.6241 MB / 495.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.769e-05/0.1512, allocations: 16 kB / 495.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.1528, allocations: 306.7 kB / 496 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.1529, allocations: 71.94 kB / 496.1 MB, free: 9.961 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.0004851/0.1534, allocations: 301.2 kB / 496.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.1536, allocations: 71.53 kB / 496.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.1567, allocations: 1.726 MB / 498.2 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.1567, allocations: 12 kB / 498.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1567, allocations: 0 / 498.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.1567, allocations: 7.969 kB / 498.2 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005781/0.1625, allocations: 3.744 MB / 0.4902 GB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/0.1625, allocations: 7.938 kB / 0.4902 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/0.165, allocations: 479.9 kB / 0.4906 GB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/0.165, allocations: 12 kB / 0.4906 GB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.1652, allocations: 63.92 kB / 0.4907 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/0.1652, allocations: 19.88 kB / 0.4907 GB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.1652, allocations: 8 kB / 0.4907 GB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/0.1689, allocations: 2.469 MB / 0.4931 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006303/0.1696, allocations: 243.1 kB / 0.4934 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.1698, allocations: 47.98 kB / 0.4934 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.171, allocations: 179.8 kB / 0.4936 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.1712, allocations: 100.3 kB / 0.4937 GB, free: 236 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/0.1713, allocations: 55.94 kB / 0.4937 GB, free: 180 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005901/0.1719, allocations: 458.7 kB / 0.4942 GB, free: 15.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1719, allocations: 0 / 0.4942 GB, free: 15.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008495/0.1728, allocations: 244 kB / 0.4944 GB, free: 15.49 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.004139/0.1769, allocations: 3.078 MB / 0.4974 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.1799, allocations: 1.745 MB / 0.4991 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.1799, allocations: 4 kB / 0.4991 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.1813, allocations: 0.8105 MB / 0.4999 GB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.1819, allocations: 77.95 kB / 0.5 GB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.1984, allocations: 11.7 MB / 0.5114 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.1991, allocations: 0.9784 MB / 0.5124 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001485/0.2005, allocations: 0.5965 MB / 0.5129 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/0.2012, allocations: 291.3 kB / 0.5132 GB, free: 11.52 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2012, allocations: 0 / 0.5132 GB, free: 11.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2412/0.4424, allocations: 21.38 MB / 0.5341 GB, free: 64.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.16, allocations: 11 kB / 0.5341 GB, free: 64.85 MB / 398.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian.fmu > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.835092389999772] Failed to read output from testmodel.py, exit status != 0: 12.263266803001898 12.274945758 12.170265749 Calling exit ...