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.0008593/0.0008593, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009111/0.0009111, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8634/0.8634, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.04042/0.04042, allocations: 8.831 MB / 245.3 MB, free: 6.477 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 363.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.071e-05, allocations: 6.219 kB / 363.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.AdvectionGaussian): time 0.001858/0.001879, allocations: 1.458 MB / 364.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007678/0.002646, allocations: 0.5654 MB / 365.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.002702, allocations: 3.938 kB / 365.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.002824, allocations: 15.92 kB / 365.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.003118, allocations: 83.69 kB / 365.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.003324, allocations: 91.67 kB / 365.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007115/0.004036, allocations: 1.137 MB / 366.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.004081, allocations: 12 kB / 366.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.00451, allocations: 0.5306 MB / 367.1 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.005012, allocations: 383.2 kB / 367.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.639e-05/0.005108, allocations: 76 kB / 367.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-05/0.005182, allocations: 75.94 kB / 367.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.005527, allocations: 466.9 kB / 368.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.005796, allocations: 343.1 kB / 368.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.006368, allocations: 0.9542 MB / 369.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00637, allocations: 0 / 369.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.006371, allocations: 0 / 369.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.006378, allocations: 0 / 369.4 MB, free: 7.562 MB / 298.7 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.00428/0.01066, allocations: 2.092 MB / 371.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.0107, allocations: 12.03 kB / 371.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.01081, allocations: 106.7 kB / 371.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.01095, allocations: 80.45 kB / 371.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.01158, allocations: 497 kB / 372.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.01162, allocations: 49.69 kB / 372.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.01174, allocations: 88.2 kB / 372.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.01292, allocations: 1.135 MB / 373.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.01293, allocations: 192 / 373.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.013, allocations: 24.12 kB / 373.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.01304, allocations: 53.3 kB / 373.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.01542, allocations: 2.452 MB / 376 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005356/0.02078, allocations: 3.514 MB / 379.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.02173, allocations: 0.9191 MB / 380.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007231/0.02245, allocations: 0.7679 MB / 381.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.0225, allocations: 24.92 kB / 381.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008491/0.02335, allocations: 0.852 MB / 382 MB, free: 10.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 2.866e-06/0.02335, allocations: 0 / 382 MB, free: 10.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.002324/0.02568, allocations: 2.052 MB / 384.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.02572, allocations: 64.41 kB / 384.1 MB, free: 8.617 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.02623, allocations: 0.6732 MB / 384.8 MB, free: 7.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/0.02631, allocations: 49.7 kB / 384.9 MB, free: 7.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.02648, allocations: 360.5 kB / 385.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.02669, allocations: 384.8 kB / 385.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.02699, allocations: 327.4 kB / 385.9 MB, free: 6.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.02709, allocations: 334 kB / 386.2 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/0.02794, allocations: 0.8175 MB / 387.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/0.02893, allocations: 1.125 MB / 388.2 MB, free: 4.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.03078, allocations: 1.967 MB / 390.1 MB, free: 2.352 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.03079, allocations: 3.938 kB / 390.2 MB, free: 2.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002346/0.03314, allocations: 2.21 MB / 392.4 MB, free: 120 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.03318, allocations: 37.7 kB / 392.4 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.03319, allocations: 12 kB / 392.4 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.03322, allocations: 16 kB / 392.4 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.03469, allocations: 0.6244 MB / 393.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.03472, allocations: 23.92 kB / 393.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008104/0.03553, allocations: 306.7 kB / 393.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/0.03561, allocations: 71.94 kB / 393.4 MB, free: 15.03 MB / 330.7 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.0003207/0.03593, allocations: 299 kB / 393.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.03603, allocations: 71.53 kB / 393.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.03788, allocations: 1.73 MB / 395.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.03789, allocations: 12 kB / 395.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.0379, allocations: 3.984 kB / 395.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.03791, allocations: 3.984 kB / 395.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.04151, allocations: 3.616 MB / 399.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.04152, allocations: 8 kB / 399.2 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.04274, allocations: 479.3 kB / 399.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.04275, allocations: 11.94 kB / 399.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.609e-05/0.04284, allocations: 75.86 kB / 399.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.04285, allocations: 15.94 kB / 399.7 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.04285, allocations: 8 kB / 399.8 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.04518, allocations: 2.454 MB / 402.2 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.04554, allocations: 235.1 kB / 402.4 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.04565, allocations: 55.91 kB / 402.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.0463, allocations: 175.8 kB / 402.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.04646, allocations: 108.3 kB / 402.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.04652, allocations: 47.94 kB / 402.8 MB, free: 5.375 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003583/0.04688, allocations: 454.8 kB / 403.3 MB, free: 4.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.04688, allocations: 4 kB / 403.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005955/0.04747, allocations: 248 kB / 403.5 MB, free: 4.684 MB / 330.7 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.002584/0.05006, allocations: 3.045 MB / 406.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.05203, allocations: 1.784 MB / 408.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.05204, allocations: 7.938 kB / 408.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000894/0.05293, allocations: 0.8016 MB / 409.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.05346, allocations: 77.95 kB / 409.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.06478, allocations: 11.71 MB / 420.9 MB, free: 2.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.06506, allocations: 380.5 kB / 421.3 MB, free: 2.176 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009644/0.06603, allocations: 0.5926 MB / 421.9 MB, free: 1.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.06649, allocations: 292.3 kB / 422.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of SimCode: time 2.295e-06/0.0665, allocations: 0 / 422.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1624/0.2289, allocations: 21.01 MB / 443.2 MB, free: 76.69 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.12, allocations: 11.05 kB / 443.2 MB, free: 76.69 MB / 362.7 MB " [Timeout remaining time 652] (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: 9.896455061621964] Failed to read output from testmodel.py, exit status != 0: 8.21077646035701 8.219397265 8.211305202 Calling exit ...